|
|
Beta-RC2, Duron 800Mhz, 512MB DDR, Win98SE
--- code ---
#declare fpnLand = function { pigment {
crackle form <1, -1, 1>
turbulence 0.3
pigment_map {
[ 0.10 pigLand0 ]
[ 0.30 pigLand1 ]
[ 0.50 pigLand2 ]
[ 0.70 pigLand3 ]
[ 0.90 pigLand4 ]
}
}
#declare Land = isosurface {
function { y-exp(fpnLand(x*.01, 0, z*.01).gray)+1 } // error here
contained_by { box { <-1e4, 0, -1e4>, <1e4, 155, 1e4> } }
max_gradient 15
texture { txtLand }
}
--- code ---
I get an "Invalid number of parameters; 3 supplied, 8 required" error.
I thought that pigment functions took 3 floats ( a vector ).
Post a reply to this message
|
|