Hi John and Rui, I have now merged John's changes, with a little addition of getGraphWidget() method to avoid breaking the build for applications which were using the previous rev of osgQt::GraphicsWindowQt. I've ddded deprecated doxygen comments to these additional methods.
To test the various threading models I have added support for setting the threading models via and command line option, and to clean things up have renamed the osgviewerQtContext example to simply osgviewerQt. To try out the various threading models you do: osgviewerQt --SingleThreaded osgviewerQt --CullDrawThreadPerContext osgviewerQt --DrawThreadPerContext osgviewerQt --CullThreadPerCameraDrawThreadPerContext I have set thedefault to CullDrawThreadPerContext, and the John changes the osgviewerQt example now runs fine and 60Hz rather than in the teens when running SingleThreaded. The DrawThreadPerContext and CullThreadPerCameraDrawThreadPerContext work initially but then feeze and a random number of frames, it might take a second, or 10, but it always freezes. I haven't looked into the cause of this, and with plenty of other work on my plate I'll have to defer to others with more experitse in this area to resolve this. Being able to run CullDrawThreadPerContext is a big step forward though, so kudos here. The osgviewerQt example doesn't appear to have a way of exting it. I can close the main window by clicking on the close button or the close item in the menu, but can't close the smaller window so the application just sits there. Thoughts? Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
