POV-Ray : Newsgroups : povray.binaries.images : LightsysIV spectrum : Re: LightsysIV spectrum Server Time
18 May 2024 16:57:52 EDT (-0400)
  Re: LightsysIV spectrum  
From: Ive
Date: 22 Oct 2012 11:05:58
Message: <508560d6@news.povray.org>
Am 21.10.2012 20:24, schrieb Cousin Ricky:
> Here is another rendering.  The .gray value of each non-gamut-mapped color was
> taken; the color was desaturated; and then the value was adjusted to the
> original .gray level. Finally, the spectrum was normalized as a whole.
>
The common way for *visual* best results works like this:
transform the rgb out-of-gamut value to L*a*b and from there to Lch. 
Lower the chrominance channel until the rgb value falls back into gamut.
This is the tricky part as you do not know before-head when this happens 
so some clever interpolation method is needed.

-Ive


Post a reply to this message

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