From a441b1cf35594934bb24a3e160f3718fa93d6ea1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 19 May 2007 13:38:38 +0000 Subject: [PATCH] Made the near far ratio lower to allow one to be near the terrain before clipping comes in to effect --- examples/osgsimulation/osgsimulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgsimulation/osgsimulation.cpp b/examples/osgsimulation/osgsimulation.cpp index 464200f8f..e3400e046 100644 --- a/examples/osgsimulation/osgsimulation.cpp +++ b/examples/osgsimulation/osgsimulation.cpp @@ -201,7 +201,7 @@ int main(int argc, char **argv) // set the near far ration computation up. viewer.getCamera()->setComputeNearFarMode(osg::CullSettings::COMPUTE_NEAR_FAR_USING_PRIMITIVES); - viewer.getCamera()->setNearFarRatio(0.00001f); + viewer.getCamera()->setNearFarRatio(0.000003f); double speed = 1.0;