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

Terrain precision glitching / jumping when using lower resolution terrain with default update strategy #2442

Open
airnez opened this issue Oct 17, 2024 · 1 comment
Labels

Comments

@airnez
Copy link
Contributor

airnez commented Oct 17, 2024

Context

Using a lower resolution terrain (world for instance) with the default strategy STRATEGY_MIN_NETWORK_TRAFFIC produces glitching effets by switching from precision levels very far apart from each other.

tile_precision_glitching.mp4

Steps to Reproduce

  1. Start from the view_3d_map example.
  2. Modify the range of the view.controls.lookAtCoordinate function to a smaller value like 1000 to zoom closer to ground when searching a place
  3. Remove the Highres France terrain to only use world terrain.
  4. Remove the update strategy in WORLD_DTM.json to use default one
  5. Search for the french city Sète
  6. See how tiles are switching between very far appart levels

Expected Behavior

Even if it makes sense that this strategy tries to request as few tiles as possible, it should not jump between levels too far appart.

Possible Cause/Fix/Solution

When zooming from the whole globe view to a close-up view, only very low-res and high res tiles are loaded, and the startegy switches betweel already loaded tiles.

@AnthonyGlt
Copy link
Contributor

related #2344 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants