|
![](/i/fill.gif) |
ingo wrote:
>
> > Povray [...] doesn't use the low byte of 16 bit pngs.
>
> Ah, never realised that :(
It's easy to test.
// test.pov
// +fn16 +kff2
global_settings{assumed_gamma 2.2}
camera{
orthographic location -z up y right x
direction z look_at 0 translate <0.5,0.5,0>
}
#declare M=64; // up to 256 the gradient should be smooth
#if(clock<0.5)
plane{z,0 pigment{gradient y color_map{[0 rgb 0][1 rgb 1]}}
finish{ambient 1/M}}
#else
plane{z,0 pigment{image_map{png "test1.png"}} finish{ambient M}}
#end
_____________
Kari Kivisalo
Post a reply to this message
|
![](/i/fill.gif) |