POV-Ray : Newsgroups : povray.binaries.images : Giving back to the group in shades : Re: Giving back to the group in shades Server Time
1 Aug 2024 00:19:57 EDT (-0400)
  Re: Giving back to the group in shades  
From: clipka
Date: 20 Jul 2009 08:15:00
Message: <web.4a645e9742435b221e3715ac0@news.povray.org>
"fls13" <fls### [at] netzeronet> wrote:
> The clouds are OK, I've done color readings on them and they're straight on the
> RGB scale.

Define "color readings".

If you're saying that you picked those colors from Photoshop or the like,
chances are they're wrong for POV-Ray, as they'll usually be
gamma-precorrected, while POV-Ray needs linear color values.

Try raising all colors to the power of 2.2, as in:

    color rgb <pow(R,2.2),pow(G,2.2),pow(B,2.2)>

or to the power of 1/2.2 (I never can seem to remember which way round is
needed).


> If you think the Andes look bad, I won't show
> you Sahara/Africa. That correction still needs work. It looks orangeish from
> space, but the texture maps are more yellowish.

Again, I suspect gamma issues to be at least partially responsible. Solving
these with texture maps is not so easy though, as you need external tools to
"gamma-un-correct" the images.

There was a thread on povray.tutorials (IIRC) recently about gamma handling, in
which some methods were described to achieve proper gamma adjustment.


(Note that if gamma is wrong, there's no way you can properly fix it with
anything other than gamma (un-)correction.)


Post a reply to this message

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