Quantized-mesh terrain can supply its tiles through fetchTile, like imagery

A `quantizedMesh` terrain spec takes an optional `fetchTile`, called with
the tile (rows from the north), its URL as Cesium resolved it and an abort
signal. Cesium still reads `layer.json` at the url and schedules, cancels
and decodes the tiles; only the bytes of each tile come from `fetchTile`.
A `missing` tile draws its parent's terrain there and a deferred one is
asked for again shortly.
This commit is contained in:
Sameh Khamis committed 2026-11-22 15:44:07 -08:00
1 parent d9d79ebc4d
commit eebde0bdca
9 files changed
+390 -6

No files matched your search

+1 -1
View File
@@ -872,4 +872,4 @@ course. The stub keeps no drawn course. These wait for scenes that capture
an icon mid-turn. Height queries that count a set
(`includeInHeightQueries`) are not checked either: the stub's heights are
scripted, so it does not model them. Nor are video frames (a check needs a
video) or `fetchTile` (the stub fetches nothing).
video) or `fetchTile`, imagery's or terrain's (the stub fetches nothing).