POV-Ray : Newsgroups : povray.general : Color help... : Re: Color help... Server Time
8 Aug 2024 01:18:12 EDT (-0400)
  Re: Color help...  
From: Chris Huff
Date: 19 Jul 2001 15:28:37
Message: <chrishuff-9199CF.14271519072001@netplex.aussie.org>
In article <3b50f379@news.povray.org>, Warp <war### [at] tagpovrayorg> 
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] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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