POV-Ray : Newsgroups : povray.advanced-users : vlength( ) : Re: vlength( ) Server Time
30 Jul 2024 08:29:07 EDT (-0400)
  Re: vlength( )  
From: Ron Parker
Date: 13 Jun 2000 09:27:48
Message: <slrn8kcej1.8e5.ron.parker@linux.parkerr.fwi.com>
On Mon, 12 Jun 2000 20:04:37 -0700, SamuelT wrote:
>What pov source? The actual code which makes POV-Ray?

Yes.  For example, in png_pov.c you'll see:

color = (png_byte)floor((line_data[col][RED]*0.30 +
                         line_data[col][GREEN]*0.59 +
                         line_data[col][BLUE]*0.11) * 255.0);

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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