On Mon, Jun 16, 2008 at 4:36 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC <[EMAIL PROTECTED]> wrote:

>
>
>
>
>        ASSUMING your source data is geographic (e.g. WGS84) then you have a
> Plate Carre projection and the conversion is simply: X=Lon, Y=Lat. If   it
> is not geographic, then you will have to use a library like PROJ.4      to
> reproject it.
>
> The elevation source data is raw DTED format which uses WGS84.
>
> So if I want to reposition my airplane over the terrain, do I use lat/lon
> coordinates to do that such as:
>
> airplaneXform->setPosition(osg::Vec3(-113.0, 33.0, altitude))
>
> ?
>

That should work in this case, yes.
Glenn

-- 
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to