Made the near far ratio lower to allow one to be near the terrain before clipping

comes in to effect
This commit is contained in:
Robert Osfield
2007-05-19 13:38:38 +00:00
parent 95e77d02ec
commit a441b1cf35

View File

@@ -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;