So basically I would like to:
- Draw a path between two positions in Earth, with longitude and latitude coordinates
- Be able to render this path with multiple straight lines (e.g. with OpenGL)
- Specify an altitude, and bonus points for being able to arc over the sphere (e.g. a flight path)
- Doesn't really matter which language it's in. I can translate :)
There is the "great-circle" distance formula, but I'm not sure how I would apply it into this problem.