mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Settle the draw decisions in the renderer contract
- lodGroup links items across sets as one thing at different detail; picks name the member shown and report the group. displayRange is half-open. - An orbits capability: the renderer propagates two-line elements with SGP4 on the set's motion clock. The stub propagates with satellite.js. - Height queries see draw sets only with includeInHeightQueries (was excludeFromHeightQueries); HeightSample.source gains 'set'. - courseGlide is a capability; courseBlendMs eases the course on every renderer. - Arc segments climb at climbMps; a negative minDtS stays for the aircraft warm-up. - The star catalogue is optional, a hidden column row keeps its motion, and draw.clampState() reports the drape fallback. Checks cover the climb and warm-up, lodGroup ranges, orbits against SGP4 (with and without motionSegments), hidden rows resuming, and sets not answering height queries by default.
This commit is contained in:
1 parent
8db995acfc
commit
b7c26351f7
10 files changed
+597
-21
No files matched your search
Vendored
+10
-3
@@ -15,6 +15,8 @@ export interface Hit {
|
||||
id: string;
|
||||
/** The item's `meta`, as it was given; absent when the item had none. */
|
||||
meta?: Meta;
|
||||
/** The item's `lodGroup`, when it has one: the thing it is a detail level of. */
|
||||
lodGroup?: string;
|
||||
/** The map itself (tiles or globe), rather than a drawn item. */
|
||||
surface: boolean;
|
||||
/** Where the hit is, when the renderer knows it. */
|
||||
@@ -33,9 +35,13 @@ export interface PickWindow {
|
||||
}
|
||||
|
||||
export interface HeightOptions {
|
||||
/** `surface`: tiles where they are drawn, otherwise terrain. */
|
||||
/**
|
||||
* `surface`: tiles where they are drawn, otherwise terrain. Sets drawn
|
||||
* with `includeInHeightQueries` count under `surface` and `tiles`, never
|
||||
* under `terrain`.
|
||||
*/
|
||||
against?: 'surface' | 'terrain' | 'tiles';
|
||||
/** Set ids to see through. */
|
||||
/** Set ids to see through, of those drawn with `includeInHeightQueries`. */
|
||||
exclude?: string[];
|
||||
}
|
||||
|
||||
@@ -44,7 +50,8 @@ export interface HeightSample {
|
||||
height: number;
|
||||
/** 1 for the most detailed data, lower for a coarser level. */
|
||||
confidence: number;
|
||||
source: 'tiles' | 'terrain' | 'ellipsoid';
|
||||
/** `set`: a draw set drawn with `includeInHeightQueries`. */
|
||||
source: 'tiles' | 'terrain' | 'ellipsoid' | 'set';
|
||||
/** The detail answered from: what is drawn now, or (`finestHeights`) the finest available. */
|
||||
lod: 'visible' | 'finest';
|
||||
/** Edge length of the tile answered from, metres, when known. */
|
||||
|
||||
Reference in new issue
Block a user