git clone https://garage44.eu/jeroen/cartopolis.git.. /docs/shots.toml
# Remembered camera positions: the documentation screenshots, and the subjects
# worth going back and looking at.
#
# cargo shots # the documentation set → docs/img/<name>.png
# cargo shots --only globe,route # just these two
# cargo shots --only tunnels # a subject → docs/img/tunnels/<name>.png
# cargo shots --only all # everything
#
# `cargo shots` is an alias for
# `cargo run -p cartopolis -- --shots`, so it takes the rest of
# the harness's flags too (`--csv /tmp/shots.csv`, `--size 2560x1440`, …).
#
# To add or move a view: fly there in the app, then Dev panel ▸ View ▸ Shot
# presets ▸ "📋 Copy as preset" and paste the block it puts on the clipboard.
# That is the whole point of this file — a viewpoint that was found by hand once
# stays reproducible, instead of being re-flown and re-eyeballed every release.
#
# **A shot with no `group` is a documentation image**: `cargo shots` regenerates
# it, and `docs/img/readme.html` lays the set out as the one contact sheet the
# README shows (`docs/img/README.md` says how to render it). A shot *with* a group
# is a subject — tunnels, bridges, doors, or the scenic `views` the README used to
# carry — reached by `--only <group>`, written into its own directory, and left
# alone by a bare run. Type the group into the dev panel before copying and the
# block arrives with the line already in it. See the section below.
# Applies to every [[shot]] below unless it says otherwise.
#
# The tile source is pinned here because a scripted run never gets one from the
# server handshake, and the built-in fallback is the *raster* OSM basemap — on
# which the `route` shot has no graph to solve against (ADR-037). `CARTO_TILE_URL`
# still overrides this, so a local mirror needs no edit to this file.
tile_url = "https://tiles.cartopolis.org/tiles/osm/{z}/{x}/{y}"
size = "1280x800"
out_dir = "img"
# Chrome-free by default: the subjects below are about geometry. The documentation
# set opts back in, because what it documents is the app, UI and all.
hide_ui = true
mode = "free"
# Cached tiles settle in about a second; give the detail patches longer than the
# interactive default so no image lands mid-stream. In practice the ground shots
# hit the `wait` cap rather than going quiet — the vector-tile streamer keeps
# trickling at city altitude — so `wait` is what actually sets how much of the
# city has arrived. Lower it for a quick iteration, raise it for a fuller frame.
settle = 1.5
wait = 45.0
# ─── The documentation set ───────────────────────────────────────────────────
#
# Six screens of the app, UI open, framed for the contact sheet. **Order matters:**
# every scripted run is one process, and two seeds outlive their shot — a solved
# route stays drawn until it is cleared, and the demo chats' shared location
# stays pinned on the map. So `route` comes after everything a stray line would
# spoil, and `chatworld`, which seeds the location, comes last.
[[shot]]
name = "building"
description = "The town hall (1813, a national monument) and what the public registers say about it: the building card and the glass highlight"
# `--ui building` selects the building nearest the avatar, so the avatar is the
# pointer here. Avatar mode: altitude is the follow distance (capped at 25 m by
# the harness), `look` the orbit elevation and azimuth around the avatar — and
# the elevation is *positive* for a camera above the avatar: a negative one puts
# it under the pavement looking up at the underside of the ground.
mode = "avatar"
# The avatar stands a few metres off the Stadhuis's east corner — the first
# vertex of its register outline, which is what "nearest" measures — so the pick
# does not depend on which BAG cell happens to land first. The camera is out
# over the Grote Markt, east of it, looking back at the facade.
at = [53.21855, 6.56730, 25]
look = [28.0, 100.0]
time = 11.0
fog = 0.08
clouds = 0.2
hide_ui = false
ui = ["building"]
[[shot]]
name = "chat"
description = "Two people meeting on the Grote Markt: speech bubbles over the avatars, the local transcript and the composer"
# `--ui chat` seeds an exchange and stands a second speaker beside the avatar;
# every scripted run is offline, so this is the only way to photograph it.
mode = "avatar"
at = [53.21860, 6.56760, 8]
look = [12.0, 200.0]
time = 12.0
fog = 0.08
clouds = 0.2
hide_ui = false
ui = ["chat"]
[[shot]]
name = "layers"
description = "The Layers panel over the canal ring: the ground source, the overlays and the data credits"
at = [53.2150, 6.5555, 220]
look_at = [53.2195, 6.5610]
time = 10.5
fog = 0.08
clouds = 0.2
hide_ui = false
ui = ["layers"]
[[shot]]
name = "route"
description = "A route across the old town, with the planner's car/bike/walk times"
# South of the route and tilted, so the line sits above the planner sheet
# rather than under it.
at = [53.2075, 6.5690, 1500]
look = [-55.0, 0.0]
time = 11.0
fog = 0.10
clouds = 0.15
hide_ui = false
ui = ["route"]
[[shot]]
name = "globe"
description = "The space tier: Europe and Africa from orbit, live cloud cover, a saved place pinned on Groningen"
mode = "earth"
at = [42.0000, 8.0, 12000000]
look = [-90.0, 0.0]
time = 13.0
clouds = 0.4
hide_ui = false
[[shot]]
name = "chatworld"
description = "A private chat's World view: the points it was planning around pinned on the map, and the other person's shared location"
at = [53.2060, 6.5600, 700]
look_at = [53.2170, 6.5700]
time = 12.0
fog = 0.08
clouds = 0.2
hide_ui = false
ui = ["chatworld"]
# ─── Views ───────────────────────────────────────────────────────────────────
#
# The scenic set the README carried until 2026-10-17: the city, its landmarks
# and the port, chrome-free. `cargo shots --only views` → `docs/img/views/`.
[[shot]]
name = "city"
group = "views"
description = "Groningen city centre, oblique morning view over the 3DBAG roofs"
at = [53.2194, 6.5665, 420]
look = [-22.0, 35.0]
time = 9.5
fog = 0.10
clouds = 0.25
[[shot]]
name = "canals"
group = "views"
description = "Bird's-eye over the Diepenring: the canal ring, its quays and bridges, and the city packed against them"
at = [53.2150, 6.5555, 220]
look_at = [53.2195, 6.5610]
time = 10.5
fog = 0.08
clouds = 0.2
[[shot]]
name = "tunnel"
group = "views"
description = "The southern ring beside DUO: the sunken carriageway in its cut and the lid over it, on measured ground"
at = [53.2043, 6.5738, 95]
look_at = [53.2062, 6.5782]
time = 11.5
fog = 0.06
clouds = 0.2
[[shot]]
name = "station"
group = "views"
description = "Groningen's main station from above: the tracks, the platforms and the rail yard running east"
at = [53.2078, 6.5595, 260]
look_at = [53.2107, 6.5680]
time = 11.0
fog = 0.08
clouds = 0.2
# Landmarks. Each `look_at` is the building's centroid from its BAG outline, so
# the camera is aimed at the register's own idea of where the building is.
[[shot]]
name = "grote-markt"
group = "views"
description = "The Grote Markt from its south-west corner, across the square to the Martinitoren (1482)"
at = [53.2176, 6.5655, 70]
look_at = [53.2190, 6.5680]
time = 15.5
fog = 0.06
clouds = 0.25
[[shot]]
name = "forum"
group = "views"
description = "Forum Groningen (2020), the library and cultural centre on the Nieuwe Markt, from the south-east"
at = [53.2175, 6.5725, 70]
look_at = [53.21881, 6.56981]
time = 11.5
fog = 0.06
clouds = 0.2
# From a distance: the city as a whole, and the port on the Wadden Sea.
[[shot]]
name = "skyline"
group = "views"
description = "Groningen from 3 km south-west: the whole old town and the Martinitoren above it"
at = [53.1935, 6.5350, 450]
look_at = [53.2180, 6.5665]
time = 16.0
fog = 0.10
clouds = 0.3
[[shot]]
name = "city-far"
group = "views"
description = "The city from 4 km north-east and 1.2 km up: the ring roads, the canals and the flat land around"
at = [53.2450, 6.6050, 1200]
look_at = [53.2150, 6.5650]
time = 11.0
fog = 0.0
clouds = 0.3
[[shot]]
name = "eemshaven"
group = "views"
description = "Over Eemshaven's harbour basins towards the sea: quays, the power stations and the wind turbines"
at = [53.4380, 6.8120, 180]
look_at = [53.4500, 6.8450]
time = 12.0
fog = 0.06
clouds = 0.3
[[shot]]
name = "eemshaven-sea"
group = "views"
description = "Eemshaven from over the Wadden Sea, looking back at the port"
at = [53.4600, 6.8550, 120]
look_at = [53.4450, 6.8400]
time = 15.0
fog = 0.06
clouds = 0.3
[[shot]]
name = "city-dusk"
group = "extras"
description = "The same streets at sunset — the day/night curves and warm sun"
at = [53.2160, 6.5680, 550]
look = [-22.0, 285.0]
# 20:30 is already night here; sunset light lives around 18:00–19:00.
time = 18.6
fog = 0.18
clouds = 0.45
[[shot]]
name = "chrome"
group = "extras"
# The interface itself, which nothing in this set documented: `route` is the only
# other preset that opens a panel, and it is framed for the *line* rather than for
# the chrome. Settings ▸ Graphics is the densest screen in the app — headings,
# body copy, switchers, checkboxes, a slider and a scrollbar in one frame — so it
# is the one that shows whether a palette change holds up. Over a city rather
# than over sky on purpose: the panels are translucent, and a screenshot of glass
# against a plain background is a screenshot of nothing.
description = "The interface: Settings over the city, the dock and the map controls"
at = [53.2194, 6.5665, 420]
look = [-22.0, 35.0]
time = 11.0
fog = 0.10
clouds = 0.25
hide_ui = false
ui = ["graphics"]
[[shot]]
name = "horizon"
group = "extras"
description = "Tilted view from 120 km — atmosphere limb over the map tier"
at = [53.0000, 6.5665, 120000]
look = [-8.0, 0.0]
time = 15.0
fog = 0.05
clouds = 0.3
# ─── Inspection views ────────────────────────────────────────────────────────
#
# The shots above are chosen because they look good. The ones below are chosen
# because they *frame a specific piece of geometry*, and they exist so that a
# viewpoint found by hand — usually after several that pointed at the inside of a
# building — is not re-found every time the same subject comes up. Reach for them
# with `--only` (`quays` is all five):
#
# cargo shots --only quay-wall,quay-bank
# cargo shots --only quays
#
# **Look at the image before adding an entry here.** A capture from a bad camera
# position is not a null result, it is a green one that says the feature is
# missing — three of this file's first drafts were a building interior, a wall
# seen from 100° off, and open water with the subject behind the camera.
#
# The elevation layer is no longer a flag — it bakes wherever AHN covers the
# anchor — so these views always stand on measured ground. When a surface looks
# wrong, the question "is this the geometry or the terrain?" is answered by
# comparing against a place the envelope does not reach, not by a toggle.
[[shot]]
name = "quay-wall"
group = "quays"
description = "A surveyed quay wall from over the water, face-on — does it stand at its measured height, and does the ground meet its foot?"
at = [53.222583, 6.581870, 1.6]
look = [-3.0, 0.0]
time = 12.0
clouds = 0.0
rain = 0.0
[[shot]]
name = "quay-oblique"
group = "quays"
description = "The same wall along its length instead of across it. Face-on gives no sense of height; receding, a wall at the wrong height reads at once"
at = [53.222537, 6.581218, 7.0]
look = [-5.0, 278.0]
time = 12.0
clouds = 0.0
rain = 0.0
[[shot]]
name = "quay-bank"
group = "quays"
description = "The study quay across the study pond: bank, water level and far side together. A photograph exists from this spot, so it is the view to hold against reality"
at = [53.223500, 6.581000, 1.8]
look = [-2.0, 146.0]
time = 12.0
clouds = 0.0
rain = 0.0
[[shot]]
name = "canal-water-level"
group = "quays"
description = "The Oosterhamrikkanaal from the quay above it — is the water below the quay, or level with the pavement?"
at = [53.222300, 6.582500, 25.0]
look = [-20.0, 48.0]
time = 12.0
clouds = 0.0
rain = 0.0
[[shot]]
name = "bank-slope"
group = "quays"
description = "Grass banks falling ~1.8 m over 13 m, the most ordinary relief a Dutch city has, and the view that shows whether the elevation layer is reaching the ground at all"
at = [53.223300, 6.581800, 25.0]
look = [-18.0, 135.0]
time = 12.0
clouds = 0.0
rain = 0.0
# ---------------------------------------------------------------------------
# Grouped shots: subjects, not documentation.
#
# The documentation set at the top is ungrouped and is the published set —
# `cargo shots` regenerates exactly those into `docs/img/`. Everything else names
# a `group`, which does three things: `cargo shots --only
# <group>` captures just that subject, the images land in `docs/img/<group>/`
# rather than beside the published ones, and a bare `cargo shots` leaves them
# alone. `cargo shots --only all` is everything.
#
# A group is a subject worth going back and looking at while working on it — the
# mouth of a tunnel, a bridge deck, a door you can walk through. The value is the
# same as the documentation set's: a viewpoint that frames its subject was found
# by hand once, and is not re-flown and re-eyeballed by the next person.
#
# Add one with the dev panel's View tab: type the group, fly there, "📋 Copy as
# preset", paste. Every position below was captured and looked at before it was
# checked in — an unverified viewpoint is worse than none, because a run that
# photographs a car park reads as "the feature is broken".
#
# `bridges` and `doors` are the obvious next two and are deliberately absent.
# Two headless attempts at a door (2026-09-18, Folkingestraat and Oosterstraat at
# eye height, then aimed at the facade bases) came back settled, with interiors
# streaming — 50 rooms, 142 storeys — and **no door legible in the frame**: the
# ground fills the lower two-thirds and the facades show windows only. Aiming
# these by hand is the same problem the tunnels had, where eleven cameras missed
# by up to 178 m (`docs/notes/tunnels.md`).
#
# What would make it tractable: there is no metric that says *a door is in this
# frame*. `building_doors` is a count of doors drawn across every streamed cell —
# 80,579 over the city centre — so it is true everywhere and vouches for nothing.
# `interior_rooms` has the same shape. A framing metric, the way `tunnel_ahead_m`
# answers for a place rather than for the world, is the thing to add first; then
# a door shot can assert it rather than being eyeballed.
# ---------------------------------------------------------------------------
[[shot]]
name = "tunnel-approach"
group = "tunnels"
description = "Ring Zuid from 180 m outside the mouth, looking along the carriageway as it goes under. The view that shows a tunnelled road drawn over the ground it runs under: the depth error grows with distance, so a close shot of the same mouth looks right either way"
at = [53.205830, 6.577222, 25.0]
look = [-5.9, 48.0]
time = 12.0
fog = 0.0
clouds = 0.0
rain = 0.0
[[shot]]
name = "tunnel-overhead"
group = "tunnels"
description = "Straight down onto the covered stretch: the lid filled back in over the survey's trench, the pavement beside the carriageway, and whether the two tear through each other on measured ground"
at = [53.206906, 6.579238, 80.0]
look = [-50.0, 48.0]
time = 12.0
fog = 0.0
clouds = 0.0
rain = 0.0
[[shot]]
name = "tunnel-far"
group = "tunnels"
description = "The same mouth from 2.2 km. Deliberately distant: a per-vertex depth bias is spent as a fraction of the fragment's own depth, so a rung that is invisible up close pulls the deck metres toward the camera from here"
at = [53.193760, 6.554599, 260.0]
look = [-5.1, 48.0]
time = 12.0
fog = 0.0
clouds = 0.0
rain = 0.0
[[shot]]
name = "ring-relief"
group = "tunnels"
description = "The ring road in its cutting from 320 m, where the measured ground falls ~9 m and every flat sheet over it has to agree about where it is"
at = [53.211761, 6.584378, 320.0]
look = [-12.0, 233.0]
time = 12.0
fog = 0.0
clouds = 0.0
rain = 0.0