reikhelm/reikhelm-web
Parley Hatch 5506c38a51 fix(render): kill blown highlights + phantom doors (GPU-verified)
First GPU pass on the rev-3 depth pipeline surfaced two issues; both fixed
and re-rendered clean:

1. Blown near-field highlights (regression from 018909b). Mapping the
   nearest pixel to pure white (nearPlane=nearRaw) made the depth
   ControlNet render overexposed near floors/ceilings at strength 0.85.
   fpv.js: nearPlane=0 (anchor white at the camera; nearest real surface
   ≈gray 214, headroom intact) + minSpan 5→8. Re-bake confirms the blown
   ceiling is gone while recesses still reach black and geometry holds.

2. Phantom doors on closed walls — a PROMPT problem, not the depth map
   (present in old maps too). Opening NOUNS in the positive prompt summon
   a passage onto solid stone: threshold's "gatehouse, portcullis,
   entrance" painted a gate on a blank wall, and at cfg 1.0 the negative
   can't cancel it. bake_atlas.py: THEME_BODY_CLOSED (full theme flavor,
   zero opening nouns) for closed facings + opening-nouns negated on
   closed facings only. r0_N (threshold) now renders clean ashlar wall.
   ("Bricked-up archway" backfires — "archway" alone re-summons the arch.)

Also: sweep_strength.py re-exec-under-venv guard (the venv python is a
symlink to the base interpreter, so the realpath check wrongly skipped
the hop and the montage died after every render); now env-sentinel
guarded. Findings in .dev/2026-06-15-diffusion-pipeline-reliability.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 21:57:49 -06:00
..
depth.js feat(render): real-geometry depth export + first-person explorable atlas 2026-06-02 00:02:14 -06:00
explore-viewer.js feat(render): real-geometry depth export + first-person explorable atlas 2026-06-02 00:02:14 -06:00
explore.html feat(render): real-geometry depth export + first-person explorable atlas 2026-06-02 00:02:14 -06:00
explore.js feat(render): real-geometry depth export + first-person explorable atlas 2026-06-02 00:02:14 -06:00
fpv.js fix(render): kill blown highlights + phantom doors (GPU-verified) 2026-06-15 21:57:49 -06:00
index.html feat(wasm+web): live browser dungeon playground (WASM core + atmospheric renderer) 2026-05-31 00:07:24 -06:00
main.js fix(pipeline): kill dither speckle + atlas geometry lies (post-playtest) 2026-06-12 00:06:46 -06:00
render.js feat(render): real-geometry depth export + first-person explorable atlas 2026-06-02 00:02:14 -06:00
style.css feat(render): real-geometry depth export + first-person explorable atlas 2026-06-02 00:02:14 -06:00