Handling Antialiased and 2DGS Scenes
mainSplatTransform preserves tags for scenes trained with antialiasing or as 2DGS (2D Gaussian Splatting) where the output format supports it.
Detection (On Read):
- PLY: Uses header comments (e.g.,
SplatRenderMode: default | mip | 2dgsorantialiased 0 | 1). - SPZ: Uses an antialiased header bit.
- SOG: Uses the
"model"entry inmeta.json. - 2DGS Detection: A PLY with
scale_0/scale_1but noscale_2is automatically read as 2DGS.
Preservation (On Write):
- .ply / .compressed.ply: Carries
comment SplatRenderMode: mip | 2dgs. - .sog / meta.json: Carries
"model": "antialiased" | "2dgs". - .spz: Sets its antialiased bit (Note: cannot represent 2DGS and will warn).
- Other formats: Tags are dropped silently.
Note: Combining inputs with different models will trigger a warning and the result will be written untagged.