Drive the camera verbs through the camera and frame ports and take them off the Cesium list

The verbs' motions run on the frame port's preUpdate, which Cesium raises
right after the clock tick they used to run on; a renderer bound after the
verbs started is picked up when the next motion starts. They read the camera
from its port's pose, wait for a flight through its `flying`, and frame an
orbit from the pose with the geo maths.

Globe rotation tests the keyhole fit from the pose and the port's projection
matrix (a centred perspective one) instead of Cesium's frustum, and checks
the Globe View preset by computing its pose rather than cloning a Cesium
camera. The contract's renderer is a 3D WGS84 globe, so the scene-mode and
non-WGS84 refusals go with their tests. At the start the captured pose is
written back through setView only when the camera handoff changed it (a
route's bank levelled), instead of copying the basis into Cesium's camera.

The verbs still read the viewer's canvas for its size and listen on it for
the user's input.
This commit is contained in:
Sameh Khamis committed 2026-11-07 14:37:58 -08:00
1 parent 2c7f882bd2
commit 491c58cdc6
6 files changed
+227 -264

No files matched your search

-1
View File
@@ -5,7 +5,6 @@
"src/app/embed.js",
"src/app/scene.js",
"src/app/viewer.js",
"src/cameraVerbs.js",
"src/cockpitCloudEffects.js",
"src/cyberSonarGpu.js",
"src/cyberSonarScene.js",