[osg-users] OpenSceneGraph with Qt multiple windowing problem
Robert Osfield
robert.osfield at gmail.com
Fri Sep 21 01:49:56 PDT 2007
Hi Alberto,
On 9/21/07, Alberto Luaces <aluaces at udc.es> 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.
More information about the osg-users
mailing list