Hello Frank,
I've checked this and it is not the reason of the problem. There are two
versions of my application on the same platform.
- for one thing using osgProducer::Viewer
- for another thing osg::CompositeViewer
The scene updates with osgProducer::Viewer in contrast to
osg::CompositeViewer (OSG 2.2).
I've checked example codes of OSG, but I can't find a solution to this
problem.
Is in osgProducer::Viewer the aspect of freezing the window bypassed
anyway or what could be the reason of this effect.
Thank you for your efforts!
J-W
Frank Bergmann wrote:
Actually, depending on the version of windows that you are running it
might also be a windows setting that prevents the window to be redrawn
while moving. Have a look at (under XP):
Control Panel\System Properties\Advanced\Visual Effects
...Settings\Visual Effects
In that checked listbox, look for an entry saying "Show window
contents while dragging". With that enabled I see the scene updated
while dragging the window ...
Cheers
Frank
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of *jw
*Sent:* Thursday, February 14, 2008 9:42 AM
*To:* OpenSceneGraph Users
*Subject:* Re: [osg-users] Update scene while moving window
Hi,
you are right, i'm running on Windows platform.
Right now i'm converting my application from osgProducer::Viewer to
osg::CompositeViewer.
Using osgProducer::Viewer it was possible to move the window without
any problems.
The scene was updated in contrast to osg::CompositeViewer (OSG 2.2).
But what is the difference between these two viewers?
Thanks in anticipation
J-W
Jean-Sébastien Guay wrote:
Hello André,
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.
And in fact, I imagine that's what video players like Windows Media
Player do, since you can move the window while video is playing and it
will not pause.
Not suggesting anything be done about it, just adding a point to consider...
J-S
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.
------------------------------------------------------------------------
_______________________________________________
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