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/examples/osgtexture1D/osgtexture1D.cpp

    r5962 r6051  
    128128            { 
    129129                // we have an exisitng stateset, so lets animate it. 
    130                 animateState(stateset,nv->getFrameStamp()->getReferenceTime()); 
     130                animateState(stateset,nv->getFrameStamp()->getSimulationTime()); 
    131131            } 
    132132