POV-Ray : Newsgroups : povray.general : srgb vs. rgb for *every* color in v3.7xx? : srgb vs. rgb for *every* color in v3.7xx? Server Time
2 May 2024 16:09:38 EDT (-0400)
  srgb vs. rgb for *every* color in v3.7xx?  
From: Kenneth
Date: 15 Feb 2016 07:50:00
Message: <web.56c1c87e9d15cd5733c457550@news.povray.org>
I've been kind of confused for awhile about just where and when to use srgb
colors in my scenes since v3.7 came out. (Assume that I'm using assumed_gamma
1.0 and that I'm already using srgb colors for OBJECTS.) The docs mention using
srgb "everywhere that color literals are used", but it's not clear (to me) what
other things in the scene require them, in order for all elements to be
*consistent*, both visually and for POV-Ray to work correctly.

Should I also use it in lights, media, etc. etc.? In other words, for
*everything* that uses a color? There's a big visual difference when using rgb
vs. srgb in lights, for example.

AFAIU, v3.7 always uses 'linear' values in its computations now-- for correct
physical behavior-- regardless of whether rgb or srgb is specified in a scene.

So is my question really just a matter of 'visual or artistic preference' rather
than computational consistency? Or, are there some things in POV-Ray that should
*not* use srgb at all?


Post a reply to this message

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