|
|
"Leroy" <whe### [at] gmailcom> wrote:
I found a big difference in using a image pigment in the height_field function
and that pigment in the height_field alone.
that is
#declare PigM=function{pigment{image_map{ tga "FinalB.tga"}}}
#declare Dirt =
function(x,z){select(PigM(x,1-z,0).blue,0,0,PigM(x,1-z,0).blue)}
height_field {function 400,400{ Dirt(x,y) }...
and
height_field {tga "FinalB.tga"
they don't match! The function has a lower height and seems to be shifted both
in the +z and +x directions
Difference.ppm
Post a reply to this message
Attachments:
Download 'difference.ppm.dat' (507 KB)
|
|