[osg-users] VBO questions

Terry Welsh mogumbo at gmail.com
Sat May 2 23:11:37 PDT 2015

A couple questions about OSG exposing specific VBO features:

Looking at the body of DrawElementsUInt::draw(), it appears the size
of its base std::vector is directly used for the elements count. I'm
doing dynamic geometry and usually want to draw fewer elements. Is
there a way to do this with OSG's API?

Right now I'm using Geometry::setVertexArray() and
Geometry::setNormalArray(), but I'd like to see if I can get better
performance from an interleaved array. Is there a way to do this?
Perhaps some example code somewhere?
Terry Welsh

More information about the osg-users mailing list