mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Draw the transit trail through the draw port and take it off the Cesium list
The selected vehicle's trail is now two draw-port line sets instead of Cesium primitives. The body is each run of joined history subdivisions as draped lines in two lanes, a dark 5 px backing under the 3 px mode colour. A subdivision shows once the vehicle has passed it and fades with its age; both are written in place as segment shows and colours, once a second or at a crossing, and a new mode colour is written the same way. The head is the subdivision the vehicle is on, in the same two lanes, revealed up to the vehicle with revealFraction: it is drawn anew only at a crossing. Shows are written only when they change. The transit tests bind a fake draw port, and the transit QA script finds the trail's primitives by their draw set.
This commit is contained in:
1 parent
e8872ab419
commit
87c80856c2
7 files changed
+495
-568
No files matched your search
@@ -12,7 +12,6 @@
|
||||
"src/data/aircraftModelLayer.js",
|
||||
"src/data/aircraftMotionRegime.js",
|
||||
"src/data/cctvGizmo.js",
|
||||
"src/data/contactTrailRenderer.js",
|
||||
"src/data/detection.js",
|
||||
"src/data/focusDeemphasis.js",
|
||||
"src/data/geoFileImport.js",
|
||||
|
||||
Reference in new issue
Block a user