Hi Shinna, I'm a bit perplexed why you actually need a timer in the way you want. The OSG provides a FrameStamp on each new frame that provides the frame number and simulation time - this is sufficient for most animation work.
Robert. On Sun, Oct 11, 2009 at 6:39 PM, Shiina Ringo <osgfo...@tevs.eu> wrote: > Hi, > > I just want to make a "Timer" , using the OpenThreads library , for my own > animation control method. In other word , I want to make a > "Timer thread" , which provide the precision time signal every second. > But I have never work on the programming about mult-threads , especially here > using the OpenThreads with OSG. > > Could anyone give me some advice for how to implement a Timer , and how to > use this timer thread with my scene in OSG? > > Any help would be appreciated. > > Thank you very much! > > Cheers, > Shiina > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=18184#18184 > > > > > > _______________________________________________ > 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