Skip to content

QuantizedMesh: skip loading low resolution tiles when camera initialised close to mesh #1344

@Ylannl

Description

@Ylannl

Description

I'm working on a project that uses the WMTS and GeoJSON overlays on a quantised mesh. This works well, except for the initialisation phase in case the camera is initialised close to the terrain:

Screen.Recording.2025-10-21.at.10.28.33.mov

It takes quite long to load all the tiles all the way up to the desired state for the current camera postion (with the exception of the 3D Tiles with building models). This is especially the case with a slow connection/slow server, eg. I was able to improve this situation somewhat by moving the quantised mesh to a more responsive server. However, it is still very noticeable, seeing the low resolution tiles gradually being replaced by the higher resolution ones. It is also noticeable when you zoom in very fast (eg. from globe level to city level).

Solution

I get the impression that it always starts loading from the root (coarsest/lowest resolution tile) and then gradually refines without skipping any tree levels. Maybe even also for the overlays? Is this correct? And is there a way skip those intermediate levels with the existing codebase and immediately load the high resolutions tiles?
If not, I think this would be a nice optimisation to implement. It would give the user a more responsive experience + save bandwidth. Do you agree? If yes, how could this implemented best? I'm willing to contribute code.

Alternatives

Moving all the tile sources to faster servers, using CDN etc? This will, however, not tackle the root cause of the problem, only make it less noticeable.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions