Commit Graph
2 Commits
Author SHA1 Message Date
Dejvino d69c387f29 tron-room-demo: render the whole pipeline in RGB565 (real-HW color space)
The sketch now draws into a 16-bit 320x240 fb565 — the ST7789 panel's
native format — using the RGB565 palette constants straight from
nd_layout.h (C_FLOOR, C_WALL, C_COVER, C_DOOR, C_AIRLOCK, C_LINK,
C_PACKET, node colors). Shading/fog are integer fixed-point on the
5/6/5 channels so the banding matches what the MCU would produce; the
desktop window sees a 565-to-8888 expansion blit that stands in for the
SPI push (which ships 565 as-is on hardware).
2026-11-16 21:49:31 +01:00
Dejvino 897361c881 Add tron-room-demo: orbiting top-down 3D view of the NetDeck demo map
Copy of the tron-demo emulator-only template with a new RoomView sketch
that renders the real demo floorplan (src/netdeck/nd_demomap.h, consumed
through MapSource) as an orbiting pseudo-3D flythrough: extruded shaded
boxes for walls/crates/door/terminal, network pylons with link packets,
patrolling entities, distance fog and checker floor. Makefile adds an
include path to ../src/netdeck instead of copying the map headers.
2026-11-16 21:45:56 +01:00