Hi Martin, On Tue, May 11, 2010 at 4:21 PM, Martin Scheffler <[email protected]> wrote: > I'm running qt and the viewer in separate threads, just like your browser > example. When I render a spin box the fps is 60, when I render a > QCalendarWidget it goes down to 20.
Curious, if yo are running in separate threads then I wouldn't have expected the Qt threads rendering to hold back the viewer as it shouldn't be blocking. Is the CPU just heavily contended? How many CPU cores do you have? > This can probably be improved by using QGLWidget for rendering the widgets to > texture. I am not that deep into the whole topic yet. Mixing render to FBO/texture rather than just direct GL will probably introduce similar problems to the straight GL route. One problem with using Qt for GL is that it couples the OSG with Qt in a way that forces the OSG to run single threaded as Qt itself is single threaded. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

