[osg-users] OpenSceneGraph with Qt multiple windowing problem

David Callu ledocc at gmail.com
Wed Sep 19 11:25:30 PDT 2007


Oups forgotten

I use Linux Fedore 7
        Gcc 4.2.1

        AMD Athlon(tm) XP 3200+
        NVidia GForce 7600 GT

        OSG_THREADING = SingleThreaded
        OSG_OPTIMIZER = DEFAULT

2007/9/19, David Callu <ledocc at gmail.com>:
>
> Hi arnaud
>
> 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
> osgViewer::View
> 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
> all
>  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.
>
> Thank
>
> David
>
> 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
> >
> > Arnaud
> >
> >
> >
> >
> > ____________________________________________________________________________________
> > Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's
> > updated for today's economy) at Yahoo! Games.
> > http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070919/a131097d/attachment-0003.htm>


More information about the osg-users mailing list