|
![](/i/fill.gif) |
In article <3b50f379@news.povray.org>, Warp <war### [at] tag povray org>
wrote:
> AFAIK patterns do not get info about the incoming ray nor the normal
> vector, so they can't produce a pattern depending on them. Not even a function
> pattern can do this.
It is possible (and fairly easy, though tedious) to make the ray
information available to patterns, I had to do so for my portal pigment
patch. I assume the POVMan and aoi pattern patches also have this
modification.
The surface normal is already available, though...it is part of the
intersection information.
--
Christopher James Huff - chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |