On Wed, Aug 3, 2011 at 3:56 AM, Michael Shikin <[email protected]> wrote:

>
> Glenn Waldron wrote:
> > Michael,
> >
> > Perhaps you could use the osgUtil::DelauneyTriangulator to triangulate
> your point mesh. This will create a convex mesh. You can try to use the
> Constraints to define the boundaries, and then remove the exterior triangles
> afterwards. Just an idea.
> >
> Glenn Waldron / Pelican Mapping / @glennwaldron
> >
>
> Can you give me an example of this? I've tried DelauneyTriangulator, but I
> have no clue how to remove exterior triangles... Example "delauney" in
> osgexamples hasn't helped me.


I don't think it has a method to remove exterior triangles. You might have
to just test each vertex to see if it's inside the constraint boundary, and
if not then remove it from the triangulated mesh.

Glenn
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to