Gaussian Splatting From Zero · Episode 16

Shipping

Shipping is Episode 16 of Gaussian Splatting From Zero, a MasterAllArts free interactive lesson for artists learning creative 3D on the web.

Part of the MasterAllArts Creative 3D Roadmap .

← Gaussian Splatting From ZeroEpisode 16 · Season 2 Finale
Episode 16 · Gaussian Splatting From Zero · Season 2 Finale

You can build a splat renderer, capture a scene, clean it, compress it, drop it in a level, and animate it. The last mile is the internet: getting a multi-megabyte capture onto a stranger's phone without a thirty-second white screen. The answer is streaming + level-of-detail — show a coarse version instantly, then refine as bytes arrive and as the viewer gets closer. The demo streams a capture in live; hit "re-stream" and watch it resolve from a blur to a planet. Then we'll run the full shipping checklist.

—
drag to orbit · scroll to zoom
streaming…
Coarse splats appear first, then detail streams in — never a blank screen.

Streaming: never show a white screen

A 50 MB capture downloaded before anything renders is a dead page on a slow connection. The fix is to make the file progressively decodable: order the splats so the first bytes are a spatially-spread coarse subset, render those immediately (drawn bigger to hide the gaps), and refine as more arrive. The demo simulates exactly this — splats stream in over a couple of seconds, coarse-to-fine, and the scene is usable the whole time. Watch the "loaded %" climb and the blur sharpen.

// order splats so any prefix is a uniform coarse sample (stride permutation)
for (let k = 0; k < N; k++) reordered[k] = original[(k * 9973) % N];
// then just grow the drawn count as bytes arrive — and size coarse splats up to fill gaps
mesh.count = loadedSplats;
sizeMul    = clamp(Math.sqrt(N / loadedSplats), 1, 3);

Level of detail: don't pay for what you can't see

A capture across the room doesn't need a million splats — it projects to a few hundred pixels. LOD draws fewer, bigger splats when the viewer is far and ramps up the count as they approach. Toggle "LOD by distance" and zoom in and out: the splat count tracks how close you are. Production systems (Spark 2.0's LOD, 3D-Tiles for geospatial) take this further with chunked trees so they can stream and render city-scale scenes that never fully fit in memory — only the splats near the camera are ever resolved.

Streaming and LOD are the same idea on two axes: streaming trades detail over time (as bytes arrive), LOD trades detail over distance (as the camera moves). Both keep the first frame cheap, which is the only frame that decides whether a user stays.

The shipping checklist

ConcernDo this
FormatShip a compressed, web-first format (.spz/.ksplat), not the raw .ply master (Episode 12).
HostingStatic files on a CDN with gzip/brotli and range requests, so the file streams and caches.
StreamingProgressive, coarse-to-fine order; render the first chunk immediately.
LODDistance-based detail; for big scenes, a chunked LOD tree.
MobileClamp pixel ratio, cap splat count, drop SH to degree 0–1, watch fill rate.
VRTwo eyes = double the work; budget hard. Standalone players (Gracia on Quest) exist for volumetric.
EmbeddingShip a viewer as an <iframe> or web component; libraries (SuperSplat viewer, Spark) give you one.
FallbackA poster image + "tap to load" on slow connections / no WebGL2; never a frozen tab.

Performance budgets that actually hold

  • Desktop: a few million splats at 60fps is realistic with a GPU sort.
  • Mobile: aim for a few hundred thousand; fill rate (overdraw), not splat count, is usually the wall. Smaller splats and degree-0 SH buy the most.
  • VR: halve your mobile budget again, and keep the sort off the frame-critical path entirely.

Common pitfalls

  • 30-second blank load. You waited for the whole file. Stream coarse-to-fine and render the first chunk.
  • Great on your laptop, dead on a phone. No mobile budget. Clamp DPR, cut count, truncate SH, shrink splats.
  • Memory crash on a big scene. You loaded it all at once. Chunk it; only resolve splats near the camera.
  • Pop-in is jarring. LOD/stream steps are too coarse. Cross-fade between detail levels, and size coarse splats up so the low-detail frame still reads.
  • No WebGL2 / weak device shows nothing. No fallback. Detect and show a poster image with a load button.

Exercises

  1. Throttle your network in dev tools and reload a real splat viewer. If it's blank for seconds, it isn't streaming — fix the load order.
  2. In the demo, turn LOD off and zoom way out: you're now paying full price for a thumbnail. Turn it on and watch the count (and cost) drop.
  3. Add a poster-image fallback to a viewer: show a static render until WebGL is ready and the first splat chunk has loaded.

That's Season 2 — and the course so far

Sixteen episodes ago a Gaussian splat was a buzzword. You've now built the renderer from scratch (Season 1) and run the whole real-world pipeline — capture, tooling, cleanup, compression, integration, effects, animation, and shipping (Season 2). You can take a phone into a room and end with a clean, compressed, animated splat scene streaming live on a URL, and debug every step because you know what each layer is doing.

Season 3 — Frontiers goes to the research edge: the training loop from the inside, dynamic-scene methods, relighting, generative splats, city-scale streaming, SLAM, and mesh↔splat. But that's optional depth. The working knowledge is done. Go capture something.