POV-Ray : Newsgroups : povray.programming : Got the grey blues. : Got the grey blues. Server Time
28 Jul 2024 18:12:07 EDT (-0400)
  Got the grey blues.  
From: Edward C 
Date: 26 Aug 1999 00:14:24
Message: <37c4bf20@news.povray.org>
Looking through the source for a formula to convert RGB values to grey
values, I've discovered a number of slightly different formulas, none of
which will convert RGB <1,1,1> to a grey value of 1.  Perhaps there is some
good reason for this, perhaps not, but either way, does someone have a
formula that will convert in this manner?

Thought:  Perhaps a standard conversion function could be implimented in a
future version of POV and replace all those ugly and different formulas in
the code.


Post a reply to this message

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