Tim Moore wrote:
> PrimitiveSet::getNumIndices() returns the number of vertices in the 
> PrimitiveSet. PrimitiveSet::index() returns the actual index of vertex n in 
> the vertex arrays.

Thanks that's what I was missing - I could only find a way of getting the 
number of elements - which if they are triangles isn't much use

Excellent - thanks.

Martin

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





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

Reply via email to