Quadratic surfaces in general are represented implicitly as a solution
to a quadratic equation, so if you want to generate a mesh from a
generic quadratic equation you will either need to resort to an implicit
surface generation algorithm such as Marching Cubes, or find some clever
way of parameterizing the surface (anyone?). For specific quadric
surfaces such as ellipsoids, cones, cylinders you can straightforwardly
derive a parametric representation. Code for generating meshes for these
surface types is widely available. For instance, check out the
quadric.c in the OpenGL sample implementation
(http://oss.sgi.com/projects/ogl-sample/) or OpenSceneGraph
(http://www.openscenegraph.org/projects/osg).
Gino
On 6-1-2010 5:07, Tom Sparks wrote:
> Quadric surfaces how do I convert them to polygons meshes?
>
> tom_a_sparks
>
>
> __________________________________________________________________________________
> See what's on at the movies in your area. Find out now: http://au.movies.yahoo.com/session-times/
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> GDAlgorithms-list mailing list
> GDA...@li...
> https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list
> Archives:
> http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list
>
|