POV-Ray : Newsgroups : povray.general : srgb vs. rgb for *every* color in v3.7xx? : Re: srgb vs. rgb for *every* color in v3.7xx? Server Time
2 May 2024 15:37:56 EDT (-0400)
  Re: srgb vs. rgb for *every* color in v3.7xx?  
From: scott
Date: 15 Feb 2016 08:32:01
Message: <56c1d351$1@news.povray.org>
> 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.

It depends where you get the numbers from that you are using.

If you are just making them up to get something that looks nice, it 
doesn't matter.

If you've picked the colour from PowerPoint, from a webpage or whatever 
and you want to match that colour, use srgb. Eg you like the look of 
(255,164,40) in PowerPoint, and you want your light that colour, use 
srgb <255,164,40>/255

If you want to control the physical amount of light in known ratios, use 
rgb. Eg you want twice as much red than green, use rgb <1,0.5,0>, or 
maybe you have some scientific measurement data in linear RGB (or you 
can convert easily to linear RGB) that you want to use.


Post a reply to this message

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