mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 11:42:21 +00:00
ISS live telemetry, STATION and LIVE sections, Tiangong model, drawn through the renderer's draw port
Builds on the ISS 3D model (PR #1690) and brings it onto main's renderer seam: the station models are items of a `models` draw set, posed by heading, pitch and roll from the station's flight axes (`headingPitchRollOfAxes`), with the camera, canvas and clicks read from the renderer's ports; no satellites file reaches Cesium. The joint drivers write column-major matrices into node poses the model part keeps, for a renderer that can pose nodes; until the draw contract has that member the models draw rigid. - ISS joints take their angles from NASA's ISSLive telemetry, relayed by the server behind ISS_TELEMETRY_ENABLED. - STATION and LIVE sections of Context replace the floating command panel and player; both collapse like the Radio section. - Cockpit rides the ISS from mounts on its model; the LIVE page in the Cockpit briefing. - Tiangong as a second station model, with computed joints. - Installations: a label-box click selects the site.
This commit is contained in:
1 parent
fd3ca679ec
commit
9cc077964f
103 files changed
+12033
-1775
No files matched your search
@@ -1952,6 +1952,61 @@ html:not([lang='en']) .cockpit-brief-tabs button {
|
||||
color: #fff;
|
||||
outline: none;
|
||||
}
|
||||
/* The LIVE tab is in the markup whether or not a stream is on offer. */
|
||||
.cockpit-brief-tabs button[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* The briefing's LIVE page: the LIVE section's parts (live.css) in the
|
||||
card's measure. */
|
||||
.cockpit-live-subject {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
color: #fff;
|
||||
font-size: 9px;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
.cockpit-live-subject strong {
|
||||
overflow: hidden;
|
||||
font-weight: 500;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.cockpit-live-subject .live-badge {
|
||||
flex: none;
|
||||
font-size: 7px;
|
||||
}
|
||||
.cockpit-live-pick {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
margin: 5px 0 6px;
|
||||
}
|
||||
.cockpit-live-pick .live-stream-title {
|
||||
font-size: 8px;
|
||||
}
|
||||
.cockpit-live-pick .live-step .material-symbols-outlined {
|
||||
font-size: 14px;
|
||||
}
|
||||
.cockpit-live-status {
|
||||
margin: 5px 0 0;
|
||||
color: rgba(244, 251, 255, 0.7);
|
||||
font-size: 7px;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.cockpit-live-credit {
|
||||
margin: 4px 0 0;
|
||||
color: rgba(182, 226, 241, 0.72);
|
||||
font: 600 7px/1.2 var(--font-mono);
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.cockpit-live-credit a {
|
||||
color: inherit;
|
||||
}
|
||||
.cockpit-signal-window[data-layout-mode='rail-right-constrained'] {
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
@@ -482,6 +482,21 @@
|
||||
color: #fff;
|
||||
outline: none;
|
||||
}
|
||||
/* A station view's arrows either side of its name. */
|
||||
.cockpit-orbital-views .cockpit-orbital-look-readout {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
}
|
||||
.cockpit-orbital-view-step {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1px 4px;
|
||||
line-height: 1;
|
||||
}
|
||||
.cockpit-orbital-view-step .material-symbols-outlined {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
/* The Cockpit HUD in orbit (#cockpit-hud[data-subject='satellite']): the
|
||||
orbital readout names the satellite, so the topline keeps only the
|
||||
|
||||
@@ -1,150 +0,0 @@
|
||||
/* NASA's ISS live video while the ISS is selected (src/layers/satellites/issLive.js).
|
||||
The project's floating video window: the Québec CCTV player's `qci-` look
|
||||
(quebecCctvOverlay.css), draggable by its header. Only its starting place
|
||||
and the iframe's details are set here: bottom right, above the timeline,
|
||||
300 px wide so it clears the right rail. */
|
||||
.qci-panel.iss-live-panel {
|
||||
top: auto;
|
||||
right: 16px;
|
||||
bottom: 96px;
|
||||
width: min(300px, calc(100vw - 32px));
|
||||
}
|
||||
|
||||
.iss-live-title {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.iss-live-dot {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 50%;
|
||||
background: #ff4444;
|
||||
box-shadow: 0 0 6px #ff4444;
|
||||
}
|
||||
|
||||
.iss-live-panel .qci-live {
|
||||
border: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* The ISS command panel (src/layers/satellites/issCommand.js): the same
|
||||
floating window, bottom left, collapsed to its header until opened. */
|
||||
.qci-panel.iss-command-panel {
|
||||
top: auto;
|
||||
right: auto;
|
||||
left: 16px;
|
||||
bottom: 96px;
|
||||
width: min(250px, calc(100vw - 32px));
|
||||
}
|
||||
|
||||
.iss-command-title {
|
||||
min-width: 0;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
.iss-command-body {
|
||||
max-height: calc(100vh - 230px);
|
||||
overflow-y: auto;
|
||||
padding: 8px 10px 10px;
|
||||
}
|
||||
|
||||
.iss-command-body[hidden],
|
||||
.iss-command-manual[hidden],
|
||||
.iss-command-panel .qci-note[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.iss-command-modes {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 6px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.iss-command-mode,
|
||||
.iss-command-button {
|
||||
padding: 5px 7px;
|
||||
border: 1px solid #2a5d78;
|
||||
border-radius: 5px;
|
||||
background: #12283a;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.iss-command-mode.is-active,
|
||||
.iss-command-button.is-active {
|
||||
border-color: #3eabbc;
|
||||
background: #1b4a5c;
|
||||
}
|
||||
|
||||
.iss-command-mode:focus-visible,
|
||||
.iss-command-button:focus-visible,
|
||||
.iss-command-slider input:focus-visible {
|
||||
outline: 2px solid #7fe3f3;
|
||||
outline-offset: 1px;
|
||||
}
|
||||
|
||||
.iss-command-panel .qci-note {
|
||||
margin: 6px 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.iss-command-group {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.iss-command-label {
|
||||
margin-bottom: 4px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.iss-command-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.iss-command-sliders {
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.iss-command-slider {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.iss-command-slider span {
|
||||
flex: 0 0 96px;
|
||||
}
|
||||
|
||||
.iss-command-slider input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.iss-command-zoom {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-bottom: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.iss-command-zoom[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.iss-command-status {
|
||||
margin: 0 0 4px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.iss-command-status[hidden],
|
||||
.iss-command-status:empty {
|
||||
display: none;
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
/* The LIVE section inside Context: a live stream in the platform's player. */
|
||||
|
||||
#live-panel[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* A section inside Context, laid out as the Radio section is: its +/-
|
||||
hides and shows the body, and it goes with the Context panel. */
|
||||
#live-panel {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
margin-top: 10px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid rgba(65, 220, 231, 0.16);
|
||||
}
|
||||
.live-panel-inner {
|
||||
position: relative;
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
padding: 10px;
|
||||
border: 1px solid rgba(65, 220, 231, 0.18);
|
||||
border-radius: 8px;
|
||||
background: rgba(2, 15, 20, 0.42);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
|
||||
}
|
||||
#live-panel .panel-header {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
#right-context-rail #global-context-panel:not(.collapsed) #live-panel {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
#live-panel.collapsed .live-panel-inner > :not(.panel-header),
|
||||
#global-context-panel.collapsed #live-panel {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.live-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.12em;
|
||||
}
|
||||
.live-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.28);
|
||||
box-shadow: none;
|
||||
flex: none;
|
||||
}
|
||||
.live-dot.waiting {
|
||||
background: #ffb547;
|
||||
}
|
||||
.live-dot.on-air {
|
||||
background: #ff3b3b;
|
||||
box-shadow: 0 0 6px rgba(255, 59, 59, 0.9);
|
||||
animation: live-blink 1.2s ease-in-out infinite;
|
||||
}
|
||||
@keyframes live-blink {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.25;
|
||||
}
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.live-dot.on-air {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
.live-subject {
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.08em;
|
||||
opacity: 0.85;
|
||||
margin: 2px 0 6px;
|
||||
}
|
||||
.live-pick {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.live-stream-title {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
.live-stream-title small {
|
||||
font-weight: 400;
|
||||
opacity: 0.7;
|
||||
}
|
||||
.live-step {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1px 4px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 7, 12, 0.6);
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
line-height: 1;
|
||||
}
|
||||
.live-step .material-symbols-outlined {
|
||||
font-size: 18px;
|
||||
}
|
||||
.live-step:hover,
|
||||
.live-step:focus-visible {
|
||||
border-color: var(--cockpit-accent, #00dcff);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* The screen keeps a 16:9 box whether a player is in it or not. */
|
||||
.live-screen {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
background: #000;
|
||||
border: 1px solid rgba(255, 255, 255, 0.18);
|
||||
border-radius: 2px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.live-player-host,
|
||||
.live-player-host iframe {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
}
|
||||
.live-screen:not(.active) .live-player-host {
|
||||
display: none;
|
||||
}
|
||||
.live-card {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
padding: 12px;
|
||||
text-align: center;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.08em;
|
||||
background:
|
||||
radial-gradient(
|
||||
circle at 50% 40%,
|
||||
rgba(0, 220, 255, 0.08),
|
||||
transparent 60%
|
||||
),
|
||||
#050a0f;
|
||||
}
|
||||
.live-card-dot {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
.live-card.offline .live-card-dot {
|
||||
background: #ff3b3b;
|
||||
opacity: 0.6;
|
||||
}
|
||||
.live-card button {
|
||||
padding: 3px 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.35);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 7, 12, 0.7);
|
||||
color: #f4fbff;
|
||||
font: inherit;
|
||||
letter-spacing: 0.12em;
|
||||
cursor: pointer;
|
||||
}
|
||||
.live-card button:hover,
|
||||
.live-card button:focus-visible {
|
||||
border-color: var(--cockpit-accent, #00dcff);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.live-status {
|
||||
margin: 6px 0 0;
|
||||
font-size: 11px;
|
||||
opacity: 0.85;
|
||||
}
|
||||
.live-credit,
|
||||
.live-privacy {
|
||||
margin: 6px 0 0;
|
||||
font-size: 10px;
|
||||
opacity: 0.75;
|
||||
}
|
||||
.live-credit a {
|
||||
color: inherit;
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
/* The STATION section inside Context: a space station's moving parts. */
|
||||
|
||||
#station-panel[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* A section inside Context, laid out as the Radio section is: its +/-
|
||||
hides and shows the body, and it goes with the Context panel. */
|
||||
#station-panel {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
margin-top: 10px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid rgba(65, 220, 231, 0.16);
|
||||
}
|
||||
.station-panel-inner {
|
||||
position: relative;
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
padding: 10px;
|
||||
border: 1px solid rgba(65, 220, 231, 0.18);
|
||||
border-radius: 8px;
|
||||
background: rgba(2, 15, 20, 0.42);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
|
||||
}
|
||||
#station-panel .panel-header {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
#right-context-rail #global-context-panel:not(.collapsed) #station-panel {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
#station-panel.collapsed .station-panel-inner > :not(.panel-header),
|
||||
#global-context-panel.collapsed #station-panel {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.station-badge {
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.12em;
|
||||
}
|
||||
.station-subject {
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.08em;
|
||||
opacity: 0.85;
|
||||
margin: 2px 0 8px;
|
||||
}
|
||||
.station-modes {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.station-mode,
|
||||
.station-button {
|
||||
padding: 3px 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 7, 12, 0.6);
|
||||
color: #f4fbff;
|
||||
font: inherit;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.12em;
|
||||
cursor: pointer;
|
||||
}
|
||||
.station-mode {
|
||||
flex: 1;
|
||||
font-weight: 700;
|
||||
}
|
||||
.station-mode.is-active,
|
||||
.station-button.is-active {
|
||||
border-color: var(--cockpit-accent, #00dcff);
|
||||
color: var(--cockpit-accent, #00dcff);
|
||||
}
|
||||
.station-mode:focus-visible,
|
||||
.station-button:focus-visible {
|
||||
outline: 1px solid var(--cockpit-accent, #00dcff);
|
||||
outline-offset: 1px;
|
||||
}
|
||||
|
||||
.station-telemetry {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin: 0 0 6px;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.station-telemetry-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
flex: none;
|
||||
}
|
||||
.station-telemetry[data-tone='live'] .station-telemetry-dot {
|
||||
background: #3bff7a;
|
||||
box-shadow: 0 0 6px rgba(59, 255, 122, 0.8);
|
||||
}
|
||||
.station-telemetry[data-tone='waiting'] .station-telemetry-dot {
|
||||
background: #ffb547;
|
||||
}
|
||||
.station-telemetry[data-tone='manual'] .station-telemetry-dot {
|
||||
background: var(--cockpit-accent, #00dcff);
|
||||
}
|
||||
.station-note {
|
||||
margin: 0 0 6px;
|
||||
font-size: 10px;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.station-group {
|
||||
margin: 8px 0 0;
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
.station-label {
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.12em;
|
||||
opacity: 0.85;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.station-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
.station-sliders {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
.station-slider {
|
||||
display: grid;
|
||||
grid-template-columns: 7em 1fr 3.5em;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 10px;
|
||||
}
|
||||
.station-slider output {
|
||||
text-align: right;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.station-zoom {
|
||||
margin-top: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
Reference in new issue
Block a user