I am trying to enable Vertex Buffer Objects in my program (hoping to
see some major performance gains), but it is not working correctly for
me. I have a continuous stream of data I want to draw, but when I call
setUseVertexBufferObjects(true);
my rendered scene stops changing. It's almost like display lists were
enabled and I forgot to call dirtyDisplayLists, but I know that I
disabled displaylists (the code works with VBOs off).

Attached is a simple example program that reproduces the problem. If
you switch the following line to false, things move as expected, but
are obviously not using VBOs.
lineGeometry.get()->setUseVertexBufferObjects(true);

Thanks,
Eric

Attachment: main.cpp
Description: Binary data

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to