POV-Ray : Newsgroups : povray.newusers : Gamma Settings : Re: Gamma Settings Server Time
30 Jun 2024 04:24:41 EDT (-0400)
  Re: Gamma Settings  
From: clipka
Date: 7 Mar 2012 01:18:03
Message: <4f56fd9b$1@news.povray.org>
Am 07.03.2012 03:01, schrieb JamesB7271:
>>>     It becomes a bit more problematic when you are not defining the colors
>>> yourself, but are using a pre-defined texture (eg. from an include file).
>>> Now, I don't remember if something was added to POV-Ray 3.7 to "convert"
>>> such a pre-defined texture into 'srgb' on the fly.
>
> Ok, well in looking at all the include files from the folder
> "POV-Ray\v3.7\include" (stones1, stones2, textures, colors, etc) they all say
> they're for version 3.5. Are they the wrong ones to be using with 3.7?

They're the official ones that come with 3.7, if that's what you're 
asking. That doesn't mean they're ideal for 3.7 though.

>> No, indeed not. I guess the proper solution there is to overhaul the
>> standard include files to use "srgb" throughout.
>
> So are you saying I should do a Find and Replace for everything "rgb" and
> replace with "srgb" in these include files?

Maybe a good thing would be to copy the files (maybe name them 
"stones1_srgb.inc", for instance), and modify those copies.

> Actually, most of the "rgb"
> statements are "rgbt". whatever that means..

Besides "rgb", which defines a color in terms of red, green and blue, 
there are also keywords that define the color's transmit and/or filter 
value at the same time; those are "rgbt", "rgbf", and "rgbft".

The keywords "srgbt", "srgbf" and "srgbft" also exist.


Post a reply to this message

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