|
|
In article <3c20ebc6@news.povray.org>, gom### [at] gmxde says...
> pigment functions. The reflected ray function also works, but I don't know
> how to vnormalize a vector that is three functions without using vnormalize
> because I'm not allowed to use vectors in functions.
When your functions are a,b,c then the normalized vector is
<a,b,c>/vlength(<a,b,c>) = <a,b,c>/sqrt(a^2+b^2+c^2)
Lutz-Peter
Post a reply to this message
|
|