Transform latitude longitude to opengl coord

Hi everybody, i’m new in this forum.

I have a problem, I am currently developing an augmented reality applicaction and i have a lot of geopoint (each geopoint with latitude, longitude and altitude). Now my question is, do you know any way to convert geographic points (in geographic coord system) for coord system opengl?

Thanks in advance.

regards.

chot-xtm

Does a conversion as for spherical coordinates work for you? I’ve never dealt with real topology data though so it might not.

Google “geodetic to geocentric” with and without “ellipsoid” and that should get you want you want.

LLA (lat-lon-alt) is geodetic (i.e. coordinates on an ellipsoid), whereas geocentric is XYZ (coordinates in an orthonormal space).

Thanks for this data :smiley: