[osg-users] Geometry of Generic 3D Surface from Collection of Points

Erik Hensens ehensens at hunter.com
Mon Aug 17 05:39:33 PDT 2015


Thanks for the response Robert!

So, does that mean that there is no way to do what I want without somehow determining the coordinates of every individual triangle? And there's not even any way to do a 3D tessellation to get such triangle coordinates? :'


robertosfield wrote:
> 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 < ()> 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 (http://forum.openscenegraph.org/viewtopic.php?p=64792#64792)
> > 
> > 
> > 
> > 
> > _______________________________________________
> > osg-users mailing list
> >  ()
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org)
> > 
> > 
> 
> 
>  ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64802#64802








More information about the osg-users mailing list