Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/facett

facett-map3d/.nornir/flythrough.md

Cinematic flythrough — the watchable OSM 3D flight-sim

What it is

Map3D::with_flythrough(true) turns the static, densest-cluster-framed 3D city into a MOVING flight-sim you just WATCH: a smooth camera that continuously orbits the skyline, cruises in toward street level and pulls back out to a dramatic oblique, and gently tracks across the town — no keyboard. It rides on top of the existing GPU depth-tested render (lit prisms, SSAO, soft shadows, reflective water, HDR sky + bloom), so every "cooler graphics" pass is what you watch the flight through.

Sibling: facett-map3d-flight::CinematicFlight does the same for the full-screen planetary flight layer (6DOF FlightCamera over the real DEM + draped city).

Design (deterministic in the clock, FC-7)

Why this shape

The camera clamps (elevation band, never-below-ground, dolly floor) already guarantee a legal pose, so the flythrough only has to choose a pose per clock — no new render pass, no new resource, no fork of the pipeline. The framing is captured once so the path never loses the town. Pinned-clock purity means a snapshot at a fixed clock is exact and a headless test flies a bit-reproducible path.

Tests

Watch it

DISPLAY=:0 cargo run -p facett-map3d --example flythrough --features wgpu --release

Untick "auto-fly" to grab the orbit controls; re-tick to resume the cinematic flight.

Known gaps / follow-ups