Hi Cedric, el. al, On Fri, Oct 23, 2009 at 11:28 AM, Robert Osfield <[email protected]> wrote: > Ahh interesting lead. This suggests that the VBO support is somehow > screwed up. The new osg::Geometry code should in theory just using > osg:State to set up the VBO's that are required in the same way the > old code did, but perhaps there is some element missing. > > There is now enough of a concrete lead for me to be able to take the > debugging and fixing on so leave it for me to fix up, there isn't any > need for you to continue your investigations.
I've now tracked down the problem to osgAnimation using VBO+EBO's for their geometry, but the osgText::Text used by the on screen stats didn't but due to a missing unbind of the VBO + EBO in the Geometry::drawImplentation the Text draw calls where being treated as though the VBO+EBO were still current, causing a crash in the GL driver. The fix was to simply add an explicit unbind at end of the osg::Geometry::drawImplementation() to ensure the the VBO+EBO's are only active when they are being used. This fix cures the crash, and is now checked into svn/trunk. I don't know of any remaining problems with the new implementation, but please keep testing, there are just so many different ways that osg::Geometry can be used there might still be a usage combination that I have tested against/accounted for. Cheers, Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

