feat: add SOG compression for smaller splat delivery#23
Open
mohamedsobhi777 wants to merge 1 commit intoaukilabs:developfrom
Open
feat: add SOG compression for smaller splat delivery#23mohamedsobhi777 wants to merge 1 commit intoaukilabs:developfrom
mohamedsobhi777 wants to merge 1 commit intoaukilabs:developfrom
Conversation
Add a post-processing step that compresses the Gaussian Splat PLY output to SOG (Spatially Ordered Gaussians) format using 3dgsconverter, achieving ~2.5-20x file size reduction depending on SH content. The SOG file is uploaded first (smaller, faster for viewers), followed by the lossless .splat as backup. SOG compression is best-effort — if it fails, the pipeline still succeeds with the .splat output. The domain-viewer already supports SOG via the splat_data_sog data type, so no viewer changes are needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.splatconversion.sogfile first (smaller, faster viewer load), then the lossless.splatas backup.splatoutputsplat_data_sogto thePCSOGSZIPformatChanges
compress_sog.py— converts PLY to SOG using3dgsconverterrun.py— adds non-fatal SOG compression step afterconvert_ply2splatserver/rust/runner/src/lib.rs— uploads SOG assplat_data_sogbefore.splatuploadDockerfile— adds3dgsconverterdependency andcompress_sog.pydocs/specs/2026-03-30-sog-compression-design.md— design specTest plan
compress_sog.pyconverts a PLY file to SOG formatrun.pycompletes successfully with SOG steprun.pycompletes successfully when3dgsconverteris unavailable (fallback).sogand.splatartifacts.splatand.sogoutputs