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

Globe with/without terrain can zoom too far out #4990

Open
birkskyum opened this issue Nov 4, 2024 · 1 comment
Open

Globe with/without terrain can zoom too far out #4990

birkskyum opened this issue Nov 4, 2024 · 1 comment
Labels
bug Something isn't working globe Globe related issues terrain vertical-perspective Vertical Perspective projection
Milestone

Comments

@birkskyum
Copy link
Member

A globe with terrain will by default allow zooming to negative zoom levels, resulting in some undefined behavior.

The globe will show artifacts, and then jump back to the minZoom.
There should be a hard limit on how far a user is allowed to zoom out.

Screen.Recording.2024-11-04.at.22.26.23.mov
Screenshot 2024-11-04 at 22 26 46

Repro:

  • Open hybrid-terrain example
  • Zoom out
@birkskyum birkskyum added globe Globe related issues terrain bug Something isn't working labels Nov 4, 2024
@birkskyum birkskyum added this to the 5.0 milestone Nov 5, 2024
@birkskyum birkskyum added the vertical-perspective Vertical Perspective projection label Nov 9, 2024
@birkskyum
Copy link
Member Author

birkskyum commented Nov 9, 2024

When disabling terrain, and scroll zooming out it has a bounce to it, so here a better zoom constraint would help too

Screen.Recording.2024-11-09.at.13.44.59.mov

@birkskyum birkskyum changed the title Globe with terrain can zoom too far out Globe with+without terrain can zoom too far out Nov 9, 2024
@birkskyum birkskyum changed the title Globe with+without terrain can zoom too far out Globe with/without terrain can zoom too far out Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working globe Globe related issues terrain vertical-perspective Vertical Perspective projection
Projects
None yet
Development

No branches or pull requests

1 participant