Hi Shinna, Currently there aren't any events mechanism in osg::Image/osg::ImageStream for tells apps that a movie has completed. To achieve this we'll need to add an event/callback mechanism into osg::ImageStream to pass back details of a movie completing, and then extend the movie reading plugins to call this. I'm open to suggestions for API/implementations.
Robert. On Thu, Jan 7, 2010 at 4:48 AM, Shiina Ringo <osgfo...@tevs.eu> wrote: > Hi, > > Recently I just added the "osgmovie" in my object , to play as a media > player. But here I have a question , that is , is there any method to detect > if the movie has been over , and then I could switch to other scene. > > Any advice would be appreciated. > > > Thank you very much! > > Cheers, > Shiina > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=22192#22192 > > > > > > _______________________________________________ > 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