|
|
Further testing of the discrepancy reveals that it occurs when using a
function for the height_field. Using an image_map directly into a
height_field - wether it being a png or a tga - renders correctly and is
identical in all versions.
Using the following function however - either with png or with tga - results
in a *wrong* render. Is this due to gamma? I have no idea....
//----start code
#declare F_HF_01 =
function {
pigment {
image_map {
tga "RidgedFractal1.tga" //or the same as png
map_type 0
interpolate 2
}
warp {repeat x}
warp {repeat y}
scale 50
warp {
turbulence 0.2
octaves 1
lambda 1
omega 0.2
}
scale 1/50
}
}
height_field {
function 2000, 2000 {F_HF_01(x,y,z).hf}
smooth
translate <-0.5, 0.0, -0.5>
texture {mytex}
transform {mytrans}
}
//----endcode
Thomas
Post a reply to this message
|
|