huggingface / gsplat.js

JavaScript Gaussian Splatting library.
MIT License
1.33k stars 87 forks source link

`.splat` file compression #18

Open dylanebert opened 10 months ago

dylanebert commented 10 months ago

The size of .splat files could be reduced by 4x, without any quality loss, by working directly with the SplatTexture format, which they are rendered from anyway.

A magic header could be added for backwards compatibility.

softyoda commented 10 months ago

Hi, I wish to know will this be an integration of the optimization of @mkkellogg compression to have the same format? Or will have to re-process plys to .splat format?

dylanebert commented 10 months ago

I think it would be nice to have cross compatibility. I'll check out his implementation and see if we can come to a universal .splat format

edit: opened an issue in the mkkellogg repo about establishing a universal .splat format

julien-blanchon commented 10 months ago

Could be nice to anticipate some possible quantize format such as what as be done by playcanvas here https://github.com/playcanvas/engine/pull/5831