POV-Ray : Newsgroups : povray.binaries.images : More Gamma Again : More Gamma Again Server Time
2 Nov 2024 12:22:43 EDT (-0400)
  More Gamma Again  
From: Stephen Klebs
Date: 30 Nov 2010 08:40:00
Message: <web.4cf4fe27446ecdecfc413f510@news.povray.org>
/*
Gamma - 3.6/3.7 Beta

This is an example of my problems with gamma in 3.7. It's a composite of three
images.
The top is a straight-forward gradient in 10% increments done in Photoshop.
The 2nd is the test scene done with default settings in 3.6 (Display_Gamma =
2.2, no assumed_gamma).
The last is the same scene with defaults in 3.7 (Display_Gamma/File_Gamma = 2.2,
no color correction).
What one would expect to be a smooth, linear gradient, becomes in 3.7 a
parabolic curve, heavily skewed to white.
The histograms look something like this.

3.6
|     |     |     |     |     |     |     |     |     |     |
1                                                           0

3.7
|         |         |        |       |      |     |   |  | ||
1                                                           0
*/

//+W1100 +H100

#local w = 11;
camera {
  orthographic
  location -z*1E8
  look_at y/2
  right w*x
  up w*y*image_height/image_width
}

#local i = 0;
#while (i <= 10)
 object {box {0 1}
  pigment {rgb 1-(i/10)}
  finish {ambient 1}
  translate (i-5.5)*x
 }
 #local i = i + 1;
#end


Post a reply to this message

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