Hello! When I drag the earth to a certain Angle, the picture will pass through the earth, what can I do to avoid this? Thank you! #2432
Answered
by
gwaldron
luohuiiqng
asked this question in
Support Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
gwaldron
Jan 24, 2024
Replies: 1 comment 1 reply
-
This looks like clipping caused by the OpenGL near clipping plane. You can either try reducing the distance of the near plane in your projection matrix, or you can try using the osgEarth::Util::LogarithmicDepthBuffer logDepth;
logDepth.install(viewer.getCamera()); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
luohuiiqng
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks like clipping caused by the OpenGL near clipping plane. You can either try reducing the distance of the near plane in your projection matrix, or you can try using the
LogarithmicDepthBuffer
utility: