|
![](/i/fill.gif) |
Am 25.11.2016 um 01:50 schrieb Mike Horvath:
> On 11/24/2016 6:43 PM, clipka wrote:
>> Am 24.11.2016 um 23:56 schrieb Mike Horvath:
>>
>>> Okay, the problem is that I want to use sRGB instead of RGB in the
>>> pigments. However, it seems to not be possible to multiply the sRGB
>>> colors and then average them like you can with regular RGB. Or is there
>>> a way to get this to work?
>>
>> Don't use sRGB when mucking around with colour spaces, unless you know
>> /exactly/ what you are doing. Colour space experts are smart enough to
>> specify colours in terms of linear light intensity, or otherwise
>> explicitly inform the readers.
>>
>
> The functions output sRGB colors with Illuminant = D65 and Observer = 2°
> (1931) according to one of the conversion websites that uses these
> formulas.
>
> I'd like the POV code to use sRGB as well.
Don't try to go via that route; it won't work with the approach I've
described.
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
Post a reply to this message
|
![](/i/fill.gif) |