Scale, fade and show icons by eye distance

Cesium icon sets now draw an item's scaleByDistance, fadeByDistance and
displayRange, as point sets already draw their curves, and drop them again
when a restyle in place leaves them out. An empty display range shows the
icon nowhere; a curve whose far end is not past its near one is left out
rather than refused mid-update. Cesium eases between a curve's ends rather
than interpolating linearly, as it always has for points.

The reference renderer now scales an item's pick size by its distance curve
and leaves out items faded or scaled to nothing, and the draw.icons.distance
conformance check covers all three fields.
This commit is contained in:
Sameh Khamis committed 2026-11-06 22:25:07 -08:00
1 parent 1aa280b43f
commit ee6b9e49aa
5 files changed
+147 -6

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ export const CESIUM_CHECKS = new Set([
'draw.atlas',
'draw.clampState',
'draw.drillPick',
'draw.icons.distance',
'draw.icons.update',
'draw.ids',
'draw.models',