Hi CG,

On Thu, Apr 10, 2008 at 10:04 AM, CG <[EMAIL PROTECTED]> wrote:

> How do I set the initial camera manipulator's coordinates to a specific
> Geocentric/Geodetic coordinates (e.g. latitude: 33.3, longitude: -127.0)?
>

You can use the MatrixManipulator::setHomePosition(..) method, this will
take the eye, look and up vector as per gluLookAt.

As for lat/longs this isn't something that
MatrxManipulator::setHomePosition() supports so you'll need to compute this
yourself.  osg::EllipsoidModel could be used to help you.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to