Keyless terrain reaches the renderer as quantized-mesh terrain

The contract's TerrainSpec gains quantizedMesh terrain: Cesium's tile
format in the folder at its url, heights above the ellipsoid. Without an
ion key the globe-port map engine asks for Re:Earth's keyless terrain as
it, where it asked for the ellipsoid, so the renderer
draws the same ground; without the terrain capability keeps the
ellipsoid. Cesium's globe port draws it through CesiumTerrainProvider with
the keyless terrain's retry policy.
This commit is contained in:
Sameh Khamis committed 2026-11-11 09:20:33 -08:00
1 parent c57e535275
commit 1f307e0735
9 files changed
+101 -17

No files matched your search

+5
View File
@@ -36,6 +36,11 @@ export type TerrainSpec = (
* (for the default renderer, Cesium World Terrain).
*/
| { kind: 'world'; requestVertexNormals?: boolean }
/**
* Quantized-mesh terrain (Cesium's tile format) in the folder `url`,
* holding `layer.json` and its tiles; heights above the ellipsoid.
*/
| { kind: 'quantizedMesh'; url: string; requestVertexNormals?: boolean }
) & {
/** Vertical exaggeration of the drawn terrain; default 1. */
exaggeration?: number;