Show
Ignore:
Timestamp:
01/25/07 13:02:51 (7 years ago)
Author:
robert
Message:

Added osg::FrameStamp::set/getSimulationTime().

Added setting of osg_SimulationTime and osg_DeltaSimulationTime to the uniforms set by SceneView?

Added frame(double simulationTime) and advance(double simulationTime) parameters to
osgViewer::SimpleViewer?, Vewer and CompositeViewer?.

Updated various examples and Nodes to use SimulationTime? where appropriate.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/Inventor/ShuttleCallback.cpp

    r2915 r6051  
    3434    if (nv->getTraversalNumber()!=_previousTraversalNumber) 
    3535    { 
    36         double currentTime = fs->getReferenceTime(); 
     36        double currentTime = fs->getSimulationTime(); 
    3737        _angle += (currentTime - _previousTime) * 2 * osg::PI * _frequency; 
    3838