Hi Erik, The OSG has the osgUtil::DelaunayTriangulator and the GLU based osgUtil::Tessellator can be used for tessellating meshes, but both utilize a 2D projection to a plan to work out the connectivity so aren't appropriate for meshes that will be folded.
Robert. On 17 August 2015 at 02:21, Erik Hensens <[email protected]> wrote: > Hi everyone! > > I have a collection of Vec3 vertices that define the shape of a geometry > that I'd like to create. Typically I would create the geometry by adding a > primitive set of the POLYGON type, but what should I do if the vertices are > not all in the same plane? > > I'm sure this is a very common task and that there's probably a simple way > to achieve this. What is the best basic approach to creating such a > geometry? > > Ideally I'd like to be able to do this without having to choose the > individual triangles or quads that will make up the entire geometry. For > example, if I wanted to model any generic three-dimensional surface and all > I had was a large sample of points on the surface. > > In case I'm not doing a good job explaining what I need, I've attached an > image - let's say I had many points on the surface of that shape and I need > to make a geometry that depicts it. How would I do this? > > Thanks in advance for your help![/img] > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=64792#64792 > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

