POV-Ray : Newsgroups : povray.advanced-users : slope function ?? : Re: slope function ?? Server Time
29 Jul 2024 12:29:03 EDT (-0400)
  Re: slope function ??  
From: ahmet oktar
Date: 21 Apr 2002 08:42:02
Message: <3cc2b39a@news.povray.org>
thanks christoph! i can't understand why not for 3.5. it's important like
this features!

"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3CC2820F.C84D7164@gmx.de...
>
>
> ahmet oktar wrote:
> >
> > hi dear Povers!!
> >  i want to make a slop function but always return zero. is it possible?
> >   #declare ff =  function { pigment {slope {<0,0,1> ,0,1} }}
>
> No, it is not, the slope pattern requires the normal vector from the
> intersection test which is not available in fucnctions.
>
> There is no method in Povray 3.5 to do this for arbitrary shapes but you
> can use the object_slope pattern from megapov MCP that was made exactly
> for this purpose:
>
> http://www.tu-bs.de/~y0013390/povcyg/docu/docu_pattern01.html#OBJSLOPE
>
> Christoph
>
> --
> POV-Ray tutorials, IsoWood include,
> TransSkin and more: http://www.tu-bs.de/~y0013390/
> Last updated 20 Apr. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.