POV-Ray : Newsgroups : povray.advanced-users : Color changes depending on direction : Re: Color changes depending on direction Server Time
29 Jul 2024 14:23:04 EDT (-0400)
  Re: Color changes depending on direction  
From: Christopher James Huff
Date: 8 Feb 2002 13:42:51
Message: <chrishuff-212DB6.13450708022002@netplex.aussie.org>
You can specify two different colors for the angle-dependant reflection, 
but that will only give you two colors and will only affect reflection. 
What's needed is an angle-dependant pattern, like slope but relative to 
the incoming ray. I think someone once implemented this...

Another possibility, which would also be much more flexible, would be to 
make the intersection and ray information available to functions...you 
could then implement your own custom angle-dependant pattern.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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