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 

Lat & Lons


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum]
View previous topic :: View next topic  
Author Message
bhanu406
Newbie


Joined: 18 Nov 2016
Posts: 15

PostPosted: Mon Dec 05, 2016 6:33 am    Post subject:
Lat & Lons
Reply with quote

Hi,

...
How to load models using lat and Lon positions to the plane Earth ?

Thank you!

Cheers,
Bhanu
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11278

PostPosted: Mon Dec 05, 2016 8:49 am    Post subject:
Lat & Lons
Reply with quote

On 5 December 2016 at 06:33, Bhanu Chandra <> wrote:
Quote:
How to load models using lat and Lon positions to the plane Earth ?

What do you mean by "plane Earth"?

A flat earth projection? Earth Centered Earth Fixed (ECEF)?

Given I can't guess what you really mean I can only provide general
pointers. First up the models normally just load up in the their own
local coordinate frame and require the user to create a transform node
which you place above them and then attach this transform to the scene
graph. This transform node is set up to the correct matrix using the
osg::EllipsoidModel helper class. Look at the osgsimulation example
for code that does this for place the loaded cessna into ECEF.

Robert.


------------------
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 [forum] 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



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