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 > email@example.com > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list firstname.lastname@example.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org