|
|
On Fri, 16 Nov 2001 18:40:23 -0500, Timothy R. Cook wrote:
> I think that what I need isn't straight faded reflection,
> but reflection based on angle of incidence.
POV 3.5 can do this. Check the manual.
> (Though I still
> want to know how to do reflection based on distance to
> object being reflected.)
I posted some code to do this the last time it came up, though I'm not
sure it was in this group. Be warned, though, that the effect is not
in any way related to any real physical process.
--
#local R=rgb 99;#local P=R-R;#local F=pigment{gradient x}box{0,1pigment{gradient
y pigment_map{[.5F pigment_map{[.3R][.3F color_map{[.15red 99][.15P]}rotate z*45
translate x]}]#local H=pigment{gradient y color_map{[.5P][.5R]}scale 1/3}[.5F
pigment_map{[.3R][.3H][.7H][.7R]}]}}}camera{location.5-3*z}//only my opinions
Post a reply to this message
|
|