Technical reference

Panel windows (VCockpit on LU_PANEL)

docs/PANEL.md

Status: build 26, 2026-11-04. The 3D cockpit still samples the old X-Plane panel texture (LU_PANEL, 2048 x 2048) for the small windows that are not display units. The Panel instrument (avionics/src/instruments/Panel/) draws Zibo's own PANEL_3D groups for them there, as the DUs do (tools/msfs/build_du.py Panel, program panel.json, 186 datarefs, 117 bitmaps):

Group Windows Sources
AP displays MCP course L / R, IAS / MACH (with the flashing A / 8), heading, altitude, V/S MCP dials (mcp/), AFDS L:vars (V/S dial and show, digits A / 8, show IAS)
Color1 / Color2 displays NAV 1 / 2, radio tuning panels (COM 1 / 2 / 3), ADF 1 / 2, transponder NAV: nav/; COM, ADF, squawk: MSFS radios
CLOCKS captain / FO clocks MSFS zulu / local time and date; chrono / ET pending (clock not rewritten)
MMR Captain / FO MMR active / standby active: nav/; standby digits pending
LAT LON IRS display unit present position from MSFS; keypad / modes pending (IRS display unit not rewritten)
Electrical Panel DC / AC meter electrics (volts, amps, frequency, warm-up, meter knobs)
Pressurisation, SLATS, OXY, New Group digital pressurisation, slat panel, oxygen test, outflow valve pending, outflow valve from the AFDS
Backlight, LIGHT TEST backlight glow, test patterns lighting knobs at Zibo's default positions; light test pending

Each window shows by Zibo's own conditions (power, test, colour options), so the instrument has no power gate. Sources: avionics/src/du/PanelSources.ts (kinds as in DuSource). Not drawn yet: the HUD and the EFB (also on this texture). Verification: avionics/test/panel_data.test.ts (every dataref has a source; the exact ones reproduce Zibo's values of xphost/test/sci/panel_trace.json: APU power-up, MCP knobs turned, three flight states); render node avionics/scripts/render-du.mjs Panel <dir>.