Hi,

I am trying to use Qt OpenGL widgets as a HUD for OSG. (Wow, I love 
abbreviations!)

[url]http://labs.trolltech.com/blogs/2008/06/27/accelerate-your-widgets-with-opengl/[/url]

I have managed to get Qt to draw its widgets over OSG, and it looks good. 
First I let OSG draw its scene, then Qt renders its widgets.
The only problem is that OSG does a buffer swap when it is finished drawing. 
This causes a flicker effect. I  cannot find a way to convince Qt to draw its 
stuff at a specific point, so adding a post-render callback to OSG does not 
work.

So is there a way to turn off buffer swapping? I could not find any way in the 
source (without modifying window system specific stuff). Any help is 
appreciated.

Thanks!

Martin[/url]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27731#27731





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

Reply via email to