POV-Ray : Newsgroups : povray.beta-test : 3.7b sample scenes, gamma : Re: 3.7b sample scenes, gamma Server Time
28 Jul 2024 14:25:00 EDT (-0400)
  Re: 3.7b sample scenes, gamma  
From: Jim Holsenback
Date: 30 Aug 2008 05:18:50
Message: <48b9107a@news.povray.org>
"StephenS" <nomail@nomail> wrote in message 
news:web.48b8a3842751955c30d5e6ea0@news.povray.org...
> When using POV-Ray 3.61 the following all produce the same image(as far as 
> I can
> tell).
> For any file with assumed_gamma 2.2 in the global settings.
>
> #if (version < 3.7)
>  #version 3.5;
>  global_settings { assumed_gamma 2.2 }
> #end
>
> and, in the command line.
> -w768 -h576 +a0.3 Output_File_Type=t
> or
> -w768 -h576 +a0.3 Output_File_Type=s
> or
> -w768 -h576 +a0.3 Output_File_Type=n
>
> With POV-Ray 3.7b the gamma correction has changed to the command line 
> only.
> To get the same picture as in 3.61, I need to use:
> -w768 -h576 +a0.3 Display_Gamma=1 File_Gamma=1 Output_File_Type=xx
>
> Without 'File_Gamma=1' the picture looks the same in Winpov render window, 
> but
> the resulting image looks different(than 3.61) in an image editor.
>
> Is this the correct way to update scene files for 3.7b?

Stephen:

Is this perhaps what you are seeing? I asked (what I think) was a simular 
question and Chris answered with this:

>>Jim Holsenback wrote:
>> advanced/grenadine as a test case I noticed a difference in the preview
>> window image (to dark) and the final png image file (to light).

> Chris Cason wrote:
> Please be aware that the PNG output images have the inverse gamma
> written into the file header and will appear differently between
> viewers that do and don't support using this value.

Jim


Post a reply to this message

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