POV-Ray : Newsgroups : povray.advanced-users : rgb vs srgb : Re: rgb vs srgb Server Time
1 Jul 2024 05:05:54 EDT (-0400)
  Re: rgb vs srgb  
From: Thomas de Groot
Date: 12 Sep 2011 03:23:54
Message: <4e6db38a$1@news.povray.org>
On 11-9-2011 15:37, Ive wrote:

> As I've already have stated: when you wish to feed POV-Ray with sRGB
> values then use srgb <whatever color> and POV-Ray will de-gamma-correct
> it for you.
> I for one do *never* use (and I do not think) in 8bit gamma-corrected
> values, I'm a human and I do not see any reason to imagine colors in a
> way that was practical for computers in the 90ies of the last century.
>
> And, more important, I like to mix colors (like e.g. rgb Pink*0.9 +
> Skyblue*0.1) and this works only (as I do expect it to work) when colors
> are linear defined otherwise the result of this kind of calculation is
> already mathematical wrong - and looks wrong.

Aha! This answers my puzzle! So, what you are saying is that it is a 
matter of (personal) choice: use the 'rgb' term in the POV-Ray code and 
all is well for most if not all cases, and if one wants (for whatever 
reason) to de-gamma the colors, use 'srgb' and adapt in consequence. 
Very well! This makes my life much simpler ;-)

Thomas


Post a reply to this message

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