Introduced a less conservative near ratio.

This commit is contained in:
Robert Osfield 2011-06-08 09:24:50 +00:00
parent ccfac57f20
commit 973a9dee09

View File

@ -1652,7 +1652,7 @@ bool DepthPartitionSettings::getDepthRange(osg::View& view, unsigned int partiti
OSG_NOTICE<<"nearPointInEyeCoords = "<<nearPointInEyeCoords<<std::endl; OSG_NOTICE<<"nearPointInEyeCoords = "<<nearPointInEyeCoords<<std::endl;
OSG_NOTICE<<"farPointInEyeCoords = "<<farPointInEyeCoords<<std::endl; OSG_NOTICE<<"farPointInEyeCoords = "<<farPointInEyeCoords<<std::endl;
#endif #endif
double minZNearRatio = 0.001; double minZNearRatio = 0.00001;
if (masterCamera->getDisplaySettings()) if (masterCamera->getDisplaySettings())