OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

About the parameter _lock_azim_while_panning in OSGEarth EarthManipulator


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Michelle_Xie
Newbie


Joined: 01 Mar 2017
Posts: 1

PostPosted: Thu Mar 02, 2017 2:08 am    Post subject:
About the parameter _lock_azim_while_panning in OSGEarth EarthManipulator
Reply with quote

Hi, all

Why the parameter _lock_azim_while_panning is set to lock in a camera heading when performing panning operations in OSGEarth EarthManipulator. I think this can lead to the problem of steering when rotates parallel to the north or south poles. My OSGEarth version is 2.7.


Thank you!

Cheers,
Mingxia
Back to top
View user's profile Send private message
gwaldron (Glenn Waldron)
Appreciator


Joined: 25 Aug 2011
Posts: 196

PostPosted: Thu Mar 02, 2017 2:27 pm    Post subject:
About the parameter _lock_azim_while_panning in OSGEarth EarthManipulator
Reply with quote

Mingxia,
That is by design - if you lock your camera azimuth (to north-up for example), you will be unable to rotate past the poles. You can disable the feature by calling EarthManipulator::getSettings()->setLockAzimuthWhilePanning(false).


Hope this helps


Glenn Waldron




On Wed, Mar 1, 2017 at 9:08 PM, Mingxia Xie < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Hi, all

Why the parameter _lock_azim_while_panning is set to lock in a camera heading when performing panning operations in OSGEarth EarthManipulator. I think this can lead to the problem of steering when rotates parallel to the north or south poles. My OSGEarth version is 2.7.


Thank you!

Cheers,
Mingxia

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70375#70375




Attachments:
http://forum.openscenegraph.org//files/rotate_246.gif


_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts About Shapefiles and .dbf files in os... Rambabu General 0 Tue Apr 25, 2017 4:57 am View latest post
No new posts osgEarth Latha Rani General [forum] 3 Thu Apr 06, 2017 2:13 pm View latest post
No new posts How to get Center Parameter of Camera... nghien_rbc General 3 Wed Mar 15, 2017 3:27 am View latest post
No new posts How to merge osgocean and osgearth Rambabu General 2 Wed Dec 07, 2016 12:43 pm View latest post
No new posts osgEarth bhanu406 General 1 Tue Dec 06, 2016 4:40 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP