Hi Zeki,
On 18 April 2013 16:05, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC < shayne.tuel...@hill.af.mil> wrote: > The methods provided in osgSim work for geocentric databases. Is your > terrain built as a geocentric database? > > If so, you can get the HAT/HOT with this... > > earth->convertLatLongHeightToXYZ(osg::DegreesToRadians(lat), > osg::DegreesToRadians(lon), alt, X,Y,Z); > hat = > The missing bit of information here is that a geocentric database created by VPB will be decorated by a osgTerrain::Terrain node that is subclassed from osg::CoordindateSystemNode that provide the osg::EllipsoidModel that has the covertLatLongHeightToXYZ method. Robert.
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org