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.
Sorry - looks like I was a little premature, getNumIndices() returns the number of triangles, just the same as calling size() on the primitve set What I needed to know was the range of vertices used, ie. the highest and lowest values in the primitiveset. Because of the way the mesh is generated there is no way to get this from the triangle indices Essentially all I need is a single number for each geometry showing where in the common vertex array it begins. Martin ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26600#26600 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

