You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playing with the osgearth_manip.exe example, I noticed that enabling terrain avoidance (via ToggleCollisionHandler) doesn't have any effect when using the middle mouse button (hold down and moving the mouse up and down) to move the viewpoint close to the ground.
This can be seen by using the osgearth_manip.exe with an earth file pointing to terrain data:
zooming in to an area where terrain is present
pressing the middle mouse button down while moving the mouse vertical until the viewpoint is under the terrain.
If terrain avoidance is enabled, the camera should clamp to the minimum distance defined and not go through the terrain surface.
The text was updated successfully, but these errors were encountered:
I count not repro it your way, but I could repro by positioning the camera above a mountain, and then pitching up so that the camera went down into the ground underneath.
Playing with the osgearth_manip.exe example, I noticed that enabling terrain avoidance (via ToggleCollisionHandler) doesn't have any effect when using the middle mouse button (hold down and moving the mouse up and down) to move the viewpoint close to the ground.
This can be seen by using the osgearth_manip.exe with an earth file pointing to terrain data:
If terrain avoidance is enabled, the camera should clamp to the minimum distance defined and not go through the terrain surface.
The text was updated successfully, but these errors were encountered: