Hi, I noticed a performance regression in the 3.6.5 release compared to 3.4.x caused by Geometry::addPrimitiveSet() when adding a largish (thousands) number of primitiveSets to a Geometry. This performance regression is caused by Geometry::getOrCreateElementBufferObject in the case the PrimitiveSet does not have an elementBufferObject.
Couple of questions - What is an elementBufferObject? - Why is it "required" for a primitiveSet? I worked around the issue by creating an elementBufferObject for each of the primitiveSets which avoids the very expensive Geometry::getOrCreateElementBufferObject() but that seems like a sledge hammer approach. Andrew -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/c1b05c34-c47d-48bf-b93c-e28ffdd36727%40googlegroups.com.
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org