Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-21 Thread Alberto Luaces
Hi Robert, thanks for the information about the contexts. Now my task seems to me easier that I thought. I'm subclassing from osgViewer::GraphicsWindow, so I think I'll have to take account for the context IDs and the osg::State, as the osgwxviewer does (though only for one view). Anyways, I

Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-21 Thread Robert Osfield
Hi Alberto, On 9/21/07, Alberto Luaces [EMAIL PROTECTED] wrote: thanks for the information about the contexts. Now my task seems to me easier that I thought. I'm subclassing from osgViewer::GraphicsWindow, so I think I'll have to take account for the context IDs and the osg::State, as the

Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-20 Thread Robert Osfield
Hi Arnaud, Viewer and CompositeViewer can both share scenes between them. What you are trying to do is supported, and already works well see the osgcompsiteviewer. The complication in your case is that QT is quite up to scratch for this type of work makes it more awkward - its OpenGL support

Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-20 Thread Alberto Luaces
El Wednesday 19 September 2007 20:58:00 Robert Osfield escribió: For apps that have multiple windows and mulitple views on to one or more scenes that CompositeViewer is the most apporpriate tool. There is but though, running with multiple graphics context is not possible when one use

Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-20 Thread Robert Osfield
Hi Alberto, On 9/20/07, Alberto Luaces [EMAIL PROTECTED] wrote: I'm a bit confused about the naming. What do you mean by graphics context? An OpenGL one or an osg::GraphicsContext? osg::GraphicsContext maps directly to an OpenGL context so there should not be any confusion. I ask because

Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-19 Thread David Callu
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

Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-19 Thread David Callu
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 [EMAIL PROTECTED]: Hi arnaud I can't reproduce your problem. I have 4 osg window

Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-19 Thread Robert Osfield
On 9/19/07, David Callu [EMAIL PROTECTED] wrote: 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 ... Thanks for looking in to this.

Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-18 Thread Robert Osfield
Hi Arnaud, My guess is the context ID's are overlapping for the separate windows, resulting in sharing of texture objects and display lists. I'm not sure though, as I haven't tried this type of thing with QT. Could you modify the osgviewerQT example so that it creates windows/viewers in the

Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-18 Thread Robert Osfield
Hi Arnaud, I'm afraid I like others are very busy so if you can help by providing a modified osgviewerQT that we can easily compile and reproduce the problem then this will really help. Just post source to the osg-users list. Cheers, Robert. On 9/18/07, arnaud houegbelo [EMAIL PROTECTED]