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/osgshaderterrain/osgshaderterrain.cpp

    r5971 r6051  
    131131            // vertex shader using just Vec4 coefficients 
    132132            char vertexShaderSource[] =  
    133                "uniform float osg_FrameTime;\n" 
    134133               "uniform sampler2D terrainTexture;\n" 
    135134               "uniform vec3 terrainOrigin;\n"