Yes, they're both equivalent in that they return position info but the
former returns a matrix for you to use in your transform node so that your
model will be positioned correctly on the spheroid. I believe the "up"
vector of the model will then match the "up" vector at that position on the
spheroid so that things are oriented correctly (i.e. a car appears upright
sitting on the ground).

-Shayne

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of lucie
lemonnier
Sent: Thursday, September 30, 2010 10:09 AM
To: [email protected]
Subject: Re: [osg-users] convertLatLongHeightToXYZ

Hi,
The function
ellipsoid->computeLocalToWorldTransformFromLatLongHeight(osg::DegreesToRadia
ns(lat),osg::DegreesToRadians(lon), altitude, position);
give me the same values of X,Y,Z as if I use directly the function 
ellipsoid->convertLatLongHeightToXYZ(osg::DegreesToRadians(lat),osg::Degrees
ToRadians(lon), altitude, position);
I don't understand.
Can you clear up me?

Thank you!

Cheers,
lucie

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32232#32232





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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to