Hi Thomas, I think a bit more information would be useful. Werner is correct about Qt paint events in that all QWidgets must be created in the QApplication thread and cannot be moved to any other threads. If you're trying to use osg to render into a Qt-based window, this will be an issue. However, it sounds like you have a completely separate osgViewer window. In this case, you are doing exactly what we do in the project I work on - and it works fine.
Your description that "some elements" disappear isn't enough information for me to get an idea of what is happening. Are these elements QWidgets, or something else? I'm afraid where I am at the moment I don't have the tools to open your attached code, if you post some relevant code snippets in a message or just describe your application in more detail I may be able to help though. If you do Qt stuff in Qt gui windows, and have a scene graph of all non-qt stuff rendered in an osgViewer window, you should be totally fine - you just need to handle how you're updating your scene based on gui input in a threadsafe way. Cheers, Tom ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42082#42082 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

