Op 28/10/2020 om 05:03 schreef Ive:
> Am 10/28/2020 um 2:03 schrieb Kenneth:
>>
>>
> No it isn't. When using the keyword "srgb" you just tell POV-Ray that
> the following color term is "sRGB gamma encoded".
> Multiplying any non linear color value does not only change the
> brightness but also the hue - and is therefor plain wrong.
>
> I haven't used POV-Ray in years and never used the srgb keyword in my
> whole live (I switched to Adobe RGB a long time ago) so I'm not sure if
> it will swallow this syntax but at least you should get the idea...
>
> #declare C = (srgb <.3,.5,.7>) * 0.7;
>
Maybe you remember the Bald Eagle / Clipka discussion in
http://news.povray.org/povray.advanced-users/thread/%3C57894ece%241%40news.povray.org%3E/
I digested that at the time in the attached macro. I think (?) this is
(part of) this answer...
--
Thomas
Post a reply to this message
Attachments:
Download 'utf-8' (8 KB)
|