feat(world): port retail portal-space viewport
Replace the opaque teleport cover with the DAT-authored CreatureMode tunnel, exact retail camera/light/animation timing and easing, and animation-hook audio routing. Compose portal and fade passes below retained UI so gameplay windows and input remain active through F751 travel. Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
parent
0eab7497c1
commit
eab23cbdd1
14 changed files with 983 additions and 45 deletions
|
|
@ -595,6 +595,25 @@ same-landblock teleport keeps the already-published render and physics unit.
|
|||
This is the asynchronous adapter for retail's direct full-`Position` placement
|
||||
(`SmartBox::TeleportPlayer @ 0x00453910`).
|
||||
|
||||
### Portal-space presentation boundary
|
||||
|
||||
`TeleportAnimSequencer` is the pure Core owner of retail's seven-state
|
||||
teleport lifecycle, exact 1/2/5-second thresholds, frame-aligned exit window,
|
||||
and 100-sample `UIGlobals::GetAnimLevel` fade curve. App-layer
|
||||
`PortalTunnelPresentation` owns the synthetic DAT Setup (`0x02000306`), its
|
||||
40-frame/s animation (`0x030005AC`), `CSequence`, SmartBox-FOV camera, distant light, mesh
|
||||
references, and animation-hook delivery. It renders through the existing
|
||||
modern `WbDrawDispatcher` as a replacement 3-D viewport, after world rendering
|
||||
and before retained UI. The shared dispatcher is reset to no world-cell clips
|
||||
and no world point lights for this pass. Chat, gameplay windows, toolbar,
|
||||
cursor, and input continue normally above it. The synthetic object never
|
||||
enters `LiveEntityRuntime`, collision, picking, radar, or server GUID state.
|
||||
|
||||
The destination residency gate supplies retail's `EndTeleportAnimation` edge
|
||||
once asynchronous streaming is ready. Player placement remains authoritative
|
||||
and separate from presentation; arrival does not reset the character animation
|
||||
sequence. See `docs/research/2026-07-15-retail-portal-space-pseudocode.md`.
|
||||
|
||||
## Roadmap Model
|
||||
|
||||
The old R1-R8 architecture sequence was a useful early refactor sketch, but it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue