Hi,

I have a Vec3Array of points and the associated triangles generated using the 
DelaunayTriangulator. Is there any way of making the surface more smooth (now 
it's really pointy because of the triangles). From these points and triangles I 
have created a Geometry and added it to a Geode.

I have tried using 

Code:
osgUtil::TriStripVisitor tsv;
tsv.stripify( *geometry );



to minimize the number of triangles, but it seems not to be working, as the 
number of triangles is the same after the operation; Is there anything do any 
additionally?

Also, I tried using the SmoothingVisitor

Code:
osgUtil::SmoothingVisitor sv;
geode->accept(sv);



but there is no visible result.

What do you recommend using or am I missing something in the code?

Thank you!

Cheers,
Nadia[/code]

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to