Hi Thomas,

as far as I know Qt does not support painting in several threads.
Preparation of scene data in a separate thread is no problem. But the painting 
process must be the GUI-Thread.

- Werner -

> Hi all!
> 
> I am currently working on an application, that includes
> 
> - an OSGViewer window, with a scene
> - a QT window, where I would like to adjust parameters of the scene in the
> other window (in real time).
> 
> Both windows are handled in a different thread.
> 
> The problem is, that if I make a window of any type (QT or GTK) parallel to
> the OSG scene, some elements in the OSG scen just dissapear.
> 
> So, my questions are:
> 
> - Can anyone tell me a reason, why isn't the whole scene displayed? (I have
> already put together the simplest scene to exclude the most error sources)
> - Is there any method, to run a QT window in a separate thread parallel to
> an OSG window? - Is there any OSG-QT source code example for putting more
> (than one) OSGViewer in one QT window? How well can it be modified for my
> purposes? - Did I make any mistakes?
> 
> Thank you very much in advance.
> 
> Thomas
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=42074#42074
> 
> 
> 
> 
> Attachments:
> http://forum.openscenegraph.org//files/qtosgtar_177.gz
> 
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-- 
TEXION Software Solutions

TEXION GmbH -  Rotter Bruch 26a  -  D 52068 Aachen - HRB 14999 Aachen
Fon: +49 241 475757-0, Fax: +49 241 475757-29, web: http://www.texion.eu

Geschäftsführer/Managing Director: Werner Modenbach
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to