POV-Ray : Newsgroups : povray.general : Bug or Clarification: Gamma Correction : Bug or Clarification: Gamma Correction Server Time
12 Aug 2024 07:19:55 EDT (-0400)
  Bug or Clarification: Gamma Correction  
From: John M  Dlugosz
Date: 9 Mar 1999 19:56:04
Message: <36e5c324.0@news.povray.org>
Isn't manipulation of pixels supposed to be done on a linear scale, i.e.
=before= gamma correction for the monitor?  The comments in the source even
say "this is done exactly once per pixel displayed/saved".  But the
supersampling gamma corrects each value individually before averaging them
together.  I'm confused as to the meaning here.

From the docs, it's clear that the intent is for all new scenes to have
"assumed gamma" of 1 ("strongly recomended" it explains, "since that's the
way light works in the real world", and this is adjusted for the display
gamma when it is output.

So shouldn't all manipulation be done on the computed values (in the
assumed_gamma), and then the final pixel value be adjusted once?  Doing the
gamma correction first will give different results for different display
gamma values, which is exactly what the docs say is =not= supposed to
happen.

--John


Post a reply to this message

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