POV-Ray : Newsgroups : povray.beta-test : Struggling with gamma... : Re: Struggling with gamma... Server Time
2 Jul 2024 10:35:24 EDT (-0400)
  Re: Struggling with gamma...  
From: clipka
Date: 1 Jul 2010 05:44:24
Message: <4c2c6378$1@news.povray.org>
Am 30.06.2010 22:43, schrieb Gyscos:
> One last question : if I got it right, v3.6 used a wrong lighting algorithm,
> that happened to work as if it didn't pre-encore with gamma, and 3.7 corrected
> that.
>
> But how could I, in v3.6, get the 'correct' results that I get from 3.7 ? Could
> gamma be of any help there ?

All that I said about POV-Ray 3.6 applies to scenes without any 
"assumed_gamma" statement, or with "assumed_gamma 2.2".

When specifying "assumed_gamma 1.0" in POV-Ray 3.6, you'll get proper 
color math just as in POV-Ray 3.7 - for most things that is: Input image 
files aren't handled properly by POV-Ray 3.6 no matter what (except for 
PNG if I'm not mistaken), and I'm not sure right now whether PNG file 
output might be bogus. Other file formats output - e.g. JPEG or BMP - is 
right, provided that Display_Gamma is set to something sensible 
(typically 2.2).

POV-Ray 3.6 also doesn't have the "gamma" keyword for colors (neither 
does beta 37a, but the upcoming beta 38 will; should be released any 
moment now).

I'm also not sure whether POV-Ray 3.6 does a proper job with 
anti-aliasing. I think it does it wrong regarding gamma.


Post a reply to this message

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