Files
FFF_vtt_frozen/docs/adr/0007-see-over-per-target-strict-polygon.md
T
SirStone 8aaf03be04 docs: add ADRs for the durable design decisions
22 ADRs: server-authoritative sight and single egress, per-recipient views/diffs, uniform
nack, opaque ids, 32 px tile unit, wall switches/presets, see-over, thick walls, open-door
gap, typed wall columns, proto 2, build order, zoom clamp, accepted status leak, player
marker, chunked explored, slow-client policy, session/key split, closing message, character
records, global lock, synchronous choice. Each links its tickets and its spec section.
2026-11-17 23:12:04 +01:00

34 lines
1.6 KiB
Markdown

# See-over is a per-target predicate over a strict vision polygon
A token is visible across a low wall when the line from the viewer's effective eye height to the
token's top clears every sight-blocking wall it crosses, strictly (equality is hidden), at every
crossed face of a thick wall. The vision polygon stays strict and stops at every sight wall's line,
so the floor behind a low wall stays unexplored and black even when a figure standing on it is
visible. We chose a per-target predicate rather than a permissive polygon or a per-wall "see-over"
switch because it is the only model that answers "who sees this token" with one pass and keeps
`visibilityPolygon`, `cellsTouched` and the tile gate height-blind.
## Status
accepted
## Alternatives
- A permissive polygon that reveals a band behind the wall: rejected, it fogs floor nobody can see
and complicates the tile gate.
- A `see_over` switch on the wall: rejected, what is visible depends on the viewer's eye and the
target's height, not on the wall alone.
- A distance rule or an "adjacent always visible" exception: rejected, both are rules-engine
judgements.
## Consequences
A visible token may stand on an unexplored cell ("floating on black"); players get a binary answer
and the whole token, never a clipped body or a cover percentage. The GM gets a who-sees-it view with
a visible fraction, computed from data the GM already receives. The independent oracle needs its own
height test, and cells in a low wall's hidden band are oracle-*maybe* for explored/tiles. Movement
never reads height.
## Tickets
#41 (heights and units), #44 (see-over).
## Spec
Current §5.7, §5.9, §5.10 (crossed faces), §7.4.