|
|
Why does this work:
isosurface {
function {
(2*x^2+y^2+z^2-1)^3 - (0.1)*x^2*z^3-y^2*z^3
}
threshold 0
accuracy 0.0001
max_gradient 20
max_trace 2
contained_by { sphere { 0, 7 } }
pigment {
color Grey
}
}
but not this:
#declare Heart =
function {
(2*x^2+y^2+z^2-1)^3 - (0.1)*x^2*z^3-y^2*z^3
}
isosurface {
function {
Heart(x, y, z)
}
threshold 0
accuracy 0.0001
max_gradient 20
max_trace 2
contained_by { sphere { 0, 7 } }
pigment {
color Grey
}
}
TIA
5k.
Post a reply to this message
|
|