Show
Ignore:
Timestamp:
01/25/07 13:02:51 (8 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/osgprecipitation/osgprecipitation.cpp

    r5954 r6051  
    3333            osgParticle::PrecipitationEffect* pe = dynamic_cast<osgParticle::PrecipitationEffect*>(node); 
    3434             
    35             float value = sin(nv->getFrameStamp()->getReferenceTime()); 
     35            float value = sin(nv->getFrameStamp()->getSimulationTime()); 
    3636            if (value<-0.5) 
    3737            {