Hey, How can I get the time elapsed since the last frame, without using frame event? In c++ ogre, there is root::gettimer() but I can't find that in mogre, i guess because the timer is part of the platform manager? Is there an alternative way to get the time elapsed from ogre?
Is there a benefit on using Ogre's timer instead of .NET's Stopwatch ? I'll add it if that's the case.
Well, I don't know of the precision .Net timers offer. I know Ogre's internal timer will use QueryPerformanceTime to get pretty high precision time. But, I think you would be fine using .Net's timers regardless of precision... Anyway, I know Axiom wrapped the QueryPerformance timers in .Net. However, Bekas, I suggest against doing that, as that would tie Mogre even more to Windows
In Ogre Eihort, when you wrap it, the timers are now in OgreMain itself, so you can still avoid wrapping the platform manager.
None, except I prefer to use ogre code over .Net code, so if there is a need I can revert to C++. Ill use the stopwatch till eihort comes out.
Just realized that stopwatch won't work because it gives me seconds (through the timespan) in int and not a floating variable.
None the less ill use the milliseconds instead.