On 8/31/07, Michele Bosi <[EMAIL PROTECTED]> wrote:
> Hello,
> I was wondering if a function/class exists that computes the normals
> of an osg::Geometry given its VertexArray and PrimitiveSet. I just
> implemented such a function (very small) but thought that mayb there
> was a more "offical" way to do that.

osgUtil::SmoothingVisitor

> Also I was wondering if there is a class/function that removes double
> vertices from an osg::Geometry since I am working on data extracted
> with marching cube which generates a lot of doubled vertices.

osgUtil::TriStripVisitor does tri stipping and duplicate vertex removal.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to