[osg-users] OpenSceneGraph with Qt multiple windowing problem
ledocc at gmail.com
Wed Sep 19 10:52:51 PDT 2007
I can't reproduce your problem. I have 4 osg window in the mainWindow and
all have the same frame rate.
Can you describe you plateform driver vertion OSG, Qt
OSG_OPTIMIZE and OSG_CAMERA_THREAD env var
another think is thit is preferable to use osgViewer::CompositeViewer and
instead of osgViewer::Viewer when you have many scene and so many view.
With this, all update/cull/draw/ operations are done with the Thread Model
choose in the osgViewer::CompositeViewer, and so do the best management of
update/cull/draw/ operation of each View. This include to swapping OpenGL
buffer all together.
I never could notice this but a thread on the ML talk about this. according
to this thread,
swapping all OpenGL buffer together give best performance.
Joint the modified
2007/9/19, arnaud houegbelo <a_houegbelo at yahoo.com>:
> Hi Robert,
> Please find in attached file the source code of a small
> project based on osgViewerQT. This project create a QApplication
> with a mdi. You can open many OsgWidget (inherits of osgViewerQT)
> via the menu (File -> Open). If you open many viewers you will
> see that the last viewers opened are very slow and if you close some
> previous viewers they delete some objects in the others viewers.
> I hope that this exemple will be useful to you to find the problem.
> many thanks and
> best Regards
> Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated
> for today's economy) at Yahoo! Games.
> osg-users mailing list
> osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users