I forgot to say that I was two instances of osgviewer::viewer. Thanks again,
Nicolas. 2008/2/22, nicolas peña <[EMAIL PROTECTED]>: > > Hi Robert, > > I have done several tests and have reached to the conclusion that it is > not possible > to use two viewers at the same time from one process. > This happens even when they do not share anything and even if I set-up > the viewers from different threads. > I have done the most simplistic code and even this fail. > I'm using OSG 2.3.4 on Linux 2.6.22 with NVIDIA proprietary drivers. > > > I would like to help to solve this if you confirm it as a bug and if it is > possible. > > > Thanks a lot, > Nicolas. > > 2008/2/22, Robert Osfield <[EMAIL PROTECTED]>: > > > > Hi Nicolas, > > > > Its really hard to know whats going on at your end w.r.t application > > setup and flow control so advicing on it is easy. In general I can > > say that sharing a scene between View's is OK within on > > CompositeViewer as they will Views on the same scene will share the > > same FrameStamp i.e. there will be all at the same point in time. > > Sharing one scene between multiple Viewers will hit up against the > > problem that in one set of traversals the scene graph is one time and > > then the traversals from the other viewer will try to change the time > > back - and likely to cause a mess. This timing issue isn't likely to > > cause problems with high level rendering though - it should just mess > > up things like particle systems and sequences. > > > > Robert. > > > > > > On Thu, Feb 21, 2008 at 8:33 PM, nicolas peña <[EMAIL PROTECTED]> > > wrote: > > > Hi all, > > > > > > As I need to control the frame rate of my cameras independently, I > > have > > > set-up a viewer for each one. > > > One camera has to draw in a window and accept user input, while the > > others > > > should not appear in the screen at all > > > (they have an image attached and send a copy of it to other > > process). > > > > > > To achieve this, the interactive camera's graphic context is set from > > a > > > traits with pbuffer = false > > > and the other one with pbuffer = true. > > > > > > The problem is that if a set up a loop that calls the frame method of > > both > > > one renders over the other as > > > if the rendering contexts were the same. > > > > > > Can I share the scene among different viewers? > > > > > > If yes what do I need to do to render properly? > > > > > > Please ask for the needed details... > > > > > > Thanks a lot, > > > > > > Nicolas. > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > osg-users mailing list > > > osg-users@lists.openscenegraph.org > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org