|
|
Sascha Ledinsky wrote:
>
> Hi everyone,
>
> I hit a strange "problem" with 'functions' or at least I can't figure out
> what's wrong in my code:
>
> [...]
>
> this works as expected, but when I change the pattern to slope:
>
> [...]
Since the slope pattern is only defined on the surface of an object it can
only be used in textures and not in functions.
> As far as I understand, the only values passed to functions are the x/y/z
> coordinates of the ray/shape intersection. Is there a way to use other
> values like the surface normal, derivates, u/v-coordinates, vector of the
> ray, etc. in custom functions (like in the Renderman Shaderlanguege) ?
No, there is POVMan: http://www.aetec.ee/fv/vkhomep.nsf/
which supports a subset of renderman shader functionality though.
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|