Fly view Manipulator #1892
-
Hello, Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
One question per thread, please :) You cannot override the pitch limit. OE only has the one EarthManipulator that is designed for GIS-style navigation. The correct solution is to implement a CameraManipulator for your application. OpenSceneGraph has several to choose from -- you can adapt one of those or write your own. As for the HUD, refer to the "osghud" example in OpenSceneGraph for an example of an overlay camera. Hope this helps. |
Beta Was this translation helpful? Give feedback.
One question per thread, please :)
You cannot override the pitch limit. OE only has the one EarthManipulator that is designed for GIS-style navigation. The correct solution is to implement a CameraManipulator for your application. OpenSceneGraph has several to choose from -- you can adapt one of those or write your own.
As for the HUD, refer to the "osghud" example in OpenSceneGraph for an example of an overlay camera.
https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osghud/osghud.cpp
Hope this helps.