POV-Ray : Newsgroups : povray.general : area highlights : Re: area highlights Server Time
7 Aug 2024 01:25:03 EDT (-0400)
  Re: area highlights  
From: Lutz-Peter Hooge
Date: 19 Dec 2001 14:58:59
Message: <MPG.168b0fe4d00b5e199896d0@news.povray.org>
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

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