|
|
> function{
> pow ( pow(abs(x),Power)
> +pow(abs(y),Power)
> +pow(abs(z),Power) , 1/Power ) - Size
> }
You could also try with superellipsoids; the sphere is a particular one (e =
n = 1, e and n being the parameters stated in the docs) and my guess is
that the cube is a limit one (e = n -> +oo should make it). The advantages
are that of using a built-in object and not having to provide a
max_gradient.
The equation it yields differs slightly from yours, though the extreme
shapes should be the same. Would be interesting to compare the intermediate
shapes it goes through!
Post a reply to this message
|
|