On 6/13/07, Sohaib Athar <[EMAIL PROTECTED]> wrote:
Another question for Robert:
So I understand that if I create my window from QT
(inheriting from QGLWidget+osgViwer) I can only use a
single-threaded model. The application we are working
on will also be ported to SGI machines in the future,
but using QT for the GUI is a constraint. What is the
best design that allows us to have our windows and GUI
embedded in Qt while taking full advantage of the
better SGI pipeline and OSG multithreading support?
Any tips? Is there any example code somewhere?
Qt doesn't have the support in QGLWidget to proper multi-threading as
some of the methods required are missing. I have tried to create a
GraphicsWindowQt but failed.
I have heard from others integrating the OSG with Qt that one way to
get around these limitations of Qt is to integrate the native
windowing support of osgViewer with that of Qt. This is how the
osgviewerMFC example works, using the window inhertiance feature of
GraphicsWindowWin32/Carbon. Right now you can't do the same with
GraphicsWindowX11, but I do plan to add this capability, but it'll
have to wait till after 2.0.
Robert.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/