Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Transform latitude longitude to opengl coord

  1. #1
    Newbie Newbie
    Join Date
    Jul 2012
    Posts
    2

    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

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Apr 2010
    Location
    Germany
    Posts
    900
    Does a conversion as for spherical coordinates work for you? I've never dealt with real topology data though so it might not.

  3. #3
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    2,882
    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).

  4. #4
    Newbie Newbie
    Join Date
    Jul 2012
    Posts
    2
    Thanks for this data

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •