Files
openclaw-dnd-city-visualiza…/references/matrices.md
T

8.1 KiB

Matrices: time x weather, population x time, snow levels, seasons

A matrix is what lets the GM show the place as it really is at the hour and in the weather the party walks in. Every cell is an edit of an accepted keeper of the same camera, never a fresh re-surface, so geometry carries.

The exterior 9-square

Day | Sunset | Night x Dry | Rain | Snow (light) = 9 cells, rendered for the A and B cameras (18 frames) when feasible. The fixed set keeps every establishment comparable; ad-hoc condition sets ("golden hour", "deep winter") break that. Label lock: Dry = no rain, wet or snow effects; Rain = wet sheen, no snow; Snow = snow load, no rain.

Build order per camera:

  1. Day Dry = the accepted re-surface pick (the keeper).
  2. Day Rain and Day Snow (light) = weather edits of the keeper.
  3. Sunset and Night of each weather = relights of that weather's Day pick (a light-only edit). Relights hold geometry (ECC scale within 0.15 %, shift under 2 px against the Day pick) and carry the snow over; fresh edits do not. No approved Night keeper? Make Night Dry as a light-only relight of Day Dry with the dusk wording.
  4. Storm cells, if your calendar has them: Blizzard, Heavy Blizzard, Ice Fog. A heavy storm that drifts under a relight should be intensified from the gate-passing same-time Blizzard pick, not relit from Day.

Snow has three levels

level depth must show file token
Snow (light) a thin lying fall, "no deeper than a finger" shapes and heights unchanged (it keeps the geometry gate honest) Snow / Snow (light)
Snow (medium) at least knee-deep, ~0.5 m visible wind drifts on the lee side of walls Snow (medium)
Snow (heavy) 1-1.5 m drifts and hand-shoveled walkways with banks along the major streets and to each door Snow (heavy)

Display fallback chain when a place lacks a level: heavy -> medium -> light. Roof loads match the depth. One prevailing wind per site across every camera and cell. The thin-fall clause is for the calm Snow (light) cell ONLY: storm cells want roofs loaded, and they use the wall-band gate instead of a thinner storm.

Route clearance classes (medium and heavy only)

class routes treatment
A kept main streets, market, gate and bridge approaches, the main work road hand-shoveled walkways with banks (heavy) or trampled, sledge-packed snow (medium). Never "plowed": there are no plows in the setting; packed snow stays on the surface
B trodden side lanes, yards one narrow foot-trodden path to each door, nothing wider
C unkept roads between settlements and to outlying farms NOT cleared: at most a ski or sledge track, snow poles or cairns mark the line, can drift shut. This is the isolation
D untouched wilderness trails pristine, no tracks at all; markers buried or just showing

Deep snow has to feel like winter isolation. A cleared trail kills the menace of a dangerous path and flattens the geography. Store the class per route in the site's data; the prompt states it per route; a walkway on C/D fails the cell. The prompt alone cannot bury a walled path: pre-bury it in IMAGE 1 (inpaint the route pixels from the texture beside them) before the edit. Table consequence worth telling the GM: horses founder in medium and deeper; travel off class-A routes is by ski, snowshoe or sledge.

Foliage follows the season, no new axis

Read the season off the existing cells: a terrace bar open in Dry and furnished in Rain implies summer (deciduous trees in full leaf); shut in Snow implies winter (bare). Put "whether the deciduous trees are in leaf or bare, and the color of the grass" in the edit's CHANGE ONLY list, keep "DO NOT add or remove a tree", and say the leaves fill the tree's own crown outline "and no bigger". Conifers unchanged. Leafing out cost no gate passes. If a matrix carries no season information, default to summer and file it as an open question.

Population by weather (exteriors)

  • Dry: people out at plausible density, in period clothing.
  • Rain and snow: considerably fewer but never empty: a hurried figure, someone under the eaves, a lit window.
  • Night: fewer people, lit windows; lanterns carried by the SAME people (the noun "lantern" spawns a new person, so use a headcount lock).
  • Storms: a hooded pair with a lantern against the warm, populated interior glowing behind the windows. That contrast is the look.
  • Judge density relationally against the same hour's Dry cell; the GM's words define it, not exact counts.
  • Which people a cell keeps is decided BEFORE the edit by which proxies the plate carries (the renderer removes people cleanly but cannot be told which to keep). Never keep a proxy mostly hidden behind another without its occluder; it comes back as a bust or a ghost.

Population x time-of-day matrix (venues with people in them)

For every pub, tavern, inn, dining hall, taproom, and any shop with a counter, sized by tier (references/effort-tiers.md):

tier hours x densities frames per camera
1 Morning, Afternoon, Evening, Late Night x Quiet, Moderate, Packed; add Empty only for storyline hubs 12 (16)
2 Day, Sunset x Quiet, Moderate, Packed 6
3 its peak hour x Quiet, Packed 2
4 none 0

Camera: one "reveal from the door" view of the room. Recipe: IMAGE 1 = the canon empty master as "the set, same tripod at another sitting; ADD ONLY PEOPLE"; name the tables by frame position and put every party on one; give each density a number (~5 / ~15 / ~35 / ~70 for a big hall) but brief reviewers relationally. Locks that held: NEAR-FOREGROUND (the bottom third shows only the empty near end of the foreground table; the crowd begins halfway down it; nobody cut off by the bottom edge) fixes guests sitting with their backs to the lens; LOWER-RIGHT (the empty floor before the edge post) stops the packed crowd piling against the frame edge. About 1 take in 6 comes back reframed; a structure-band gate (the thresholds measured on the top ~44 % of the frame, rafters and windows, which people never touch) catches it. Zoom-check the master's props before the population wave: people inherit the master's defects, and fixing the master (one region composited from a clean sibling) is cheaper than fixing 12 cells.

A winter version of the population matrix is a later problem; build the summer one first.

Matrix traps measured in use

  • Landmark creep: a view facing AWAY from the river or the castle grew them back in 3 of 8 cells; the gate is blind to distant low-texture tiles. Lock by naming the absence: "the view looks WEST, away from the river: there is NO river, NO lake, NO water of any kind, NO castle; they are behind the camera." 5/5 after.
  • Furniture persistence in a "shut" state: the bar counter survived in every take because the prompt only said it was gone. Say what stands there instead: "under the roof there is NOTHING: no counter, no shelves, no casks; only the bare snowy deck and the balustrade beyond." A take that keeps the counter can pass the geometry gate precisely because it kept it; do not let the gate pick.
  • Guests on the shut terrace: "2-3 guests on the balcony" in a winter cell put them on the terrace above it. The noun beats the negation. State WHERE everyone is as a positive fact (on the street, the quay, the balcony "one full story below the terrace") and repeat the terrace's untrodden snow.
  • "Steam vents along the river front" become pale ghost figures. A recurring see-through figure is usually the steam clause.
  • "Several people" came back as 15-27. Use a HEADCOUNT lock ("no more than about N out of doors").
  • Dry cells carry the most defects (fused pairs, ghosts, half-bodies on newel posts). Budget re-rolls or a local fix for them.
  • Local fix when a take passes every gate but carries one small defect: inpaint a guide, run edit-with-itself on the guide (4 variants), register and color-match each locally, composite through your own feathered radial mask so every pixel outside it stays byte-identical, re-gate, eye-check at 4-6x. One or two of four come back clean. Always disclose fixed cells.