Surface of a function f(x,y,z)=constant

Hy! I was trying to use Unity to make a Physic simulation.
Is it possible to convert a mathematical function f(x,y,z) to a 3d surface?
for example -0.5(x^2+y^2+z^2)-((1-0.5)/sqrt(0.5 +x^2+y^2+z^2))=1

There is no built-in solution for that.


Thank you for the answer! So I can never make a surface from a formula?


It is not a problem to make a surface at all, you just need to find a solution on your own about how you can turn the formula into a mesh. There is no built-in way for that.

1 Like

http://forum.unity3d.com/threads/after-playing-minecraft.63149/page-30#post-1166558