Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

OpenGL - Convert Latitude Longitude and Altitude to x,y,z

Avatar of dslamb
dslamb asked on
Game ProgrammingAlgorithms
7 Comments1 Solution2715 ViewsLast Modified:
I've seen a number of examples converting Latitude and Longitude into an OpenGL coordinate system.  For example, this one is particularly useful.  However, I haven't found relevant examples that include elevation/altitude.  I was hoping someone might provide me with an example.

The original lat, long, and altitude will be in the WGS 84 ellipsoid, and OpenGL will be using the right-hand Y-Up coordinate system.  Basically, I'm looking at using OpenGL to render models from Google's 3D warehouse that are associated with Google Earth.  These come as collada files with a Z-Up orientation.

Thanks for any help.

Avatar of Member_2_5069294

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answers