Purpose-Built Hybrid 3D Architecture for a Gate-Bound Cosmos
The Gypsum 3D Engine is our proprietary, custom-built 3D client rendering and application engine, engineered in tandem with the Gypsum Server MMO cluster and Conduit service mesh. Rather than retrofitting a general-purpose third-party engine, every layer of the Gypsum runtime—along with Conduit and this website itself—is developed using Agentic AI around a strict lock-free, zero-allocation philosophy tailored for Sovran Gate.
The client pairs a high-level Go application and spatial scene graph layer with a statically linked, lock-free C++20 GPU engine core. By crossing the language boundary only twice per frame on the hot path—once to drain a zero-copy shared-memory input event ring and once to submit a single contiguous batched render command buffer—Gypsum 3D combines rapid MMO gameplay orchestration with deterministic native frame pacing across Linux, macOS, and Windows.
Gypsum Client & 3D Engine Architecture
Data-Driven UI, 3D Scene Graph & Gypsum Studio
Gameplay orchestration, networking, UI behavior, and 3D scene management all run in Go—retiring hardcoded screens in favor of compiled binary archives authored visually in Gypsum Studio:
- Four Cleanly Separated Asset Roots & Flat Builds: 2D UI screens, 3D world zones, hot-swappable visual skins, and reusable Action Graphs compile into compact binary archives inside separated, flat standalone installations for Gypsum Client and Gypsum Studio. A packed boot manifest carries the default Gateway address so players connect with zero manual setup, while cross-platform self-updating defers restarts cleanly until clicking Play.
- Scoped DataStore, Visual Action Graphs & Live Shard Discovery: Instead of hand-coding UI glue logic, screens bind to a lock-free DataStore and run visual Action Graphs—powering encrypted login, six-group differential patching, live Avalon and Hyperion shard selection with right-aligned color-coded status pills, one-time token handoffs straight into Character Selection, and persistent settings dialogs.
- Per-Aspect UI Layouts, Focused Keyboard Routing & Single-Flight Actions: Every UI screen defines tailored layouts per aspect ratio (
16:9,16:10,21:9) with minimum-fit uniform scaling, focused-widget keyboard precedence (routing typing and Enter/keypad-Enter directly to focused inputs while Escape bubbles cleanly), deterministic tab traversal, modal focus trapping, lock-free default single-flight Action Graph guards, human-readable kick and connection diagnostics, and auto-scrolling activity logs. Login and Patcher screens stay in a safe windowed mode so a bad video setting can never lock you out, while the 3D game session applies your chosen windowed, fullscreen, or borderless display mode. - 3D Scene Graph & Embedded 3D Views: The scene graph manages seamless adjacent zones, fast Loose Octree frustum culling, adaptive level-of-detail heightmap terrain, GPU skeletal animation, and live 3D viewports embedded right inside 2D screens (either as fullscreen backdrops or bounded 3D sub-views).
- Gypsum Studio (Live Visual Authoring Workbench): Built for Linux on Conduit’s shared desktop framework, Gypsum Studio runs the exact same C++20 Vulkan renderer as the game client. Designers browse workspaces with single-tab preview startup, double-click tab pinning, and automatic dirty auto-pinning protection, lay out screens and side-by-side modal dialogs with live skin previews, inspect auto-laid-out Action Graphs, organize multi-aspect artwork in the Asset Browser, publish changed patch groups directly to live clusters with one click, browse the built-in 9-chapter Authoring Manual, and co-author screens with a built-in Antigravity AI assistant.
Two-Call-Per-Frame Bridge & Lock-Free C++20 GPU Core
To eliminate foreign-function overhead while retaining native hardware control, Gypsum compiles its C++20 engine into static archives linked directly into the client executable—producing a self-contained binary with zero runtime engine .so, .dylib, or .dll dependencies:
Two-Call-Per-Frame Batched Bridge
Instead of crossing the Go/C++ boundary for every mesh or UI widget, the client crosses only twice per frame: once at frame start to drain OS input events from a zero-copy shared-memory ring buffer, and once at frame end to submit a single contiguous batched render command buffer.
COM-Style Interfaces & UUIDv8 Identity
Every subsystem in the C++20 engine follows a strict reference-counted pure virtual interface model identified by self-verifying 128-bit UUIDv8 identifiers with embedded CRC-8 checksums—built with zero C++ STL containers, zero templates, and zero mutexes.
Universal Lock-Free Slab Memory Pooling
All engine objects and custom lock-free containers allocate exclusively from power-of-two lock-free slab memory pools, eliminating heap fragmentation and OS allocator contention during massive city sieges.
Tri-OS Native Rendering & Smart Windowing
Built on SDL3 and SDL_gpu, Gypsum drives multi-frame-in-flight pipelines across Vulkan (Linux Wayland & Windows), Metal (macOS Cocoa), and Direct3D 12 (Windows), with single-source shaders cross-compiled to SPIR-V and Metal, GPU-accelerated Dear ImGui overlays, and an aspect-ratio-aware window manager that defaults to the largest standard resolution fitting within 80% of the primary display.
Gypsum Client & Studio: Live Native Vulkan Showcase
With Gypsum Client built as a 100% data-driven runtime—replacing every hardcoded screen with four separated source folders (2D UI Screens, 3D World Zones, Visual Skins, and Shared Action Graphs) compiled into compact binary archives—both the standalone game client and Gypsum Studio run the exact same C++20 Vulkan renderer and layout solver.
Native Vulkan Game Client (16:9, 21:9 & Unified Launcher)
- True Per-Aspect Compositions: Dedicated
16:9,16:10, and21:9ultrawide layouts load matching artwork and tailored widget placement with zero stretching or black bars, paired with declarative initial keyboard focus and tab order. - Unified Patcher & Shard Discovery: Players browse live realms, read formatted Markdown patch notes, synchronize differential asset groups, and launch straight into Character Selection inside one native GPU-accelerated window.
WebP • Expand
WebP • ExpandLive Vulkan Visual Authoring in Gypsum Studio
- Exact Client GPU Fidelity: Runs our C++20 Vulkan renderer offscreen—showing the active GPU right in the toolbar and rendering fonts, hot-swappable skins, and per-aspect scaling identically to the shipped game.
- Synchronized Workbench & Built-In AI: Pairs a 4-root Explorer, Scene Graph, Node Palette, unified Properties inspector, Context Help, and an embedded Antigravity AI dock wired to undoable editor commands for real-time human + AI co-authoring.
WebP • ExpandVisual Action Graphs & Entry Triggers
- Zero Hardcoded Client Screens: All client stages—Login, unified Patcher and Shard Discovery, Character Selection, and World HUD—run declarative Action Graphs wired to our scoped DataStore and reusable engine actions.
- Unified Mouse & Keyboard Triggers: Button clicks, text-field Enter submissions, and global confirm keys bind cleanly to one visual flow card graph with color-coded While Waiting, On Success, and On Error branches.
WebP • ExpandOne-Click Patch Group Publishing & Boot Manifest Authoring
- Zero-Setup Boot Record: Configure the baked-in default Gateway address, default skin, global shortcuts, and project-wide aspect-ratio catalog right inside Gypsum Studio—compiled directly into the shared UI archive so players launch with zero manual configuration.
- Direct Cluster Publishing: Publish changed modular asset groups straight from Studio to a local or SSH cluster with automatic SHA-256 skipping, Dry Run previews, and read-only cluster profile selection.
WebP • ExpandTake the full 7-screen walkthrough in the Gypsum Client & Studio Visual Tour, read our latest Crisp Input Routing, Preview Tabs & Launcher Polish Dispatch, or explore Inside Gypsum Studio.
