POV-Ray : Newsgroups : povray.newusers : Gamma Settings Server Time
30 Jun 2024 04:20:24 EDT (-0400)
  Gamma Settings (Message 21 to 22 of 22)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Thomas de Groot
Subject: Re: Gamma Settings
Date: 9 Mar 2012 10:59:56
Message: <4f5a28fc$1@news.povray.org>
On 9-3-2012 16:34, clipka wrote:
> Am 09.03.2012 09:45, schrieb Warp:
>> JamesB7271<nomail@nomail> wrote:
>>> Ok, I did a Find and Replace on my stones2.inc file (well the new
>>> stones2_srgb.inc file) and replaced everything "rgb" with "srgb". So
>>> "rgbt" now
>>> becamse "srgbt".
>>
>> I think it would be better if there was some way of specifying an
>> assumed_gamma for a declared texture. Perhaps something like:
>>
>> texture { some_declared_texture assumed_gamma srgb }
>>
>> or something similar.
>
> Hm... I do have some doubts whether this could actually fly, but I'll
> ponder the idea.

...default being srgb? then the code would only be needed in specific cases.

Thomas


Post a reply to this message

From: Warp
Subject: Re: Gamma Settings
Date: 9 Mar 2012 11:40:54
Message: <4f5a3296@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> ...default being srgb? then the code would only be needed in specific cases.

  In that case it might be necessary to be able to specify the assumed
gamma under which a texture (or anything else using colors) was created.
Maybe something like:

    #declare MyFancyTexture =
      texture
      {
        // this texture was written while using an assumed_gamma of 2.2
        assumed_gamma 2.2

        pigment { ... }
        ...
      };

  Or would it become too complicated?

-- 
                                                          - Warp


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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