EarthManipulator getRotation(const osg::Vec3d& point)

classic Classic list List threaded Threaded
3 messages Options
gaoyj gaoyj
Reply | Threaded
Open this post in threaded view
|

EarthManipulator getRotation(const osg::Vec3d& point)

hello!
How do I understand this sentence? “ The look vector will be going directly from the eye point to the point on the earth,so the look vector is simply the up vector at the center point”, What does the center point mean?



 
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: EarthManipulator getRotation(const osg::Vec3d& point)

gauyj,
The "center point" refers to the point passed into the method. The method (if I remember correctly) creates a rotation from world space (ECEF) to a local tangent plane with "point" as the origin.
Glenn Waldron / Pelican Mapping
gaoyj gaoyj
Reply | Threaded
Open this post in threaded view
|

Re: EarthManipulator getRotation(const osg::Vec3d& point)

Thank you for your answer.