Hi Alberto, On 9/21/07, Alberto Luaces <[EMAIL PROTECTED]> wrote: > thanks for the information about the contexts. Now my task seems to me easier > that I thought. I'm subclassing from osgViewer::GraphicsWindow, so I think > I'll have to take account for the context IDs and the osg::State, as the > osgwxviewer does (though only for one view). Anyways, I have the aid of the > osgViewer::GraphicsWindowEmbedded class to copy some of its implementation > details.
Have a look at the way the constructor/init is done for the GraphicsWindowWin32/X11/Carbon - they all provide a path for detecting use of shared contexts and manage the contextID accordingly. GraphicsWindowEmbedded itself is just a shell. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

