| matthew180 Wrote:Oh, also I think your descriptions of MAGI's primitives are really accurate. Can POV do all of those? |
Yes, it's done with the Isosurface Object in POV-Ray. All the Quadratic Surfaces are just Second Order Polynomials. And I don't even think the Isosurface Object in POV-Ray is limited to functions that can be expressed as
polynomials.
There are objects in POV-Ray that are limited to the polynomial.
Quadric Object = In POV-Ray is limited to 2nd Order Polynomials.
Cubic Object = In POV-Ray is limited to 3rd Order Polynomials.
Quartic Object = In POV-Ray is limited to 4rd Order Polynomials. (A torus is an examle of this.)
And there is also a Poly Object which can be used where you specify the order of the polynomial where the order is limited to an integer number from 2 to 15 inclusively.
However reading the documentation it sounds like the Isosurface Object replaces all the above and renders faster and is even more general. Here is a quote from the docs:
"However, the most mathematically oriented still like polys because isosurfaces are calculated just by approximating the right value, while the poly is calculated in a mathematically exact way. Usually isosurfaces are more than good enough for most applications, though."
It's been proven there isn't a close form solution to the general Quartic equation so even that exact mathematical way only works with the Cubic and Quadratic equations.
Carl