POV-Ray : Newsgroups : povray.programming : Got the grey blues. : Re: Got the grey blues. Server Time
28 Jul 2024 18:12:32 EDT (-0400)
  Re: Got the grey blues.  
From: Jon A  Cruz
Date: 26 Aug 1999 01:35:52
Message: <37C4D2D3.EC5EC16@geocities.com>
"Edward C." wrote:

> 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.

Have you checked Poynton's color FAQ?

http://www.inforamp.net/~poynton/ColorFAQ.html

--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

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