Synchronized capture, training & playback

4D gaussian splat

4D Gaussian splats in Unity with DynGsplat

DynGsplat offers an experimental route for playing 4D Gaussian splats (4DGS) in Unity. Unity uses the converted DGS asset in this setup; it does not load the original numbered PLYs directly.

Start in Xangle Camera Server or Orbit with multi-camera video. Use Extractor to extract synchronized frames and verify camera calibration, then prepare and train the range with Open4DGS. Export to player writes one full-detail PLY per capture iteration. Use a short subset of that export to test the conversion below.

Convert a short test range and play it in Unity

DynGsplat plays its own DGS format. Its converter expects the PLY layout and point correspondence used by the project; renaming the files alone does not guarantee compatibility with a Xangle export. Test motion and appearance before converting a full take.

  1. Follow the project's compressor setup. Copy a short range into a separate folder and name the copies point_cloud_0.ply, point_cloud_1.ply, and so on. Keep the original export unchanged.
  2. From CompressScripts, run python compress.py --data_path "<ply-folder>" --output_path "<output-folder>" --st 0 --ed 9 --data_name Take for ten test frames. Replace 9 with the last index for a different range. Keep the resulting .dgs file and Data folder together. The upstream converter writes 30 fps by default, so check the playback speed against the capture.
  3. Install gsplat-unity and then the DynGsplat package. In Window → Asset Management → Addressables → Groups, choose Create Addressables Settings if the project does not already have them.
  4. Import the output folder under Assets, outside any Resources folder. Add Dyn Gsplat Renderer to a GameObject, assign the imported Dyn Gsplat Asset to Asset Ref, and enable Is Playing.

If conversion fails or the splats flicker or change color unexpectedly, stop at the test range and use a destination that reads each PLY independently.

Updated

Page links