POV-Ray : Newsgroups : povray.advanced-users : L*C*h(uv) color solid : Re: L*C*h(uv) color solid Server Time
28 Sep 2024 12:54:52 EDT (-0400)
  Re: L*C*h(uv) color solid  
From: clipka
Date: 24 Nov 2016 21:19:30
Message: <58379fb2$1@news.povray.org>
Am 25.11.2016 um 02:33 schrieb clipka:

> Instead, in the function pipeline, insert a function to explicitly
> convert from sRGB to RGB:
> 
>     3D cartesian -> Lch -> sRGB -> RGB -> "distance"
> 
>     3D cartesian -> Lch -> sRGB -> RGB -> pigments

I forgot: You won't necessarily need the sRGB->RGB step for the
"distance" function, as sRGB channel values of 0 and 1 map to RGB
channel values of 0 and 1, respectively.


Post a reply to this message

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