Hi Robert, Not too much good news I'm afraid. I tried my application and the osgcamera. I have to stop now. I might have some time to test tomorrow night (it's a private project for now).
I attached the model I'm using. It loads fine in my application, but crashes when I close it. The osgcamera doesn't work either: osgcamerad.exe d:\tetra.osg GLBufferObjectSet::GLBufferObjectSet _profile._size=5248 GLBufferObjectSet::GLBufferObjectSet _profile._size=5184 Texture::TextureObjectManager::flushAllDeletedTextureObjects() _contextID=0 Texture::TextureObjectManager::discardAllDeletedTextureObjects() _contextID=0 _numActiveTextureObjects=0 osgcamerad.exe -j 3 d:\tetra.osg +++++++++++++ New viewer ++++++++++++ GLBufferObjectSet::GLBufferObjectSet _profile._size=5248 GLBufferObjectSet::GLBufferObjectSet _profile._size=5184 ------------ Viewer ended ---------- Texture::TextureObjectManager::flushAllDeletedTextureObjects() _contextID=0 Texture::TextureObjectManager::discardAllDeletedTextureObjects() _contextID=0 _numActiveTextureObjects=0 +++++++++++++ New viewer ++++++++++++ and crashes after the first viewer. I wrote down the callstack when the crash occurs in my application: void BufferObject::releaseGLObjects(State* state) const, with state == 0 void GLBufferObject::releaseGLBufferObject(unsigned int contextID, GLBufferObject* to), with contextID==0 void GLBufferObjectManager::releaseGLBufferObject(GLBufferObject* to) void GLBufferObjectSet::orphan(GLBufferObject* to) The osgcamera example with the slider doesn't work either. Again, the output is correct for the first renderer, but not for the second and third. Here is the output again: osgcamerad.exe -r 3 d:\glider.osg +++++++++++++ New viewer ++++++++++++ ------------ Viewer ended ---------- Texture::TextureObjectManager::flushAllDeletedTextureObjects() _contextID=0 Texture::TextureObjectManager::discardAllDeletedTextureObjects() _contextID=0 _numActiveTextureObjects=0 +++++++++++++ New viewer ++++++++++++ ------------ Viewer ended ---------- Texture::TextureObjectManager::flushAllDeletedTextureObjects() _contextID=0 Texture::TextureObjectManager::discardAllDeletedTextureObjects() _contextID=0 _numActiveTextureObjects=0 +++++++++++++ New viewer ++++++++++++ ------------ Viewer ended ---------- Texture::TextureObjectManager::flushAllDeletedTextureObjects() _contextID=0 Texture::TextureObjectManager::discardAllDeletedTextureObjects() _contextID=0 _numActiveTextureObjects=0 osgcamerad.exe -r 3 --vbo d:\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 ---------- Texture::TextureObjectManager::flushAllDeletedTextureObjects() _contextID=0 Texture::TextureObjectManager::discardAllDeletedTextureObjects() _contextID=0 _numActiveTextureObjects=0 +++++++++++++ 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 ---------- Texture::TextureObjectManager::flushAllDeletedTextureObjects() _contextID=0 Texture::TextureObjectManager::discardAllDeletedTextureObjects() _contextID=0 _numActiveTextureObjects=0 +++++++++++++ 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 ---------- Texture::TextureObjectManager::flushAllDeletedTextureObjects() _contextID=0 Texture::TextureObjectManager::discardAllDeletedTextureObjects() _contextID=0 _numActiveTextureObjects=0 osgcamerad.exe -r 3 --vbo --shared d:\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 ---------- Texture::TextureObjectManager::flushAllDeletedTextureObjects() _contextID=0 Texture::TextureObjectManager::discardAllDeletedTextureObjects() _contextID=0 _numActiveTextureObjects=0 +++++++++++++ New viewer ++++++++++++ ------------ Viewer ended ---------- Texture::TextureObjectManager::flushAllDeletedTextureObjects() _contextID=0 Texture::TextureObjectManager::discardAllDeletedTextureObjects() _contextID=0 _numActiveTextureObjects=0 +++++++++++++ New viewer ++++++++++++ ------------ Viewer ended ---------- Texture::TextureObjectManager::flushAllDeletedTextureObjects() _contextID=0 Texture::TextureObjectManager::discardAllDeletedTextureObjects() _contextID=0 _numActiveTextureObjects=0
tetra.osg
Description: Binary data
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

