What pov source? The actual code which makes POV-Ray?
Ron Parker wrote:
> On Mon, 12 Jun 2000 15:40:32 -0700, SamuelT wrote:
> >It's for the eval_pigment stuff I've been using. I needed to convert a color
> >vector into a float value so I could use it for elevation. The best way I
> >could think of doing this would be averaging the components of the color
> >vector. I'm now using a macro instead of vlength, and it works great.
>
> Use the NTSC conversion for rgb to luminance. You should see some examples
> of it in the POV source. Two of them might even match. :)
>
> --
> Ron Parker http://www2.fwi.com/~parkerr/traces.html
> My opinions. Mine. Not anyone else's.
--
Samuel Benge
E-Mail: STB### [at] aol com
Visit my isosurface tutorial at http://members.aol.com/stbenge
Post a reply to this message
|