Hi David, If the AnimationPath isn't working then it suggests that FrameStamp isn't being managed correctly. You need to update the FrameStamp's ReferenceTime and SimulationTime on each frame as well as the FrameNumber.
For osg::ImageSequence to function you need to create an osgDB::ImagePager and pass this to the UpdateVisitor and then provided a updateSceneGraph to update the scene graph. For an example of both of these implementations have a look at the osgViewer library to see how it's done. The other approach would be to port VRJuggle to use osgViewer rather it's own graphics context support. osgViewer has all the windowing/view manage capabilities of VRJuggler and adds much more besides in terms of threading and pbuffers support. Changing VRJuggler so it just provides the slave camera configuration for an osgViewer::Viewer would be the route that would expose the most of OSG's capabilities, right now VRJuggler will hiding many of it's capabilities in a small box. Robert. On Fri, Feb 20, 2009 at 10:07 AM, David MichÃ(c)a <[email protected]> wrote: > Hi, > > I have posted recently a topic about problem with ImageSequence that Robert > solved very quickly. Indeed, it works on my laptop now. > > But I also work on a virtual reality workbench, I use OSG with VRJuggler to > make VR vizualisation program. I just make prototype on my laptop. > > VRJ don't use the osgViewer, it uses sceneView and its update method. > > Animations (animationPath & Volume ImageSequence) don't work with VRJuggler, > but the other NodeCallbacks work fine. > > Has someone an idea of what I could do to make animations work properly > (something to trigger explicitly maybe ??) > > Thanks, > David. > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=7085#7085 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

