Commit Graph
4673 Commits
Author SHA1 Message Date
Sameh Khamis 0e6973e0b2 Hand the application the renderer's own engine
An application may draw with a renderer's engine directly beside the
contract. ApplicationHooks gains engine, whose kind names the engine;
Cesium's plugin hands {kind: 'cesium', viewer}. An application draws only
with engines whose kind it knows, and what it draws is its own to add,
update and remove.
2026-11-17 22:19:21 -08:00
Sameh Khamis 96fac711f4 Merge pull request #1802 from bilawalsidhu/fix/bikeshare-coverage
Bike Share marks its covered cities on the globe
2026-11-17 21:33:14 -08:00
Sameh Khamis 8a5f53004f Merge branch 'main' into fix/bikeshare-coverage 2026-11-17 21:20:50 -08:00
Sameh Khamis dc739eb75e Merge pull request #1804 from bilawalsidhu/fix/route-steps-export
Export route steps from sources/places
2026-11-17 21:20:42 -08:00
Sameh Khamis ce3fc4bc83 Merge remote-tracking branch 'origin/main' into fix/bikeshare-coverage
# Conflicts:
#	src/i18n/locales/ar.json
#	src/i18n/locales/de.json
#	src/i18n/locales/es.json
#	src/i18n/locales/fr.json
#	src/i18n/locales/he.json
#	src/i18n/locales/it.json
#	src/i18n/locales/ja.json
#	src/i18n/locales/pt.json
#	src/i18n/locales/ru.json
#	src/i18n/locales/sv.json
#	src/i18n/locales/uk.json
#	src/i18n/locales/zh-CN.json
#	src/i18n/locales/zh-Hant.json
2026-11-17 21:08:44 -08:00
Sameh Khamis c1ca67bdb1 feat(places): export normalizeOsrmSteps from sources/places so any route proxy serves Directions' turn-by-turn steps 2026-11-17 21:05:20 -08:00
Sameh Khamis fa6ae42525 Merge pull request #1803 from bilawalsidhu/shots/click-to-go-reorder
Go to a shot by clicking it; move shots up and down
2026-11-17 21:02:15 -08:00
Sameh Khamis 6d0b58a518 fix(bikeshare): cockpit refusal for flying to a bike share city; transit viewport stub gains showCoverage 2026-11-17 20:51:30 -08:00
Sameh Khamis 529bd1693b Name the changelog entry for its pull request number 2026-11-17 20:44:18 -08:00
Sameh Khamis 69177feb65 Merge remote-tracking branch 'origin/main' into shots/click-to-go-reorder
# Conflicts:
#	src/i18n/locales/ar.json
#	src/i18n/locales/de.json
#	src/i18n/locales/es.json
#	src/i18n/locales/fr.json
#	src/i18n/locales/he.json
#	src/i18n/locales/it.json
#	src/i18n/locales/ja.json
#	src/i18n/locales/pt.json
#	src/i18n/locales/ru.json
#	src/i18n/locales/sv.json
#	src/i18n/locales/uk.json
#	src/i18n/locales/zh-CN.json
#	src/i18n/locales/zh-Hant.json
2026-11-17 20:44:05 -08:00
Sameh Khamis 3fa3756ca4 Merge branch 'main' into fix/bikeshare-coverage 2026-11-17 20:40:53 -08:00
Sameh Khamis 749dc6caee Merge pull request #1801 from bilawalsidhu/fix/logo-returns-to-start
The title logo goes back to live at the starting view
2026-11-17 20:40:49 -08:00
Sameh Khamis 6b78d72f52 Go to a shot by clicking its row; move shots up and down
Clicking anywhere on a shot row (its number, title or summary line), or
pressing Enter or Space on its title, now selects the shot and loads it,
which is what the row's LOAD button did; the LOAD button is gone. In its
place, up and down arrows swap the shot with its neighbour through
SceneDirector.moveShot, which saves the project and publishes shot-moved.
The arrows are disabled at the ends and while the scene plays, and neither
they nor DEL load the shot.
2026-11-17 20:37:29 -08:00
Sameh Khamis ee8ecc8b9e Add the changelog entry for Bike Share's covered cities 2026-11-17 20:35:23 -08:00
Sameh Khamis 8fe4be484f Bike Share marks its covered cities on the globe
Above the height stations draw at, the layer only said "Fly below 48 km to
a covered city" without showing which cities those are. Every system in
the registry now has a marker there: a green, white-ringed dot over its
city, 5 km up so terrain never hides it, shown only while the layer is on
and stations are not drawn.

Clicking a marker flies straight down into its city from 20 km, as an
explicit camera action through the shell's runNavigation, like News and
the weather layers. The markers belong to the layer for picking.
2026-11-17 20:30:04 -08:00
Sameh Khamis cec036da1a Merge branch 'main' into fix/logo-returns-to-start 2026-11-17 20:25:54 -08:00
Sameh Khamis 09cead6a0e Merge pull request #1800 from bilawalsidhu/feat/live-aircraft-ground
Hand the host's live placement the ground under each aircraft
2026-11-17 19:57:40 -08:00
Sameh Khamis 2aded41d99 Add the changelog entry for the logo going back to live 2026-11-17 19:49:26 -08:00
Sameh Khamis f5d3521cda The title logo goes back to live at the starting view
The logo in the title was only a picture. It is now a button, "Back to
live at the starting view": the world clock goes live and the camera flies
to the view the app started from, letting go of whatever it follows as
Reset Globe does.

The shell's returnToStart() does it. It flies to the `homeView` option of
createApplicationControls, which is the start view unless given: an
application that passes `startView` only to carry a view across a rebuild
can keep the logo on its own first view. START_VIEW is exported from
./application/controls for that.

The title heading keeps "GOD'S EYE VIEW" as its name beside the button.
2026-11-17 19:48:46 -08:00
Sameh Khamis 5801ea61ee Add the changelog entry for groundM 2026-11-17 19:46:25 -08:00
Sameh Khamis 46d8a19e98 Hand the host's live placement the ground under each aircraft
A landing is judged by its height above the ground, which the drawn
height alone does not give at a high airport. Records keep the ground
the warm cache already reads (the surface a grounded contact stands on,
the floor under a low contact near the view or tracked) as groundM, in
the render height's reference, and observeLiveAircraft passes it on; NaN
where the layer does not know it.
2026-11-17 19:46:19 -08:00
Sameh Khamis 4c90c065be Merge pull request #1799 from bilawalsidhu/fix/ground-types-plausible
Airport vehicles and ground stations must behave as such
2026-11-17 19:31:20 -08:00
Sameh Khamis 52e2f2978d Merge branch 'main' into fix/ground-types-plausible 2026-11-17 19:22:09 -08:00
Sameh Khamis ef500b7b4b Merge pull request #1798 from bilawalsidhu/fix/weather-test-clock
Pin the clock in the weather panel's identical-updates test
2026-11-17 19:16:48 -08:00
Sameh Khamis fdff181ad6 Add the changelog entry for plausible ground types 2026-11-17 19:13:09 -08:00
Sameh Khamis d9b187bf9a Airport vehicles and ground stations must behave as such
A feed's ZVEH type held for any contact, so a test transponder at 77 m/s
drew as a car driving at airliner speed and a drone at 762 m as a car in
the air; a GRND station reporting 11,880 m drew as a mast in the sky.
ZVEH now holds only for a contact reported on the ground (or with no
altitude) at up to 40 m/s; anything else is classed as an aircraft. A
GRND station stands on the ground whatever height it reports.
2026-11-17 19:13:04 -08:00
Sameh Khamis f032255f54 Pin the clock in the weather panel's identical-updates test
Ages read in whole minutes, so a real clock crossing a minute between the
two identical updates rewrote six lines and failed the test under load.
2026-11-17 19:09:29 -08:00
Sameh Khamis 783d45c148 Merge pull request #1797 from bilawalsidhu/selection/no-tint
Selecting a contact never recolours it
2026-11-17 19:01:16 -08:00
Sameh Khamis ca5e82ae41 Merge remote-tracking branch 'origin/main' into selection/no-tint
# Conflicts:
#	docs/CURRENT-STATE.md
2026-11-17 18:46:23 -08:00
Sameh Khamis a217cb098a Merge pull request #1796 from bilawalsidhu/fix/flights-feed-type
Civil aircraft take their class and model from the feed's type on the first fix
2026-11-17 18:04:07 -08:00
Sameh Khamis 344d002aa4 Name the changelog entry for its pull request number 2026-11-17 17:54:02 -08:00
Sameh Khamis dc9b1042df Merge remote-tracking branch 'origin/main' into selection/no-tint 2026-11-17 17:53:51 -08:00
Sameh Khamis 4c0afcff9e Merge branch 'main' into fix/flights-feed-type 2026-11-17 17:52:37 -08:00
Sameh Khamis 5181c773d8 Merge pull request #1795 from bilawalsidhu/fix/trail-follows-placed-aircraft
The followed aircraft's trail runs to where the aircraft is drawn
2026-11-17 17:49:58 -08:00
Sameh Khamis 59eda7ebe8 Add the changelog entry for selection keeping colour 2026-11-17 17:49:33 -08:00
Sameh Khamis f49352d228 fix(selection): selecting or tracking a contact never recolours it
A tracked aircraft's icon and 3D model keep the colours they have
untracked in Flights and Military Flights (no cyan, no lighter amber);
only the icon's alpha changes (stale fade, clear while its model draws).
A selected vessel or aid keeps its type colour instead of white, and a
tracked satellite's dot keeps its class colour instead of yellow. An
emergency stays red while tracked.
2026-11-17 17:49:33 -08:00
Sameh Khamis 25a3b5c7e3 Add the changelog entry for feed types 2026-11-17 17:41:17 -08:00
Sameh Khamis f2537743ab fix(flights): class an aircraft by its feed's type from the first fix
A civil aircraft was drawn as an airliner until its type lookup answered,
even when its feed already named the type: a helicopter showed the
airliner icon and model for as long as the lookup took.

- Flights classes every contact, and picks its model, by the feed's own
  ICAO type designator from the first fix. A looked-up type replaces it
  once the lookup answers and outranks the feed's on every later poll;
  the lookup still runs and fills the type name and registration.
- A surface emitter category still keeps only a ground type (ZVEH, GRND)
  from the feed.
- State vectors have no type field, so an /api/flights answer may send
  `typeByIcao` beside them, by ICAO address, as `emergencyByIcao` is sent.
  The regional adsb.lol fallback now sends it from each row's `t`.
2026-11-17 17:37:48 -08:00
Sameh Khamis e4e03eb58f Credit the trail fix's changelog entry 2026-11-17 17:36:59 -08:00
Sameh Khamis f985f7611d Add the changelog entry for the trail fix 2026-11-17 17:36:51 -08:00
Sameh Khamis 914b28822a The followed aircraft's trail runs to where the aircraft is drawn
When an application places live contacts itself, the tracked trail was cut at the layer's own delayed clock, which can run minutes behind the placed aircraft: the trail ended far behind the aircraft, and its head was dropped while that clock warmed up. The trail now reads the aircraft's time off its own reports at the point where it is drawn, for Flights and Military Flights.
2026-11-17 17:36:36 -08:00
Sameh Khamis 2f0c01eaa7 Merge pull request #1794 from bilawalsidhu/fix/models-black
Tracked and emergency aircraft models keep their paint instead of turning black
2026-11-17 17:06:31 -08:00
Sameh Khamis 39f2d0b165 Merge remote-tracking branch 'origin/main' into fix/models-black
# Conflicts:
#	docs/CURRENT-STATE.md
2026-11-17 16:54:43 -08:00
Sameh Khamis e9cfd02121 Merge pull request #1793 from bilawalsidhu/fix/panel-speed-reported
Panels show the reported ground speed while a placement waits
2026-11-17 16:53:20 -08:00
Sameh Khamis db27ac6b55 Add the changelog entry for models keeping their paint 2026-11-17 16:51:20 -08:00
Sameh Khamis e83c1672dd fix(models): tracked and emergency tints mix into aircraft paint instead of multiplying it
Aircraft models multiplied their tint into the shaded paint (HIGHLIGHT).
A saturated tint zeroes every channel it lacks: the tracked cyan (no red)
drew a red helicopter solid black, day or night, and a white Cessna one
flat cyan. Tinted models now mix the colour in at 30%
(AIRCRAFT_MODEL_TINT_MIX), so the paint stays readable and the colour
still marks them; untinted models still draw their own colours, and the
IR boost stays flat white.

Neither the multi-part models nor the part shader were involved: old and
new GLBs, with and without the shader, render the same pixels, and an
untinted model at night is lit by the default ambient term.

The new conformance check draw.models.paint draws a model painted with
COLOR_0 under a fixed sun and reads its colour by day, at night, and
under a tint mixed in. The parts test model can now carry vertex paint.
2026-11-17 16:50:52 -08:00
Sameh Khamis 3c3934582e Merge branch 'main' into fix/panel-speed-reported 2026-11-17 16:42:58 -08:00
Sameh Khamis adbcdb8e5a Merge pull request #1785 from bilawalsidhu/models/three-km-true-size
3D models only within 3 km of the camera, at true size
2026-11-17 16:34:47 -08:00
Sameh Khamis 95a38b56bc Add the changelog entry for the panel speed fix 2026-11-17 16:31:25 -08:00
Sameh Khamis d79494ac89 fix(flights): panels show the reported ground speed while a placement waits
A host-supplied placement's speed is how fast the marker is drawn. While it
waits for its fixes to catch up it stands still at 0, so tracked-aircraft
panels and the cockpit readout showed 0 m/s for an aircraft in flight.

displayedKinematics now takes derivedFromPlacement: when the drawn speed is a
placement's, the reported ground speed is shown, and the placement's only when
nothing is reported. The placement speed still drives motion and dead
reckoning. Civil and military tracked descriptors pass it from the new
_drSpeedPlaced scratch, which placeLiveAircraft sets.
2026-11-17 16:31:03 -08:00