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,
------------------
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