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
> );
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.
===
On Mon, 2011-10-10 at 17:25 +0200, dan marshal wrote:
> Hi,
>
> I am using osgWidget to run osg inside a window frame.
Can you clarify what you mean by this? osgWidget is an OSG nodekit, I'm
not entirely sure what to derive from this statement (which makes the
rest of the e-mail impossible to und
Hi,
I am using osgWidget to run osg inside a window frame.
It works fine when I use
viewer.home();
No problem.
However, if I use:
while(!viewer.done())
{
viewer.frame();
}
to get access to the simulation loop, the widget window is lost and osg is
again
4 matches
Mail list logo