On 5 December 2016 at 06:33, Bhanu Chandra <[email protected]> wrote:
>  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.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to