Hi, I'm working with Windows Xp. Before I worked with osg2.8.3 and wxwidgets 2.9.1 with a compatibilty 2.8.0. Hence It was a wxWidgets 2.8.0 for wxGLCanvas.
In a previous post some problems were listed http://forum.openscenegraph.org/viewtopic.php?t=5019&start=0&postdays=0&postorder=asc&highlight=wxwidgets Now with 2.9.2 I think (may be I'm wrong) that there is no glcontext when you call OSGCanvas. About depth with original source code and modifying following lines // create osg canvas // - initialize int *attributes = new int[7]; attributes[0] = int(WX_GL_DOUBLEBUFFER); attributes[1] = WX_GL_RGBA; attributes[2] = WX_GL_DEPTH_SIZE; attributes[3] = 24; attributes[4] = WX_GL_STENCIL_SIZE; attributes[5] = 8; attributes[6] = 0; There is still a a violation exception ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42497#42497 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

