POV-Ray : Newsgroups : povray.general : Known Diffuse Coefficients? : Re: Known Diffuse Coefficients? Server Time
8 Aug 2024 10:24:14 EDT (-0400)
  Re: Known Diffuse Coefficients?  
From: Tony[B]
Date: 2 Mar 2001 16:32:50
Message: <3aa01182@news.povray.org>
> I have reviewed the CIE formula, and come to the conclusion, that it is
> better to convert back from xyz to XYZ values and use them as RGB. That
> is done by multiplying x and z by Y divided by y: X = x * (Y/y), Z = z
> *(Y/y). Y we already have as the luminance.

Actually, right now, I'm dividing each chromaticity value by the largest
value of the triplet, and using luminance as diffuse. It works as expected,
most of the time. Some colors are a bit dark.


Post a reply to this message

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