POV-Ray : Newsgroups : povray.unofficial.patches : f_output_depth non-linear - but what? : Re: f_output_depth non-linear - but what? Server Time
23 Apr 2024 06:48:03 EDT (-0400)
  Re: f_output_depth non-linear - but what?  
From: Paco
Date: 21 Sep 2009 20:35:01
Message: <web.4ab818ae5c107e41ea2377910@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Paco schrieb:
> > After many, many hours of pouring through the source code for both POV and
> > megaPOV I found it - bloody gamma correction. Don't know if it's a bug but it
> > would be nice to turn it off in post-processing somehow.
>
> How about the assumed_gamma and Display_Gamma settings, or the
> Gamma_Correct() macro?

Thanks for the suggestion. Ideally I'd like to have gamma correction for the
colour image, but disable it for the depth image. I guess I could render them
separately with and without gamma but the above works fine.

It may be worth putting a sentence in the documentation about gamma correction
affecting the depth output in post processing because to me at least this is not
obvious.


Post a reply to this message

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