POV-Ray : Newsgroups : povray.binaries.images : brightness adjustment : Re: brightness adjustment Server Time
6 Aug 2024 14:18:47 EDT (-0400)
  Re: brightness adjustment  
From: Zeger Knaepen
Date: 12 Dec 2006 11:26:08
Message: <457ed820$1@news.povray.org>
"Di Gama" <di.### [at] gmailcom> wrote in message 
news:web.457ddbc7f15bc39baf9a4b290@news.povray.org...
>I am working on a POV-Ray project which involves loading an external image
> and re-displaying it with no color adjustment. I recently discovered that
> "ambient 1" with no light_sources is not enough; the picture comes out
> brighter than the original. I traced the problem to the picture below. The
> top band is POV-Ray's rendering of a smooth gradient black to white at
> ambient 1 with no light_sources. The bottom band is an unmodified gradient
> black to white made by Fireworks. I hold in doubt neither gradient, and I
> think the problem lies in how the object color is transformed into a final
> pixel color. What is going on, and how can I disable or counter this
> change?

I suppose you're using PNG?  PNG contains gamma-correction, so if the 
gamma-settings in the PNG are different from what POV-Ray uses, POV-Ray 
"automatically" corrects it.
So you should make sure you're using the exact same settings, or that you don't 
use PNG

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

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