Robert Osfield wrote:
Hi Rick
On 11/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I am writing a little app where I play, pause, play reverse, and
scrub with
the mouse. What happens underneath (somewhere) in Viewer is that an
osg::FrameStamp is placed inside of an osgUtil::UpdateVisitor and then
passed to the scene via the accept() call. When I do mine, I use a
osgProducer::OsgCameraGroup rather than a regular Viewer because I am
not
sure where in the Viewer all of that happens and where to set the time
myself. Anyone?
The framstamp is updated in OsgCameragroup.sync(), after this call it
is possible to override it and set you own FrameStamp reference time.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
Hi all,
I have already write an object cooki3d::Animation, it makes play, stop,
pause, stop, setPostion, setDuration [resize].
The file is Animation.cpp in the cooki3d C++ api (download it with a
user account=> www.cooki3d.org <www.cooki3d.org>).
perhaps it can help you to do what you want...
Bertrand.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/