Skip to content
CVL COREEngine

Spatial Broadphase & Macro-Zone Demos

[DEMO // 05 • SPATIAL BROADPHASE & MACRO-ZONES] O(1) 9-CELL BROADPHASE, HYSTERESIS & EPOCH SYNC SHOWCASE

Three live recordings captured from the CVL CORE Engine Mode 1 2D Radar Viewport and the Unity C# Client SDK demonstrating constant-time O(1) 9-cell obstacle filtering, 500-entity concurrent macro-zone handoffs, boundary hysteresis gating, and Modulo-4 Zone Epoch synchronization with zero coordinate wrap-around or client rubberbanding.

VERIFIED // LIVE CAPTURE Spatial Kernel & Zone Transition Telemetry
30HZ AUTHORITATIVE
BROADPHASE LOOKUP
O(1) 9-Cell
Bitshift Grid • Localized Obstacle Sweeps
SWARM CONCURRENCY
500 Entities
30.0 Hz Tick • Live Zone Re-Indexing
BORDER STABILITY
Hysteresis Gate
Eliminates Border-Line Flapping
PACKET CONTINUITY
Modulo-4 Epoch
Stale In-Flight Frame Rejection

[SEC 01.0] O(1) 9-Cell Spatial Broadphase & Dynamic Obstacle Filtering

Section titled “[SEC 01.0] O(1) 9-Cell Spatial Broadphase & Dynamic Obstacle Filtering”
  • Direct YouTube Link: Watch on YouTube — O(1) 9-Cell Spatial Broadphase & Dynamic Obstacle Filtering
  • What This Shows: A single active entity navigating ZONE 1 inside the Mode 1 2D Radar Viewport surrounded by its yellow 3×3 (9-cell) broadphase neighborhood.
  • Key Takeaway: As the entity moves past static world geometry, only obstacles intersecting its active 9-cell window highlight for collision evaluation—every other obstacle across the world grid is bypassed in constant O(1) time via power-of-two bitshift indexing.

[SEC 02.0] 500-Entity Macro-Zone Transitions, Hysteresis & 9-Cell Broadphase

Section titled “[SEC 02.0] 500-Entity Macro-Zone Transitions, Hysteresis & 9-Cell Broadphase”
  • Direct YouTube Link: Watch on YouTube — 500-Entity Macro-Zone Transitions, Hysteresis & 9-Cell Broadphase
  • What This Shows: 500 active entities operating concurrently across a 4-zone grid (ZONE 0–ZONE 3) at 30.0 Hz, with live radar halos pulsing whenever an entity clears a zone’s hysteresis padding and transitions ownership.
  • Key Takeaway: Mid-capture, the 9-cell broadphase overlays toggle live across all 500 actors simultaneously while maintaining a stable 30Hz simulation budget—proving that broadphase re-binning and macro-zone migrations scale without global O(N²) scans.

[SEC 03.0] Authoritative Macro-Zone Transitions, Hysteresis & Epoch Sync (Server + Unity)

Section titled “[SEC 03.0] Authoritative Macro-Zone Transitions, Hysteresis & Epoch Sync (Server + Unity)”
  • Direct YouTube Link: Watch on YouTube — Authoritative Macro-Zone Transitions, Hysteresis & Epoch Sync (Server + Unity)
  • What This Shows: Split-screen synchronized capture pairing the Unity C# Client SDK (left) with the CVL CORE Mode 1 Server Radar (right) as a live operator walks repeatedly across the 4-zone intersection.
  • Key Takeaway: Watch the floating screen-space nameplate (Z / E counters) and server radar indicator stay locked in sync across every crossing:
    • Boundary Hysteresis: Stepping onto a border line does not trigger rapid zone thrashing; transitions fire strictly once the entity clears the configured hysteresis margin.
    • Modulo-4 Circular Epoch Gate: Each confirmed zone handoff increments the 2-bit Zone Epoch (0 → 1 → 2 → 3 → 0), allowing the client and server to automatically discard stale in-flight packets from the previous zone origin with zero rubberbanding.

[SEC 04.0] Spatial Invariants Demonstrated

Section titled “[SEC 04.0] Spatial Invariants Demonstrated”
Mechanism Behavior Verified on Video Engineering Guarantee
9-Cell Broadphase Grid Only obstacles inside the entity’s 3×3 cell halo are evaluated Constant-time O(1) collision queries independent of total map size
Macro-Zone Hysteresis Smooth border crossings across ZONE 0–ZONE 3 without oscillation Prevents ping-pong zone re-anchoring when players strafe along boundaries
Modulo-4 Zone Epoch Clean E:0 → E:1 → E:2 → E:3 → E:0 cycling in Unity + Server Stale pre-transition packets are rejected deterministically without desync
Mode 1 Glass-Box Radar Real-time 2D spatial visualization synchronized with Unity 3D Live operational visibility into broadphase cells, obstacles, and zone handoffs