POV-Ray : Newsgroups : povray.tools.poser : Poseray: #version and and file gamma : Re: Poseray: #version and and file gamma Server Time
30 Mar 2023 20:54:58 EDT (-0400)
  Re: Poseray: #version and and file gamma  
From: clipka
Date: 21 Sep 2014 23:17:57
Message: <541f94e5@news.povray.org>
Am 21.09.2014 09:37, schrieb Thomas de Groot:
> Thank you Christoph, this is more than satisfying and as a consequence I
> can leave out the gammas in the standard material files I provide for my
> Poser characters.
> I would need to test it, but I guess that height_fields based on an
> image_map function may still need the gamma mention to render correctly:
> function {
>    pigment {
>      image_map {
>        tga "MyImage.tga" gamma 1.0
>        map_type 0
>        interpolate 2
>      }
>    }
> }

That guess is absolutely spot-on. If (e.g. for the sake of upsampling 
with interpolation) you choose to go via a pigment function based on an 
image_map, rather than using the image directly in the height field, 
then by default the parser will treat the image like in any other 
image_map: It'll presume that the data is actual colour data, and apply 
gamma adjustment to it.

Post a reply to this message

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