|
 |
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
|
 |