Le 16 juin 09 à 12:07, Eric Pouliquen a écrit :

I just add

setAttribute(Qt::WA_OpaquePaintEvent);

and comment

setAttribute(Qt::WA_PaintOnScreen);
setAttribute(Qt::WA_NoSystemBackground);

and flicking disappear under win XP... QT doc talk about systems that doesn't support double buffering, so no double buffering under xp ??? so strange...

Hi,
I tested this new submission with Qt 4.5.0 in Vista32. No more flickering thanks to the OpaquePaintEvent flag ! :-)


So now no flicking, but still very slow app.

Slow ? The timer is set to 100Hz, is your CPU at 100% ? (maybe the frame() calls collide because the previous one is not over yet?)

On Win32, no key press event is passed to osgGA :-( some comments in the code claims GraphicsWindowWin32 should take care of the events redirection, but clearly not. Anyone knows why ?

Sylvain

Sylvain MARIE
[email protected]



_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to