CLI Utility

SplatTransform

SplatTransform is PlayCanvas’s open-source library and CLI for converting, editing, filtering, merging, analyzing, and packaging Gaussian Splatting data.

Stage: UtilityCommand-line conversionSOG packagingAsset optimization

What It Does

SplatTransform is the command-line counterpart to browser editing workflows. It is useful when you need repeatable processing instead of manual cleanup.

It can convert formats, apply transforms, filter properties, merge scenes, generate summaries, and prepare SOG assets for web delivery.

How To Use It In 3DGS

  • Install the CLI globally or add the package to a Node.js project.
  • Run simple conversions such as PLY to SOG, PLY to compressed PLY, or SPLAT to PLY.
  • Apply transforms, filters, or merging steps as part of an asset pipeline.
  • Generate web delivery outputs such as SOG or standalone HTML viewers when needed.

Things To Watch

  • CPU compression can be much slower than GPU-backed paths for SOG workflows.
  • Every conversion should be visually checked in the target viewer.
  • When delivering SOG, remember it is optimized for runtime size rather than archival losslessness.

Useful Output Targets

  • SOG is the main web-delivery target: PlayCanvas documents it as typically 15-20x smaller than equivalent PLY, using lossy quantization.
  • LOD and voxel outputs are useful when a splat becomes part of an interactive app or game-like scene, not just a viewer.
  • CSV and statistical summaries are handy for debugging weird files: check bounds, opacity ranges, NaNs, or unusually high SH data before conversion.