Hi, The Performer sequence node does indeed keep its children synchronized with an external timer variable, so this modification would make the osg::Sequence node more compatible with the Performer sequence node.
I'll code it up next year and if the consensus is that it is desirable, I'll send it to osg-submissions. Otherwise I guess we'll just use our own home-grown sequence node. Thanks, -John On Wed, 20 Dec 2006, Robert Osfield wrote: > Hi John, > > I must admit a bit of ignorance when it comes to osg::Sequence as its > a community contributed node, in theory written to match > Performer/OpenFlight style sequence. Instinctively I would say that > it should be based of the reference time of a FrameStamp, not on > sequence frames. > > Feedback from others is welcome. > > Robert. > > On 12/20/06, John Kelso <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I've noticed that when a sequence node is not traversed for some time, and > > then later traversal starts up, the index of the selected child is only > > incremented to the next node- it doesn't play catch up and try to set the > > node based on the actual elapsed time. Also, if the frame time is set too > > low or the speed is set to high, the sequence node can't keep > > up with the frame stamp time. > > > > Is this the intended design? > > > > We have a need to have sequence nodes keep in sync with frame stamp > > time. If the sequence node is doing what you intend, can we add a method > > to tell the node to keep in sync with the frame time, rather than lagging > > behind? > > > > If it isn't the intended design, I'd be happy to modify the sequence node > > code and send it to you. > > > > Let me know which way you'd like to go, if any. > > > > Thanks, > > > > -John > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://openscenegraph.net/mailman/listinfo/osg-users > > http://www.openscenegraph.org/ > > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
