|
![](/i/fill.gif) |
The function image type is mirrored vertically.
It does take values in the 0 to 1 range both horizontally and vertically as
it should, but the y values go from 1 to 0 instead of from 0 to 1.
The code below shows the bug. Can anybody confirm?
camera {location -3*z}
#default {finish {ambient 1}}
#declare F = function {pattern {spherical}}
plane {
-z, 0
pigment {function {F(x,y,z)}}
}
box {
<0,0,-0.001>,<1,1,1>
pigment {
image_map {function 100, 100 {F(x,y,z)}}
}
}
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated Mar 19)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Ring: http://webring.povray.co.uk
Post a reply to this message
|
![](/i/fill.gif) |