On Tue, 2011-10-11 at 04:08 +0200, dan marshal wrote:
> Very sorry!
>
> If I create a window using:
>
> osgViewer::Viewer viewer;
> osgWidget::WindowManager* wm = new osgWidget::WindowManager(
> &viewer,
> WINDOW_WIDTH,
> WINDOW_HEIGHT,
> MASK_2D
> );
> ......
> .viewer.home();
>
> I get a viewer object inside a window.
> ===========
> However if I change
>
> viewer.home();
>
> to
> while(!viewer.done())
> {
> viewer.frame();
> }
>
> I lose the osgWidget:WindowManager window and the viewer object now takes
> over the entire screen.
>
> I would like to keep my window but be able to add additional code inside the
> viewer simulation loop.
>
> How can I use the osgWidget::Window and be able to add calls to the
> simulation loop?
>
> Thank you again,
Hmm, I'm still not sure what's going on. Can you provide me some example
code? I tried this here on my end and saw no issues... (Linux, Fedora 15
64bit)
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=43310#43310
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org