H Darick, On Wed, Dec 9, 2009 at 5:23 AM, Darick Barnes <[email protected]> wrote: > I'm using the osgviewerqt example with Qt integration. Am I correct in my > assumption that physics, AI and all other game related updates need to be > implemented in the virtual void paintGL() function or is there a more elegant > way to create a game loop while using QT with OSG.
I wouldn't recommend using Qt for a game unless you had lots of 2D GUI that you needed. For a fullscreen game just using osgViewer's built in windowing functionality as it's far more flexible and powerful for this type of work. As for really must use Qt, then a paintGL wouldn't be where I'd put AI and physics, I'd personally stick them in a separate thread. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

