-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agree on orbiter orientation #22
Comments
What can we do:
|
The conclusion is not to touch |
v4: move this to pex-cam |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently orbiter is using latlon-to-xyz and xyz-to-latlon to convert spherical coordinates to xyz position. How those 2 relate to each other is matter of convention. The convention assumed in the current implementation assumes that lat:0, lon:0 is point [0, 0, 1] therefore orbiter is located at +X axis looking towards -X axis. This is to make it compatible with lat/lon coordinates of a textured sphere from https://github.com/glo-js/primitive-sphere often used for globe rendering. The problem is that this is agains default OpenGL convention where default camera is positioned +Z axis looking towards -Z axis.
The text was updated successfully, but these errors were encountered: