POV-Ray : Newsgroups : povray.programming : Got the grey blues. : Re: Got the grey blues. Server Time
28 Jul 2024 18:22:11 EDT (-0400)
  Re: Got the grey blues.  
From: Edward C 
Date: 27 Aug 1999 01:54:57
Message: <37c62831@news.povray.org>
Nieminen Juha wrote in message <37c4f1f9@news.povray.org>...
>  Are you sure? The weights for the color components are calculated with:
>
>0.2125*R + 0.7154*G + 0.0721*B
>
>  If we substitute R, G and B with 1's, we get exactly 1.


I haven't seen that particular formula.  I have seen in the code:
0.287R+0.589G+0.144B which gives 0.990 with 1,1,1
0.229R+0.589G+0.144B -> 0.930
And one which does work:
0.30R+0.59G+0.11B -> 1.00


Post a reply to this message

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