look very nice, Haven't seen the windowsystemwrapper integration before.
I use a a subclass of osgViewer::Viewer/View and qglwidget. I recently added the 'new' on demand update scheme (using requestUpdate etc) which is a nice addition ( else the viewer is continousely drawing). I use the timerEvent to check for updates needed. I had some problems with vsync at first, the glDraw function needed to be changed else multiple viewers (for example a CompositeViewer) would vsync individually causing slowdown. having a default implementation inside osg (and not just an example) would be a nice addition to osg for future users. cheers, Rene 2009/5/7 David Guthrie <[email protected]> > Hi, > > We wrote a QT/OSG integration that implements the windowing system > interface for qt. > > It's in the delta3d dtQt library. It seems like the sort of thing that > should be part of OSG, we just haven't submitted it. If there is interest, > we can look at what the code should look like and where it should go... > > Look at > > https://delta3d.svn.sourceforge.net/svnroot/delta3d/trunk/delta3d/inc/dtQt > https://delta3d.svn.sourceforge.net/svnroot/delta3d/trunk/delta3d/src/dtQt > > at the files > > osgadapterwidget.h > osggraphicswindowqt.h > qtguiwindowsystemwrapper.h > > osgadapterwidget.cpp > osggraphicswindowqt.cpp > qtguiwindowsystemwrapper.cpp > > Thank you! > David Guthrie > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=11639#11639 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

