mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 03:32:19 +00:00
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:
1 parent
d9d79ebc4d
commit
eebde0bdca
9 files changed
+390
-6
No files matched your search
@@ -9924,7 +9924,12 @@ unless its plugin hands the application a map engine of its own
|
||||
terrain as `quantizedMesh` terrain at its URL (`src/maps/keylessTerrain.js`);
|
||||
while the keyless terrain does not answer, the ellipsoid stands in and the
|
||||
map stack tries it again behind it. A renderer without the `terrain`
|
||||
capability keeps the ellipsoid.
|
||||
capability keeps the ellipsoid. A `quantizedMesh` terrain source can supply
|
||||
its tiles through `fetchTile`, like `xyz` imagery: Cesium still reads
|
||||
`layer.json` at the source's URL, schedules, cancels and decodes the tiles,
|
||||
and only each tile's bytes come from `fetchTile`; a `missing` tile draws its
|
||||
parent's terrain, a `defer`red one is asked for again shortly
|
||||
(`src/render/cesium/terrainTiles.js`).
|
||||
|
||||
A viewer with no renderer bound gets the Cesium engine
|
||||
(`src/render/cesium/mapEngine.js`), with the other unbound ports, from the
|
||||
|
||||
Reference in new issue
Block a user