Hi J-W,

I'm assuming you are running on the Windows platform right ?

If so, this is the expected behaviour and is a consequence of the way
Windows processes move & resize events. When a move event is processed,
Windows will not return control to the message loop until the mouse button
has been released. What this means is that OSG does not get control back
from the moment the window move is initiated to the moment it is completed,
resulting in what appears to be frozen content.

There might be a way to avoid this by using a separate thread for message
dispatching in the GraphicsWindowWin32 class, but that remains to be
explored.

HTH,

André

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jw
Sent: February-13-08 9:54 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Update scene while moving window

Hello!

I am working with an osg::CompositeViewer. There is one view with a camera. 
After switching to windowed mode in my application, I move the window across
my screen.
While moving the scene freezes. 

Is it possible to update scene while moving window? In that case, 
I think that maybe the problem is within the initialization of the viewer.

Any help is much appreciated,

J-W


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to