<div dir="ltr">Hi,<div>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.</div><div>This performance regression is caused by Geometry::getOrCreateElementBufferObject in the case the PrimitiveSet does not have an elementBufferObject. </div><div><br></div><div>Couple of questions </div><div>- What is an elementBufferObject?</div><div>- Why is it "required" for a primitiveSet?</div><div><br></div><div>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.</div><div><br></div><div><br></div><div>Andrew</div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/c1b05c34-c47d-48bf-b93c-e28ffdd36727%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/c1b05c34-c47d-48bf-b93c-e28ffdd36727%40googlegroups.com</a>.<br />