ReferenceTime is the time that the viewer is using to calculate
statistics like frames/second etc, so you can think of it as the
internal realtime clock and you generally don't want to touch it.
SimulationTime is the time that updateVisitors will see, so things
like animated nodes are evaluated at this time. You can use this to
change the speed of playback of an evolving scene using
viewer->frame(my_time) in your main frame/event loop.

-Drew

On 5/8/07, Doug McCorkle <[EMAIL PROTECTED]> wrote:
Hello,

     I noticed that there is a new member function in the framestamp class
called setSimulationTime. What is the the difference between
setSimulationTime and setReferenceTime? I could not tell the difference from
the osgviewer code. Thanks for the help.

Doug



_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/



--
Drew Whitehouse
ANU Supercomputer Facility Vizlab
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to