Re: [osg-users] Adding Views to a Running CompositeViewer

2008-04-07 Thread Robert Osfield
Hi Nicolas, I haven't personally tried you particular usage combination so can't advice from personal experience. It might be that we need to add some extra code into osgViewer::ViewerBase/CompositeViewer to add this type of usage combination with it picking up better on current threading, graphi

Re: [osg-users] Adding Views to a Running CompositeViewer

2008-04-07 Thread nicolas peña
Thanks Robert. I it is working now. When doing the stop/start with my code the window related to the new viewer showed, but I had to manually call the realize method of the the new window (rendering context of the new View). When my code was like this: parentCViewer->stopThreading(); pare

Re: [osg-users] Adding Views to a Running CompositeViewer

2008-04-07 Thread Robert Osfield
Hi Nicolas, You can use start/stopThreading() i,e, viewer.stopThreading(); do stuff ; viewer.startThreading(); Robert. On Mon, Apr 7, 2008 at 2:55 PM, nicolas peña <[EMAIL PROTECTED]> wrote: > Hi all, > >I am having problems when adding Views to an already running > Composi

[osg-users] Adding Views to a Running CompositeViewer

2008-04-07 Thread nicolas peña
Hi all, I am having problems when adding Views to an already running CompositeViewer. The behaviour looks to depend on the nature of the single Camera of the View I am adding to the CompositeViewer: - If the camera of the new View use the rendering context that is already in use by the Cam