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.
This commit is contained in:
@@ -56,6 +56,8 @@ BEGIN_ENUM_REFLECTOR(osgUtil::SceneView::ActiveUniforms)
|
||||
I_EnumLabel(osgUtil::SceneView::FRAME_NUMBER_UNIFORM);
|
||||
I_EnumLabel(osgUtil::SceneView::FRAME_TIME_UNIFORM);
|
||||
I_EnumLabel(osgUtil::SceneView::DELTA_FRAME_TIME_UNIFORM);
|
||||
I_EnumLabel(osgUtil::SceneView::SIMULATION_TIME_UNIFORM);
|
||||
I_EnumLabel(osgUtil::SceneView::DELTA_SIMULATION_TIME_UNIFORM);
|
||||
I_EnumLabel(osgUtil::SceneView::VIEW_MATRIX_UNIFORM);
|
||||
I_EnumLabel(osgUtil::SceneView::VIEW_MATRIX_INVERSE_UNIFORM);
|
||||
I_EnumLabel(osgUtil::SceneView::DEFAULT_UNIFORMS);
|
||||
|
||||
Reference in New Issue
Block a user