|
Mike, Here is how I compute the frame rate in my
app: m_currentTick =
osg::Timer::instance()->tick(); m_fFrameRate = 1.0 /
osg::Timer::instance()->delta_s(m_previousTick, m_currentTick); m_previousTick = m_currentTick; Just do this every frame, and you should
be fine. -Andrew From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Robert Osfield On 9/18/06, Mike Greene
<[EMAIL PROTECTED]> wrote:
|
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
