mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Say that height batches miss terrain without depth textures
Without depth textures the Cesium renderer still answers terrain heights now, from the loaded tiles, but a batch misses them as it does the surface. The gateway docs and the application guide say so.
This commit is contained in:
1 parent
8c024f5ea7
commit
e94b7ffb01
2 files changed
+4
-3
No files matched your search
+1
-1
@@ -168,7 +168,7 @@ the surface. `exclude` lists draw set ids to see through, of those drawn with
|
|||||||
miss is `null`, and every caller treats it as one; `batch` and `clampBatch`
|
miss is `null`, and every caller treats it as one; `batch` and `clampBatch`
|
||||||
reject when the query itself fails. Without depth-texture support the Cesium
|
reject when the query itself fails. Without depth-texture support the Cesium
|
||||||
renderer answers no `surface` or `tiles` height; `now` still answers
|
renderer answers no `surface` or `tiles` height; `now` still answers
|
||||||
`terrain` from the loaded tiles.
|
`terrain` from the loaded tiles, while `batch` misses terrain too.
|
||||||
|
|
||||||
## Cesium internals
|
## Cesium internals
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,8 @@
|
|||||||
* asked of the renderer's query port (`src/render/contract/query.d.ts`).
|
* asked of the renderer's query port (`src/render/contract/query.d.ts`).
|
||||||
*
|
*
|
||||||
* `now()` answers from what is already loaded and may return `null`: tiles
|
* `now()` answers from what is already loaded and may return `null`: tiles
|
||||||
* not streamed yet, no depth support, no renderer, a point off screen. Every
|
* not streamed yet, no depth support (below), no renderer, a point off
|
||||||
|
* screen. Every
|
||||||
* caller treats that as a miss, holding its last value or placing first and
|
* caller treats that as a miss, holding its last value or placing first and
|
||||||
* patching when `batch()` resolves. `batch()` and `clampBatch()` answer null
|
* patching when `batch()` resolves. `batch()` and `clampBatch()` answer null
|
||||||
* per point they miss, and reject when the query itself fails (a tile
|
* per point they miss, and reject when the query itself fails (a tile
|
||||||
@@ -15,7 +16,7 @@
|
|||||||
* What the renderer cannot answer is a miss: without depth textures (its
|
* What the renderer cannot answer is a miss: without depth textures (its
|
||||||
* `sampleHeight` capability) the Cesium renderer answers no `'surface'` or
|
* `sampleHeight` capability) the Cesium renderer answers no `'surface'` or
|
||||||
* `'tiles'` height; `now()` still answers `'terrain'` from the globe's
|
* `'tiles'` height; `now()` still answers `'terrain'` from the globe's
|
||||||
* loaded tiles.
|
* loaded tiles, while `batch()` misses there too.
|
||||||
*
|
*
|
||||||
* `against` picks the surface: `'surface'` is what is drawn (tiles, the
|
* `against` picks the surface: `'surface'` is what is drawn (tiles, the
|
||||||
* globe, and draw sets drawn as ground), `'terrain'` the terrain alone,
|
* globe, and draw sets drawn as ground), `'terrain'` the terrain alone,
|
||||||
|
|||||||
Reference in new issue
Block a user