Hi Glenn, On Thu, May 6, 2010 at 2:31 PM, Glenn Waldron <[email protected]> wrote: > I have a single vertex array (in a VBO) that is shared by multiple Geometry > objects. The statistics are showing my Vertex count to be (vbo size)*(# of > geometries). Is this the expected behavior? I was expecting the vertex count > to be either a) the size of the single VBO, or b) the number of verts > actually "traversed" by primitives. Thanks.
The stats code will be just traversing the scene graph and updating the count every time it encounters a geometry with a vertex array on it. Getting the stats could to update on unique vertex arrays or or traversed primitives would be CPU intensive to compute so something you'd want to avoid on something done every frame. You could implement this yourself with your own stats code. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

