-
-
Notifications
You must be signed in to change notification settings - Fork 754
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
Sky shouldn't be visible on low zoom in Globe-Mercator projection #4853
Comments
I tent to think this is the sky. |
@laem can you help with a minimal repro of the sky issue seen here? |
@HarelM , repro here , zoom out to see the sky stay in flat-earth mode: |
Thanks @birkskyum! |
What are the expectations here? Should we just disable sky? The current implementation tries to simulate sunlight on the earth but that doesn't obviously work on globe |
I expected the sky to wrap around the globe, so that it starts at the globe edge, and extends out. |
Thanks for the issue. I've had some problems understanding the sky spec. I'm still very happy with the globe feature. Please note that the capture in the initial issue body is a heavily tilted view, as shown by this GIF. One very easy fix would be to untilt the view at low zoom when the globe projection is set. I'll try to implement that someday. |
@ibesora , actually, since the "sky" simulate the scattering through the atmosphere like you point to, I agree it doesn't make sense to show it at low zoom when the camera isn't beneath the atmosphere. |
When using a globe, and going to a high pitch, the non-globe sky is shown
Demo:
https://cartes.app/?style=transports&choix+du+style=oui#2.08/66.22/-14.38/47/85
The text was updated successfully, but these errors were encountered: