Hi Lucie,

x and y change should be proportional to cos( lat ), z change should be 
proportional to sin( lat )

-Fred

----- "lucie lemonnier" <[email protected]> a écrit :

> Hi,
> 
> I understood that the XYZ are in Earth Center Earth Fixed
> coordinates.
> So is it normal that X,Y are calculated based on height?
> In fact, I put a latitude, longitude and height on a model, I use
> osg::EllipsoidModel::convertLatLongHeightToXYZ to obtain the position
> x,y,z and I transform my point with the MatrixTransforms applied on
> the terrain model and I place my model with the transformed point.
> Is it the step to be followed? 
> 
> Thank you!
> 
> Cheers,
> lucie
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=32170#32170
> 
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to