mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Settle imagery, world data and sky capabilities in the renderer contract
- setFrames takes a timed source (URL frames, or video tiles in segments) on the scene clock by default or its own; frameReady fires once each time the shown frame is drawn. - drapeOn is 'surface' | 'objects' | 'all' plus lit; imagery.host() and onHostChange go, and the drape rule the app derives is written out. - ImagerySpec.fetchTile answers bytes, missing or defer on every renderer; tileTransform, admit and canvas imagery need imageHooks, and add() throws for them without it. - Generic names for the default renderer's world data: worldDataToken, the photoreal fallback route, and world terrain and imagery. - clouds and water capabilities, with globe.setClouds and setWater.
This commit is contained in:
1 parent
a7aeeb558a
commit
3dc79515bb
7 files changed
+360
-52
No files matched your search
Vendored
+6
-2
@@ -34,8 +34,12 @@ export interface CreateOptions {
|
||||
googleApiKey?: string;
|
||||
/** Short-lived Google session tokens, when the key is held server-side. */
|
||||
googleTokens?: () => Promise<string>;
|
||||
/** Cesium ion token, for ion-hosted terrain and fallback tiles. */
|
||||
ionToken?: string;
|
||||
/**
|
||||
* The token for the renderer's world data: `world` terrain and imagery
|
||||
* and the photoreal `fallback`. For the default renderer, a Cesium ion
|
||||
* token.
|
||||
*/
|
||||
worldDataToken?: string;
|
||||
/** Initial multisampling; quality can change it later. */
|
||||
msaa?: 0 | 2 | 4 | 8;
|
||||
/** Keep the drawing buffer after presenting, for capture. */
|
||||
|
||||
Reference in new issue
Block a user