Hi Kelly,

On Fri, Jul 17, 2009 at 12:35 PM, Kelly Fields<kelly.br...@jhuapl.edu> wrote:
> Yes, sorry - I need millisecond precision.  So I need a number to be like 
> "3.234 seconds" rather than "3 seconds"

I'm really surprised that Delta3D code gives an interger time back.
The OSG's FrameStamp stores the simulation in doubles so you'll get a
3.234 as you require, but for some reason Delta3D seems to be
truncating its own time.

Perhaps you could just ignore the Delta3D code and utilize the OSG's
osg::Timer to do timing or use osg::FrameStamp that the Viewer
maintains updating it for each new frame.  The OSG classes work on all
platforms.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to