HI Ben, 2009/6/3 Benoît Poulard <[email protected]>: > hi everyone, > I use Osg in a Qt application. I use a "QtOsgwidget" like AdapterWidget > implementation in osgviewerQt example. > I load a large terrain database, the frame rate decreases to a very slow > value (~5-10 fps). > I use osgviewer to load my database, and the frame rate is good ( > ~40-60fps). > what can it decrease frame rate in osg qt integration?
The viewer threading can make things faster but not 8 times faster so there is likely something else going on beyond viewer threading. The osgviewer app runs the osgUtil::Optimizer on scene graphs it loads so perhaps your app is missing this. If you have a well balanced scene graph then the Optimizer won't have anything to do, but if it's poorly structured then the Optimizer can help quite a bit. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

