New SR_LIVE sandbox scene: CharacterVisual composited in a 3D greybox world derived from server snapshots. Per-leg constant-velocity interpolation keyed to the stance throttle, 'server feet / client eyes' facing (wire octant while moving, client aim octant idle), cadence-synced gait state machine on AnimationPlayer custom blends, D-148 orthographic follow camera (-30deg default, T-cycle presets), sim-space grid shader, camera-side wall cutaway, accumulating never-evict tile store with four-state visibility tint. Additive seams only: InputMapper.facing_angle_provider (2D path unchanged), CharacterVisual.play_animation blend_time param + get_animation_player(). Visual harness gains per-scenario scene field + SR_AUTOPILOT input scripting. 210 new gdUnit assertions across five suites; verified live (230/230 total, clean smoke, screenshot at .cache/screenshots/locomotion_idle_live.png). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
145 lines
4.9 KiB
JSON
145 lines
4.9 KiB
JSON
{
|
|
"resolution": [960, 540],
|
|
"settle_frames": 30,
|
|
"tolerance": 5,
|
|
"max_diff_pct": 0.5,
|
|
"golden_dir": "client/tests/golden/visual",
|
|
"scenarios": {
|
|
"fog_3state": {
|
|
"ticks": 5,
|
|
"description": "All 3 fog states — clear/explored/unexplored"
|
|
},
|
|
"fog_diagonal": {
|
|
"ticks": 10,
|
|
"description": "Diagonal LOS boundary (staircase regression target)"
|
|
},
|
|
"fog_boundary": {
|
|
"ticks": 8,
|
|
"description": "Explored/unexplored transition centered in frame"
|
|
},
|
|
"fog_zone_tint": {
|
|
"ticks": 5,
|
|
"description": "Bar zone warm amber tint in explored fog (D-046)"
|
|
},
|
|
"fog_debug": {
|
|
"ticks": 5,
|
|
"description": "Raw exploration overlay (green/blue/red)"
|
|
},
|
|
"npc_in_fog": {
|
|
"ticks": 5,
|
|
"description": "NPC sprite visible above fog overlay (D-033)"
|
|
},
|
|
"hud_default": {
|
|
"ticks": 1,
|
|
"description": "Full HUD: time, Careful stance (green), minimap, monologue"
|
|
},
|
|
"dialogue_open": {
|
|
"ticks": 3,
|
|
"description": "Dialogue box + interaction prompt + key bar positioning"
|
|
},
|
|
"dialogue_with_monologue": {
|
|
"ticks": 4,
|
|
"description": "Confrontation beat: dialogue + monologue simultaneously"
|
|
},
|
|
"minimap_stance": {
|
|
"ticks": 2,
|
|
"description": "Minimap + Sprint stance indicator overlap (top-right)"
|
|
},
|
|
"cursor_menu": {
|
|
"ticks": 3,
|
|
"description": "Cursor rendering over dialogue option"
|
|
},
|
|
"fog_live_replay": {
|
|
"ticks": 1,
|
|
"description": "Replay real server hub snapshot — full pipeline fog test",
|
|
"replay_snapshot": "tests/fixtures/gauntlet/hub_spawn.msgpack"
|
|
},
|
|
"fog_theater_replay": {
|
|
"ticks": 1,
|
|
"description": "Replay Fog Theater — large room with NPCs at varying distances",
|
|
"replay_snapshot": "tests/fixtures/gauntlet/fog_theater.msgpack"
|
|
},
|
|
"fog_boundary_replay": {
|
|
"ticks": 1,
|
|
"description": "Replay hub after movement — explored/visible tile boundary",
|
|
"replay_snapshot": "tests/fixtures/gauntlet/hub_after_movement.msgpack"
|
|
},
|
|
"fog_live_hub": {
|
|
"ticks": 10,
|
|
"live": true,
|
|
"description": "Live server: Hub spawn fog — real pipeline regression test"
|
|
},
|
|
"implant_pending": {
|
|
"ticks": 1,
|
|
"description": "ImplantPending — diegetic Layer-1 generating indicator (#960)"
|
|
},
|
|
"atlas_gen_open": {
|
|
"ticks": 240,
|
|
"description": "Live: real atlas opener (HudGroups) + GJ71c Layer-1 overlays (#960)"
|
|
},
|
|
"locomotion_idle_live": {
|
|
"ticks": 90,
|
|
"live": true,
|
|
"scene": "res://scenes/locomotion_sandbox.tscn",
|
|
"description": "Live 3D sandbox: character idle at Hub spawn — greybox floor, -30 deg frame (T-1088)"
|
|
},
|
|
"locomotion_cutaway": {
|
|
"ticks": 540,
|
|
"live": true,
|
|
"scene": "res://scenes/locomotion_sandbox.tscn",
|
|
"env": { "SR_AUTOPILOT": "stance_up,south:6.0" },
|
|
"description": "Live 3D sandbox: autopilot walks south into a wall — cutaway stub golden (T-1088)"
|
|
}
|
|
},
|
|
"flows": {
|
|
"flow_dialogue": {
|
|
"interval": 3,
|
|
"steps": [
|
|
{ "action": "MoveSouth", "label": "approaching NPC" },
|
|
{ "action": "Interact", "label": "dialogue opens" },
|
|
{ "action": "wait", "label": "reading options" },
|
|
{ "action": "select_option_1", "label": "option selected" },
|
|
{ "action": "wait", "label": "NPC response" },
|
|
{ "action": "MoveNorth", "label": "walking away" }
|
|
]
|
|
},
|
|
"flow_explore": {
|
|
"interval": 3,
|
|
"steps": [
|
|
{ "action": "MoveNorth", "label": "moving north" },
|
|
{ "action": "MoveNorth", "label": "fog revealing" },
|
|
{ "action": "MoveNorth", "label": "near wall" },
|
|
{ "action": "MoveSouth", "label": "fog hiding" }
|
|
]
|
|
},
|
|
"locomotion_gaits": {
|
|
"interval": 2,
|
|
"live": true,
|
|
"scene": "res://scenes/locomotion_sandbox.tscn",
|
|
"env": {
|
|
"SR_AUTOPILOT": "east:2.0,stance_up,east:2.0,stance_up,east:2.0,stance_down,stance_down,stance_down,south:2.0,wait:1.5"
|
|
},
|
|
"description": "T-1088 stance ladder movie — NOT golden-compared. Movie mode starts no server: run `cd server && cargo run --bin settled-reach-server -- --test-mode` first, then `SR_LIVE=1 SR_PORT=9876 tests/run-visual --movie locomotion_gaits`",
|
|
"steps": [
|
|
{ "action": "wait", "label": "careful gait east" },
|
|
{ "action": "wait", "label": "walk gait east" },
|
|
{ "action": "wait", "label": "sprint gait east" },
|
|
{ "action": "wait", "label": "crouch gait south" },
|
|
{ "action": "wait", "label": "settling to idle" },
|
|
{ "action": "wait", "label": "idle rest" }
|
|
]
|
|
}
|
|
},
|
|
"crops": {
|
|
"top-right": [760, 0, 200, 200],
|
|
"top-left": [0, 0, 250, 150],
|
|
"bottom": [0, 340, 960, 200],
|
|
"full": [0, 0, 960, 540]
|
|
},
|
|
"thumbnail": {
|
|
"width": 240,
|
|
"height": 135,
|
|
"columns": 4
|
|
}
|
|
}
|