[osg-users] multiple windows
roche.emmanuel at gmail.com
Thu Oct 25 05:09:05 PDT 2007
I'm not supposed to control this SetCurrent function : it is called by the
graphicsWindow when it wants to draw a frame()
But indeed, if i were to use multiple osgViewer::Viewer for example instead
of a single CompositeViewer I could process this event to update the
"Current Viewer"... Yet I think I heard somewhere it's not a good idea to
use multiple asynchronous Viewer object in a single application.... am I
2007/10/25, Andreas Goebel <a-goebel at gmx.de>:
> why don´t you just call SetCurrent when the corresponding tab is shown?
> You could process the *EVT_NOTEBOOK_PAGE_CHANGED event and then make the
> corresponding wxGLCanvas that lies in the notebook current.
> osg-users mailing list
> osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users