Hi forum, I believe that there are 3 ways to integrate opengl commands into the OSG.
1. Derive and customize a osg::Drawable class. 2. Define the pre-draw and post-draw callbacks that are defined in the osg::Camera class. 3. Make use of the rendering context directly. Now is it fine to issue OpenGL command once the rendering context is made current ? At the very beginning of the initialization i make sure that i am dealing with single threaded application. Regards, Sajjadul ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55206#55206 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

