POV-Ray : Newsgroups : povray.programming : Bug Report : Re: Bug Report Server Time
2 Jul 2024 10:11:59 EDT (-0400)
  Re: Bug Report  
From: Ben Birdsey
Date: 13 Jan 1999 12:32:45
Message: <369CD9E6.7C299A46@unlgrad1.unl.edu>
You are definitely right about the two transforms not being equal



> (gamma_correct(color1)+gamma_correct(color2)+gamma_correct(color3) ... )/n
> DOES NOT EQUAL
> gamma_correct(color1+color2+color3+color4 ... )   / n
 
However, I think the correct code should be

	gamma_correct( (color1+color2+color3+color4 ...)/n )

since this would be equivalent to tracing the image and then gamma_correcting,
which is the proper procedure.

	In Him,
	Ben Birdsey


Post a reply to this message

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