POV-Ray : Newsgroups : povray.advanced-users : vlength( ) : Re: vlength( ) Server Time
30 Jul 2024 08:19:34 EDT (-0400)
  Re: vlength( )  
From: SamuelT
Date: 12 Jun 2000 23:01:49
Message: <3945A4C5.517F61D8@aol.com>
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] aolcom

Visit my isosurface tutorial at http://members.aol.com/stbenge


Post a reply to this message

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