docs(cctv): describe conservative horizon geometry

This commit is contained in:
brandonabyrd committed 2026-11-18 17:13:06 -06:00
1 parent 564383e4b5
commit 5887235894
2 files changed
+3 -4

No files matched your search

+2 -2
View File
@@ -252,8 +252,8 @@ export function createFrames({ state: layerState, services, parts, source }) {
/**
* Whether a camera's monitor plane can be on screen: the mount, the far cap
* and its corners are bounded by one sphere that is tested against the view
* frustum, and at least one of those points must be above the horizon when
* the reference ellipsoid is a reliable occluder for this view.
* frustum, and at least one of those points must be above a conservative
* horizon computed from a shrunken reference ellipsoid.
* Anything this cannot judge (no viewer, a 2D or Columbus scene, no geometry
* yet) counts as visible, so a missing input never blocks a picture.
* @param {Object} record - Camera record.
+1 -2
View File
@@ -275,8 +275,7 @@ test('a nearby plane below the ellipsoid still fetches for a low viewer', () =>
frames.refreshProjectionImage(record);
assert.match(record.projection.image.src, /projTs=/);
// An above-threshold viewer still needs a conservative result when the
// entire plane itself is below the reference ellipsoid.
// The same below-ellipsoid plane remains visible from a higher viewer.
const high = point(0.00135, 0, 1200);
const highDirection = Cesium.Cartesian3.normalize(
Cesium.Cartesian3.subtract(cap, high, new Cesium.Cartesian3()),