POV-Ray : Newsgroups : povray.general : Light problem (v3.6 to v3.7) : Re: Light problem (v3.6 to v3.7) Server Time
29 Jul 2024 12:22:11 EDT (-0400)
  Re: Light problem (v3.6 to v3.7)  
From: clipka
Date: 2 Jun 2011 16:31:39
Message: <4de7f32b$1@news.povray.org>
Am 02.06.2011 21:38, schrieb Alain:

> file_gamma affect how the image is actualy writen to a file.
> display_gamma adjust the preview display.
>
> For a PNG, it sets the gamma chunk of the file. For other formats that
> don't have such a mechanism, it adjust the pixels values according to
> the set value.

Not exactly; for a PNG, POV-Ray "adjusts" (or, more precisely, encodes) 
the pixel values according to the set value as well; however, the 
corresponding gamma value is indeed written to the gamma chunk of the 
file, so that the viewing application can determine the encoding gamma, 
and from that compute the original data. Therefore, the File_Gamma 
setting typically does not affect how a PNG file appears in an image 
viewer (except for some influence on banding or dithering artifacts).

> Idealy, file_gamma should be set at the same value as display_gamma and
> assumed_gamma.

Um... no.

File_Gamma should /typically/ be set to the same value as Display_Gamma.

assumed_gamma should ideally be set to either 1.0 (for realistic 
renders), or to the same value as Display_Gamma (for certain artistic or 
ease-of-use benefits at the cost of some degree of realism).


Post a reply to this message

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