Understanding .splat vs .ply files
maingsplat.js supports both .ply and .splat file formats:
- .splat files: A compact format consisting of a raw
Uint8Arraybuffer. They offer quicker loading times than.plyfiles but do not contain SH (Spherical Harmonics) coefficients, meaning colors are not view-dependent. - .ply files: Standard Gaussian Splatting files that can contain SH coefficients for view-dependent coloring.
Note on Conversion: You can convert .ply to .splat and vice versa. However, be aware that converting .ply $\rightarrow$ .splat $\rightarrow$ .ply will result in the loss of SH coefficients.