[osg-users] VBO's - lifetime.

Nico Kruithof nicokruithof at gmail.com
Wed Nov 25 10:39:43 PST 2009


Hi Robert,

The first call (no --vbo) runs correctly. The second and third (with --vbo)
do not crash, but the second and third screen are wrong. I also tried the
fourth combination "osgcamera -r 3 --shared glider.osg". That one worked
fine.

-- Nico

This is the output:

osgcamera -r 3 glider.osg
+++++++++++++ New viewer ++++++++++++
------------ Viewer ended ----------

+++++++++++++ New viewer ++++++++++++
------------ Viewer ended ----------

+++++++++++++ New viewer ++++++++++++
------------ Viewer ended ----------

osgcamera -r 3 --vbo glider.osg
+++++++++++++ New viewer ++++++++++++
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
GLBufferObjectSet::GLBufferObjectSet _profile._size=13120
GLBufferObjectSet::GLBufferObjectSet _profile._size=640
------------ Viewer ended ----------

+++++++++++++ New viewer ++++++++++++
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
Warning: detected OpenGL error 'invalid value' at After Renderer::compile
------------ Viewer ended ----------

+++++++++++++ New viewer ++++++++++++
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
Warning: detected OpenGL error 'invalid value' at After Renderer::compile
------------ Viewer ended ----------

osgcamera -r 3 --vbo --shared glider.osg
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
Enabling VBO
+++++++++++++ New viewer ++++++++++++
GLBufferObjectSet::GLBufferObjectSet _profile._size=13120
GLBufferObjectSet::GLBufferObjectSet _profile._size=640
------------ Viewer ended ----------

+++++++++++++ New viewer ++++++++++++
------------ Viewer ended ----------

+++++++++++++ New viewer ++++++++++++
------------ Viewer ended ----------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20091125/fe598573/attachment.htm>


More information about the osg-users mailing list