It seems to me the following two pieces of code should produce the same
result (they don't).
Can anyone tell me why? (I thought they should both be spheres, but code #1
makes a really odd
distorted shape)
code #1:
#declare x_val=function(x^2)
#declare y_val=function(y^2)
#declare z_val=function(z^2)
#declare end_val=function(x_val+y_val+z_val)
isosurface
{
function{end_val} threshold .75 sign 1
pigment {rgb 1}
}
and
code #2:
#declare end_val=function(x^2+y^2+z^2)
isosurface
{
function{end_val} threshold .75 sign 1
pigment {rgb 1}
}
thanks,
Quadhall
tre### [at] ww-interlinknet
Post a reply to this message
|