Skip to content

About

Zero-server virtualized micro-LOD geometry engine for WebGPU — 100M+ triangles over static HTTP/2 Range requests

Resources

Stars

149 stars

Watchers

3 watching

Forks

Repository files navigation

webgpu-virtual-mesh

Virtualized micro-LOD geometry engine for WebGPU — 107.48M triangles in one world (253M across 5 biomes) at 787 FPS, streamed from plain static HTTP/2 hosting with zero backend server.

Launch Live Demo Watch the 23-minute explainer film 54-Cycle Autoresearch Report 787 FPS Steady GPU Zero Server Static CDN

Launch 5-World Demo · Explainer Film · 54-Cycle Study · X-Ray Proof · Architecture · 5 Worlds · Library API · Benchmarks · Quick Start

webgpu-virtual-mesh — 5 live WebGPU virtualized worlds totaling 253M effective triangles

Click the banner above to explore all 5 worlds live in Chrome, Edge, or any WebGPU desktop/mobile browser — zero server, streamed on demand over HTTP/2 206 Partial Content.


At a Glance

Instead of uploading multi-million-triangle scenes into VRAM or popping between coarse whole-mesh LODs, webgpu-virtual-mesh builds a watertight micro-cluster DAG (~128 tris/cluster) and streams only the exact clusters needed for the current camera pixels into a bounded 4 KB-granular GPU arena — entirely from static files on a CDN.

Scale & Memory GPU & Frame Pacing Ground-Truth Fidelity Zero-Server Static CDN
107.48M tris in one world
253.2M tris across 5 worlds
36–56 MB VRAM arena
(vs ~3.6 GB uncompressed)
787.2 FPS (1.27 ms) steady
609.8 GPU-FPS active flight
0 / 0 rAF hitches (>40ms)
0.97 ms main-thread CPU p50
0.9921 SSIM vs full LOD-0
39.80 dB mean (5 finite views)
1 / 6 bit-identical (MSE = 0)
37.65 dB pooled · 0 cracks
$0 backend (plain HTTP/2 Range)
0 drops · 1.00× waste (6/6)
-51.2% AVIF 4:4:4 PBR textures
7.7× faster live WAN load (2.75 s)

Watch the Explainer Film

Play the 23-minute explainer film about webgpu-virtual-mesh

Click the image to play. 23 minutes, narrated, and every shot of the engine was recorded from the live demo.

The film explains the whole engine one piece at a time. Jump to a chapter:

What it does 2:46 · Clusters and levels 4:51 · The one-pixel rule 8:20 · What the camera can't see 10:31 · Streaming from static files 12:13 · Fewer bytes 16:33 · Drawing the frame 18:50 · The same picture? 19:49 · Your own mesh 22:01


See What the GPU Is Doing

Every frame runs a 100% WebGPU 1.0 Core compute + hardware Visibility Buffer pipeline (<=8 storage buffers, firstInstance = 0). Press 1–6 or F in the live demo to inspect the live cut yourself:

Split-Screen: Virtualized (6.6% tris) vs Full LOD-0 Ref X-Ray: 128-Tri Streamed Micro-LOD Mosaic Freeze Camera (F): Live GPU Frustum & Hi-Z Cut
Split-Screen Full-Fidelity Comparison Sanctum Micro-LOD Meshlet Mosaic Frozen Cyan Camera Frustum Slice
Indistinguishable at 1/15th the triangles (0.9921 SSIM, 1/6 exact) Each color is a ~128-tri cluster on the continuous 1 px cut Everything outside the cyan cone was culled on the GPU

How It Works

flowchart LR
  A["1. C++20 Compiler<br/>tools/vgm-builder<br/>G=8 Watertight DAG<br/>FEM L2 + VMZ8 Blobs"] --> B["2. Offline Packer<br/>tools/pack-static.mjs<br/>3D-Hilbert VGS1/VMS1<br/>WMT1 + WTX1 AVIF 4:4:4"]
  B --> C["3. Any Static CDN<br/>Zero Backend Server<br/>HTTP/2 206 Range<br/>Immutable Edge Cache"]
  C --> D["4. 12 Web Workers<br/>?r=s-e Cache-Lock Fix<br/>RTT Gap Bridge + Cache<br/>rANS4 + VMZ8 Decode"]
  D --> E["5. 4KB Shared Arena<br/>36-56 MB GPU Buffer<br/>2-Bit Ghost-Bypass DAG<br/>Zero-GC O(1) LRU"]
  E --> F["6. WebGPU 1.0 Core<br/>Ping-Pong Hi-Z + Tri-Cull<br/>r32uint VisBuffer + 8x8 Tile<br/>XeGTAO + Shadows + Hooks"]
  F -. "1-IPC Async Feedback" .-> D
Loading

Key Engineering Innovations

  • Watertight Cluster DAG & Consistent FEM $L^2$ Projection (tools/vgm-builder, C++20 + OpenMP): Alternating-boundary 8-cluster grouping (targetG = 8), crease/cavity boundary-locked QEM simplification, exact 3-point degree-2 Hammer-Stroud FEM $L^2$ normal & cavity projection (improving every Studio view by +0.80 to +7.36 dB, pushing close-up to MSE = 0 and SSIM to 0.9921), exact Chebyshev minimum-enclosing normal cones on $S^2$, and 3D Morton + parent-affinity 16 KB page packing (4.2× tighter spatial bounds).
  • VMZ8 Seam-Zippered Predictive Meshlets + VGS1/VMS1 Static Byte-Range Format: Active-Frontier Edgebreaker (~2.0 bits/tri) with inter-cluster seam-edge zippering (copying ~19% of boundary vertices & attributes across seams in <1 bit), Wiener-3/4 plane-lifting, and K=192 Exp+RawBits — reordered offline along a 3D-Hilbert curve per LOD band into independently decodable VMS1 slices compressed with per-stream 11-bit 4-way rANS4 + 6-context Order-1 Edgebreaker rANS (579.5 MB .vgm → 234.95 MB .vgs).
  • Chromium HTTP Range Cache-Lock Bypass + WMT1/WTX1 2-Request World Boot: Deterministic ?r=start-end query keys break Chromium's exclusive per-URL sparse HTTP cache lock to unlock full 20–24× HTTP/2 Range concurrency (while staying cacheable for 7 ms revisits); RTT-adaptive gap bridging (4–24 KB) coalesces neighboring Hilbert slices and caches bridged neighbors in RAM (VgsGapPageCache). Cold world loads fetch just 2 static files in parallel: world_<id>.wmeta.gz (WMT1 metadata + pinned roots) and world_<id>.wtex (WTX1 BT.709 AVIF 4:4:4 PBR maps with $C_b$-nulling on 2-channel normals/ARM, -51.2% size at 37.5–40.0 dB PSNR / 1.91° normal error + single-pass WebGPU compute mipgen).
  • Single-Pass Visibility Buffer, Compute Triangle Culling & Ping-Pong Hi-Z (src/engine/): GPU instance + cluster + per-triangle compaction (vis_tri_cull.wgsl, cutting ~75–83% of dead tris before rasterization), watertight orthographic shadow bypass-cap (-88% to -93% shadow pass), two-phase ping-pong Hi-Z dis-occlusion rescue, single-pass r32uint Hardware Visibility Buffer + 8×8 tile deferred material resolve, 2-mip bilateral XeGTAO, $C^2$ 2D simplex analytic water waves, and compile-time pluggable WGSL biome hooks.

Why Zero-Server Static Beat Our Dynamic Server

Over 53 autonomous optimization cycles, we built a heavily tuned 8-thread Node rANS4 streaming server. In Cycle 54, we replaced the entire backend with offline 3D-Hilbert VGS1 + WTX1 AVIF 4:4:4 static files — and static CDN hosting beat the custom server across most metrics while deleting 6,654 lines of legacy server/codec code:

Dimension C53 Dynamic Node Server C54 Zero-Server Static (VGS1) Outcome
Steady 6-View GPU (1440×840) 687.4 FPS (1.455 ms) 787.2 FPS (1.270 ms) +14.5% faster (GPU-mipped AVIF + leaner runtime)
3-World Active-Flight Wire 64.39 MB 60.67 MB -5.8% less wire (Hilbert rANS4 + RAM gap cache)
Studio Avg Wire / VRAM 4.32 MB / 8.71 MB 4.14 MB / 8.31 MB -4.2% wire · -4.6% VRAM
S4 Citadel 16 MB 4G Conv (same harness) 543 ms 503 ms -7.4% faster (0 ms server encode latency)
S6 Cloister 36 MB Wire / Evicts 19.17 MB (710 evict) 18.81 MB (443 evict) -1.9% wire · -38% fewer evictions
PBR Textures & Live WAN Load 42.92 MB JPEGs (21.3 s) 20.95 MB AVIF WTX1 (2.75 s) -51.2% size · 7.7× faster live WAN
Fidelity / Hitches / Drops (S1–S6) 0.9921 SSIM · 0/0 · 0 drops 0.9921 SSIM · 0/0 · 0 drops 100% bit-exact parity (1.00× waste)
S5 / S6 4G Teleport Latency (same harness) 434 / 483 ms 526 / 573 ms +90–92 ms multi-file HTTP Range trade-off
Backend Infrastructure 8-thread Node rANS4 server Plain static files (CDN) -6,654 LOC · $0 server ops

Explore all 54 cycles, interactive Pareto Radar eras, 11 live Chart.js plots, and the searchable 42-landmark ledger in the Interactive 54-Cycle Autoresearch Report →


Five Photogrammetry & Laser-Scan Worlds

All five worlds are built 100% from real CC0 Poly Haven photogrammetry (2K UV-preserved PBR) and public-domain ThreeDScans museum laser scans, switchable live inside the demo:

1 · Sanctum of the Sun Canyon — 107.48M Effective Triangles

Golden-hour red-rock desert gorge with 1.35M–2.07M-tri museum laser scans (Zenobia in Chains, Bayon Temple Lion, Theodoric the Great), 2048×2048 texel-snapped PCF shadows, XeGTAO, and 3D volumetric sunbeams — 0.98–1.47 ms GPU, 9.90 MB 6-stop static wire, 0 drops.

Sunlit Cavern Sanctum (2.69M / 107.48M tris · 1.13 ms GPU) Museum Statue Micro-Detail (2.16M / 107.48M tris · 0.98 ms GPU)
Sanctum of the Sun Canyon Hero 1.35M-Tri Laser-Scanned Statue Close-Up

2 · Rimefrost Fjord Sanctuary — 34.88M Effective Triangles

Polar twilight with shimmering Aurora Borealis sky curtains, PCG starfield, $C^2$ 2D simplex glacial fjord water, snow-capped basalt cliffs, and frosted laser scans (Neptune 2.69M, Oceanus 2.00M, Storm-Eagle 541K) — 0.94–1.14 ms GPU, 668.3 GPU-FPS active flight, 0 drops.

Aurora Borealis Glacial Fjord (3.12M / 34.88M tris · 1.09 ms GPU) Neptune 2.69M-Tri Laser-Scan Macro (2.40M / 34.88M tris · 1.12 ms GPU)
Rimefrost Fjord Sanctuary Hero Neptune Museum Laser-Scan Macro

3 · Emerald Canopy Cloister — 44.00M Effective Triangles

Misty rainforest canyon over a flooded jade temple mirror-pool, strangler-fig stumps, fallen jungle trunks, and Khmer Angkor laser scans (Ta Prohm Pediment 2.10M, Lolei Gatekeeper 1.98M, Vishnu Relief 990K, Panther 2.00M) — 0.92–1.59 ms GPU, 18.84 MB even inside a tight 36 MB 4G pool.

Flooded Jade Angkor Cloister (2.13M / 44.00M tris · 1.08 ms GPU) Strangler Gate Fallen-Trunk Archway (1.72M / 44.00M tris · 0.92 ms GPU)
Emerald Canopy Cloister Hero Strangler Gate Fallen-Trunk Archway

4 · Aurelian Spire Archipelago — 25.50M Effective Triangles

Coral-gold Aegean sunset archipelago over translucent aquamarine reef water, limestone headlands, monolithic sea-arch, weathered timber pier, cliffside palms, and museum scans (Athena 2.61M, Triton 2.00M, Mercury 1.47M, Griffin-Sphinx 500K) — 0.94–1.13 ms GPU, 9.9 MB hero wire, 0 fallbacks.

Aurelian Bay Harbor Vista (2.19M / 25.50M tris · 1.06 ms GPU) Athena Acropolis 2.61M-Tri Macro (1.58M / 25.50M tris · 1.03 ms GPU)
Aurelian Spire Archipelago Hero Athena 2.61M-Tri Laser-Scan Macro

5 · Amberwood Alpine Cathedral — 41.37M Effective Triangles

Autumn alpine conifer cathedral with solid 3D-needle firs (--merge-disconnected multi-component foliage LOD), lichen-granite cliffs, golden leaf-litter floor, abbey portal, and museum scans (St. Anna Retable 2.25M, Townley Greyhounds 2.53M, Pan & Bacchus 2.19M, Centaur 522K) — 6.16M visible tris/frame in 1.71 ms GPU, 10.8 MB hero wire.

Autumn Alpine Conifer Nave (6.16M / 41.37M tris · 1.71 ms GPU) St. Anna Retable 2.25M-Tri Macro (2.29M / 41.37M tris · 1.41 ms GPU)
Amberwood Alpine Cathedral Hero St. Anna Retable Laser-Scan Macro

Use src/engine/ as a Standalone Library

src/engine/ has zero demo or world coupling (0 imports from src/world/ or src/demo/). Any WebGPU app can import directly from src/engine/index.ts and supply its own scenes and compile-time WGSL biome/material hooks:

import {
  VirtualMeshRenderer,
  setStaticBasePath,
  type VirtualMeshSceneDefinition,
  type VirtualMeshShaderHooks,
} from './engine/index.ts';

// Point to any static directory or CDN hosting packed VGS1 / WMT1 / WTX1 files
setStaticBasePath('/static-assets');

// 1. Optional compile-time WGSL material, lighting, sky, floor & volumetric hooks
//    (omit shaderHooks to use the engine's built-in neutral PBR + Rayleigh sky defaults)
const shaderHooks: VirtualMeshShaderHooks = {
  materialAndEnvWgsl: myCustomSceneHooksWgsl,
  volumetricDensityWgsl: myCustomVolumetricDensityWgsl,
  proceduralFloor: false,
};

// 2. Define any multi-asset instanced virtualized scene
const buildMyScene = (): VirtualMeshSceneDefinition => ({
  id: 'my_game_level',
  title: 'My Level',
  badgeTitle: 'MY LEVEL',
  vis0Label: '1 · World PBR',
  subtitle: 'Custom virtualized WebGPU scene',
  sunDir: [0.55, 0.72, 0.42],
  floorY: 0.0,
  floorDiffUrl: '/assets/floor_diff.jpg',
  floorNorUrl: '/assets/floor_nor.jpg',
  volumetric: { beamColor: [1.0, 0.85, 0.65], strength: 0.35, maxRayDist: 140 },
  assets: [/* VirtualMeshAssetSpec[] pointing to packed static .vgs assets */],
  instances: [/* VirtualMeshInstanceSpec[] world TRS placements */],
  bookmarks: [/* SceneCameraBookmark[] */],
  tourKeyframes: [/* SceneTourKeyframe[] */],
  shaderHooks,
});

// 3. Initialize on any WebGPU canvas, register the scene factory, and load by ID
//    (or pass the scene object directly via `await renderer.loadScene(buildMyScene())`)
const renderer = new VirtualMeshRenderer(canvas);
await renderer.init();
renderer.registerSceneFactory('my_game_level', buildMyScene);
await renderer.loadAsset('my_game_level');

Repository Structure

├── src/
│   ├── engine/        # 100% generic WebGPU library (0 imports from world/ or demo/)
│   │   ├── shaders/   # WGSL VisBuffer, tri-cull, LDS Hi-Z, XeGTAO, volumetrics, post
│   │   ├── vgs-codec.ts, static-range-source.ts, meshlet-decoder.ts, decode-worker.ts
│   │   └── shared-pool.ts, streaming-manager.ts, multi-stream.ts, scene-renderer.ts
│   ├── world/         # 5 biome scene manifests + pluggable WGSL biome/water/sky hooks
│   └── demo/          # Responsive desktop + mobile touch UI, bookmarks, guided tour
├── tools/
│   ├── vgm-builder/   # C++20 + OpenMP Cluster DAG compiler, FEM L2, VMZ8 encoder
│   ├── pack-static.mjs, compress-textures.py, vgm-meta.mjs  # Offline VGS1/WMT1/WTX1 packer
│   ├── static-server.mjs   # Pure static HTTP + Range 206 local dev/bench server
│   └── deploy-static.mjs   # Incremental SHA-256 static deployer (`npm run deploy`)
├── bench/             # 3 automated hardware WebGPU suites (PSNR, 4G stream, 7-pass FPS)
└── report/            # Interactive 54-cycle autoresearch report (served at /report/)

Benchmarks

All results below are measured on AMD Radeon 8060S (RDNA 3.5 · Vulkan RADV) directly against the 100% static dist-static/ bundle over standard HTTP 206 Partial Content Range requests (0 validation errors, 0 console errors across 255 total hardware runs):

8-Axis Pareto Progression (Baseline d646a55 → Cycle 54 Pure-Static VGS1)

Axis Metric Baseline Cycle 54 Static (VGS1) Improvement
1 · Steady GPU FPS 6-View Steady Avg (1440×840, bench:perf) 10.421 ms (96.0 FPS) 1.270 ms (787.2 FPS) 8.20× faster
2 · Active-Flight FPS 3-World Live-Stream Flight (bench:perf) 8.79 / 12.12 ms (115.1 FPS) 1.64 / 2.22 ms (609.8 GPU-FPS) 5.30× faster (p95 -81.7%)
3 · Hitching rAF Hitches >40ms / >60ms (360 frames) 23 / 1 (max 64.3 ms) 0 / 0 (p95 34.03 ms, max 37.4 ms) Eliminated
4 · Main-Thread CPU Flight CPU p50 / p95 / Max 2.27 / 12.5 / 53.3 ms 0.97 / 1.70 / 5.3 ms 7×–10× lower
5 · Perceptual Quality Studio SSIM · Finite PSNR · Pooled PSNR · Cracks 0.9018 · 29.61 dB · 17 cracks 0.99210 · 39.80 dB (5 views) + 1/6 exact · 37.65 dB pooled · 0 px +0.090 SSIM, +8.04 dB pooled, 0 cracks
6 · Wire & VRAM Studio Wire · VRAM · 3-World Flight Wire 51.97 / 19.23 / 127.2 MB 4.14 / 8.31 / 60.67 MB (560 B/f bus) -92.0% / -56.8% / -52.3%
7 · 4G Convergence S4 / S5 / S6 Fast-4G Avg Convergence 1,730 / 1,980 / 4,776 ms 503 / 526 / 573 ms (S3 & S5 0 EndFB) -71% to -88% faster
8 · Stream Reliability Drops & Waste across ALL 6 Scenarios (S1–S6) 1,837 drops 0 drops / 1.00× waste (6/6) 100% zero-drop
Full S1–S6 Multi-World Fast-4G Streaming Table (npm run bench:stream)

All % of Hosted ratios divide compressed wire bytes transferred by the actual hosted static geometry pack size (VGS1 .vgs + meta.gz) served from dist-static/ — never uncompressed .vgm sizes. Convergence times below are measured in-page on the first fresh post-cut GPU feedback frame with 0 pending/fallback pages (excluding steady-confirmation frames and screenshot PNG capture, which previously imposed a ~110 ms polling floor; the C0→C54 and C53-vs-C54 tables above keep the original pre-fix harness for apples-to-apples continuity).

Scenario World / Hosted Static Pack (VGS1 + meta) VRAM Budget Network Wire (% of Hosted) Avg Conv / Flight Drops / Waste
S1 · Canyon 6-Stop Sun Canyon (107.5M · 28.94 MB hosted) 56 MB Unthrottled 10.01 MB (34.6%) 75 ms (225 ms cold · 29–66 ms warm, 6/6 exact @300ms) 0 / 1.00×
S2 · Canyon 2-Lap Flight Sun Canyon (107.5M · 28.94 MB hosted) 56 MB Fast 4G (35ms/25M) 13.04 MB (45.1%) 1.62 ms GPU · 420 AvgFB (-93%) 0 / 1.00×
S3 · Canyon Tight 32 MB Sun Canyon (107.5M · 28.94 MB hosted) 32 MB Fast 4G (35ms/25M) 10.09 MB (34.9%) Tight 8-stop (0 EndFB, 0 evict) 0 / 1.00×
S4 · Citadel Multi-Jump Studio Sculpt (3.15M · 16.15 MB hosted) 16 MB Fast 4G (35ms/25M) 13.06 MB (80.9%) 271 ms (32.9 dB pooled · 3/5 exact @250ms) 0 / 1.00×
S5 · Fjord 4-Stop Rimefrost Fjord (34.9M · 58.94 MB hosted) 56 MB Fast 4G (35ms/25M) 20.87 MB (35.4%) 488 ms (0 EndFB, 0 evict) 0 / 1.00×
S6 · Cloister Tight 36 MB Emerald Cloister (44.0M · 52.52 MB hosted) 36 MB Fast 4G (35ms/25M) 19.82 MB (37.7%) 449 ms (4.4 EndFB · 630 evict) 0 / 1.00×
Full Studio Ground-Truth Perceptual Breakdown (npm run bench, 1280×720, τ = 1.0 px)
Metric (6-Viewpoint Aggregate across basalt_citadel 3.15M & obsidian_reliquary 2.36M) Measured Pure-Static Value
Mean Windowed SSIM (all 6 views) 0.99210 (1.0000 close-up, 0.9998 grazing, 0.9956 archway)
Finite-View Mean PSNR (5 non-identical views) 39.80 dB full / 36.74 dB masked (52.83 dB grazing, 39.63 dB archway)
Bit-Identical Views (MSE = 0) 1 / 6 (citadel_spire_closeup bit-exact vs LOD-0 at 6.6% active tris)
Pooled-MSE PSNR (all 6 views combined) 37.65 dB full / 32.58 dB masked (zero sentinel distortion)
Interior Crack Pixels (all 6 steady views) 0 px across 6/6 views (2 px under 4 MB 4G stress)
Active Triangles Rendered 15.23% avg (6.6% close-up, 7.7% grazing)
Streamed Wire / Resident VRAM 4.14 MB (-92.0% vs C0) / 8.31 MB (-56.8% vs C0)
Avg Convergence / GPU Frame Time 224.0 ms (179–216 ms warm) / 0.249 ms (4.59× vs ref)
Steady CPU→GPU Bus / CPU p50 560 B/frame (uniforms only) / 0.10 ms

Quick Start & Deployment

Prerequisites

  • Node.js 20+ · g++ (C++20 + OpenMP) · Python 3 (Pillow, pillow-avif-plugin) · A WebGPU-enabled browser

1 · Build Assets & Pack the Zero-Server Static Bundle

npm install

# Compile studio ground-truth sculpts (self-contained C++, ~10s):
npm run build:assets

# Fetch & compile all 5 photogrammetry + museum laser-scan worlds:
npm run build:canyon
npm run build:worlds
npm run build:more-worlds

# Or compile any custom Wavefront .obj mesh:
./tools/vgm-builder/vgm-builder --input path/to/mesh.obj --out assets/my_mesh.vgm

# Build frontend + pack VGS1/WMT1/WTX1 AVIF 4:4:4 + /report/ into dist-static/ (~18s cached):
npm run pack:static

2 · Serve Locally (Pure Static + HTTP Range 206)

npm run serve

Open http://127.0.0.1:4173 for the live demo and http://127.0.0.1:4173/report/ for the interactive study. (For Vite HMR during UI/shader edits, run npm run serve in one terminal and npm run dev in another.)

3 · Deploy to Any Static Host or Incremental NeuralColumn

dist-static/ (~275 MB, max single file 15.54 MB) deploys straight to any static host/CDN supporting HTTP Range (NeuralColumn, Cloudflare Pages/R2, S3 + CloudFront, Netlify, Vercel):

# Fast client & report update (typecheck + Vite build + trademark check + ~0.6 MB SHA-256 diff, ~3s):
NEURALCOLUMN_TOKEN=nct_... npm run deploy -- --fast

# Full repack + incremental upload:
NEURALCOLUMN_TOKEN=nct_... npm run deploy

4 · Run Automated Hardware Benchmarks

npm run bench            # Studio ground-truth PSNR/SSIM/crack & GPU timing suite
npm run bench:stream     # 6-scenario multi-world static Range 4G convergence & drop suite
npm run bench:perf       # 7-pass steady GPU breakdown + 3-world active-flight FPS & hitch suite
npm run capture:worlds   # Live WebGPU visual QA across all 5 worlds (23 bookmarks)
npm run check:trademarks # Verify zero trademarked references

Controls & Documentation

Desktop / Mobile Input Action
Left-Drag / Right-Drag / Scroll (Desktop) Smooth 3D orbit, pan, and zoom
1-Finger Drag / 2-Finger Pinch & Drag (Mobile) Multi-touch orbit, pinch-zoom, and pan
W A S D + Q E (Shift 3× turbo) Free-fly (55 m/s cruise · 165 m/s turbo) across all 5 worlds
F Freeze Camera & Inspect Cut — freezes GPU frustum/Hi-Z culling and pulls out to show the live cyan frustum slice
1 – 6 X-Ray modes: World PBR · Meshlet Mosaic · Detail Distance · Wireframe · Stream Radar · Normals
Bottom Bar / Mobile Dock 6 curated bookmarks/world · Guided Tour · Mobile Stats / Views / X-Ray / Worlds sheets · Clean View (👁)
− on a panel (Desktop) Collapse that panel: telemetry, film link, X-Ray lenses, views, inspector. Remembered between visits
H / 👁 Hide every overlay for a clear view; H again or Show HUD brings them back

Deep-Dive Docs

  • Explainer Film (23 min) — Narrated walkthrough of clusters and levels, the one-pixel rule, culling, streaming from static files, compression, and the visibility buffer.
  • Interactive 54-Cycle Report — Interactive Pareto Radar, 11 charts, Static VGS1 vs. Dynamic Server analysis, 5-world gallery, and searchable 42-landmark log.
  • ARCHITECTURE.md — Watertight Cluster DAG proofs, VMZ8/VGS1/WMT1/WTX1 binary specs, Hardware Visibility Buffer, and SharedGpuPageArena.
  • NORTH_STAR.md — Engineering vision, quantitative targets, and invariants.
  • EXPERIMENTS.md — Full empirical cycle-by-cycle autoresearch journal.

Open Data & Asset Credits

  • Photogrammetry Meshes & 2K PBR Maps (CC0 1.0): Poly Haven (namaqualand_*, rock_face_01, modular_fort_01, coastal_cliff_*, sea_rocks_*, moss_rock_*, tree_stump_*, fallen_tree_trunk_*, coast_line_*, rock_boulder_*, wooden_pier_*, coastal_palm_*, fir_tree_*, mountainside_*, abbey_portal, sandstone_*, snow_02, slate_*, moss_ground_*, leaf_litter_*).
  • Multi-Million-Triangle Museum Laser Scans (Public Domain / CC0): ThreeDScans.com (Zenobia in Chains, Theodoric the Great, Bayon Temple Lion, Neptune, Oceanus, Eagle, Ta Prohm False Pediment, Lolei Temple Guardian, Prasat Krahom Vishnu Narasimha Relief, Prowling Panther, Athena, Triton, Mercury, Seated Griffin-Sphinx, St. Anna Retable, Townley Greyhounds, Pan & Bacchus, Centaur).

License

Licensed under the Apache License, Version 2.0. Third-party photogrammetry meshes, textures, and museum laser scans remain under their respective CC0 / Public Domain terms listed above.

About

Zero-server virtualized micro-LOD geometry engine for WebGPU — 100M+ triangles over static HTTP/2 Range requests

Resources

Stars

149 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages