Skip to content

Fly view Manipulator #1892

Answered by gwaldron
nebsar asked this question in Support Q&A
Dec 5, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nebsar
Comment options

Answer selected by gwaldron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants