"Simen Kvaal" <sim### [at] studentmatnatuiono> writes:
> 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
>
> }
[...]
> }
>
> 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)
> }
[...]
> }
I dont' know, but this works (at least with MegaPOV 0.4):
#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
}
etc.
Thomas
--
http://thomas.willhalm.de/ (includes pgp key)
Post a reply to this message
|