Ground Clipping
Closed this issue · 1 comments
faculaganymede commented
emminizer commented
Take a look at simVis/View.cpp's SetNearFarCallback. Most of then near/far clip plane management is done in OSG. See also the ClampNearPlaneCallback in simVis/ViewManagerLogDbAdapter, which helps with the Logarithmic Depth Buffer provided by osgEarth. Logarithmic Depth Buffer (LDB) helps tremendously in the overwhelmingly common cases, but it breaks somewhat quickly with surfaces that intersect the near plane. You can opt to disable LDB which can give you more traditional access to OSG's near/far clipping plane values.