# 3D dungeon-view exercise: run past chargen to the natural spawn point,
# force a full dungeon redraw (REVEAL), and screenshot the textured 3D
# viewport.
#
# Run with the geometry path enabled:
#   UW_ENABLE_3D_GEOMETRY=1 UW_DATA_DIR="$(pwd)/data" UW_FAST_SLEEP=1 \
#     UW_DEMO_FILE=demos/demo_dungeon_room.txt ./build/uw_dbg
# then look at /tmp/dungeon_room.bmp -- ceiling, floor, walls and the
# corridor ahead all render (see git tag milestone-3d-tiles-render and
# the reactions_should_merge un-stub for how the visibility flood + span
# rasterizer got here).
#
# NOTE: TELEPORTing before the REVEAL currently lands the first redraw on
# the pre-teleport tile pointer (a demomode TELEPORT gap), so the cleanest
# repro is the natural spawn with no TELEPORT, as below.

ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
TYPE Avatar
ENTER
ENTER
ENTER
ENTER
ENTER
REVEAL
WAIT 2
REVEAL
WAIT 2
SCREENSHOT /tmp/dungeon_room.bmp
