Skip to content
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

Place tiles on a globe #35

Merged
merged 2 commits into from
Nov 28, 2023
Merged

Place tiles on a globe #35

merged 2 commits into from
Nov 28, 2023

Conversation

oli-obk
Copy link
Collaborator

@oli-obk oli-obk commented Nov 28, 2023

I don't think it is noticeable until you fly very far and the ground starts tilting, though we could experiment with other radii.

fix #33

@DerKarlos
Copy link
Owner

It will be useful, if we offer to select the place in 3D on a rotatable Earth.
We could now use the OSM API for zoom 0 to 13 may be.

If we had infinite view it would limit the tiles.
If we will have terrain it will limit the view too.

As we have to mind the camera near and far limits,
we may do some "tricks".

  • Shrink the size of Earth in low zoom level
  • A realistic infinite view will be impossible. But we could dynamically generate a sky dome for the distant parts (That's my latest invention, I am very broud of)

@oli-obk
Copy link
Collaborator Author

oli-obk commented Nov 28, 2023

As we have to mind the camera near and far limits,

we can check how https://crates.io/crates/big_space does it and whether it will allow us to have infinite camera range. at least their demo seems to allow viewing an earth sized object from the moon, all at their real coordinates without any tricks

@DerKarlos DerKarlos merged commit afc2aca into DerKarlos:main Nov 28, 2023
7 checks passed
@oli-obk oli-obk deleted the sphere branch November 28, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Magic number 814.5
2 participants