[SOLVED] Large 3D Gaussian Splatting file doesn't load on mobile

Hi there,

I’m facing an issue with importing and viewing a .ply file which has over 3 million splats on the mobile device. The entire page just fails to load on mobile but works fine on a desktop web editor. I haven’t found any documentation related to the size constraint on mobile. Is it a known limitation? Thanks!

@slimbuck

Hi @nancywan1004 ,

Few questions:

  • how large is the file?
  • is it in compressed format?
  • are you testing on iphone or android?

The problem is that we don’t know what the browser memory limits are. Ideally we could test for this at runtime and handle it, but that’s not possible.

Thanks!

Hello,

Thanks for the quick response!

  1. The file is 884.7MB (quite large)
  2. No it’s not in a compressed format
  3. I’m testing in a Safari browser on iPhone 13 iOS 18.1.1

Hi,

Yeah, unfortunately Safari is notoriously tight on memory. Fortunately you have some options:

  • try compressing the .ply to compressed.ply
  • if your scene includes spherical harmonics you can try without
  • generate the scene with fewer splats if you can

The last point must generally be done at training time, but the rest you can do in SuperSplat. If you’d like me to take a look at your project/scene.ply you can add me to your project (username slimbuck).

Thanks!

1 Like

Would Draco work .plys? if it does, that might also help.

1 Like

Draco might make it smaller download, but the memory required to store and render the splat scene would be the same.

2 Likes

Thanks that’s fair I will try doing more optimizations.

But on the other hand, other than the approaches you mentioned, I wonder if there could be some approach similar to LOD for optimized rendering from different distances?

It would be awesome to add LOD rendering, but LOD will only require more data, never less. So it might make rendering faster, but it won’t result in less memory usage. (Unless you only stream in the required LOD, but that’s crazy talk :slight_smile: )

1 Like

Thanks a lot that’s very helpful! I tried setting the SH bound to 0 and exported the compressed .ply and now the file size has been decreased to less than 60MB. It could load fine in my Safari browser now. :slight_smile:

As for the LOD thing, it was an idea that we came across that might solve our large 3dgs rendering issue but it’s true that the required LOD’s would be a problem and doing it in realtime is even more of a memory bomb. Appreciate the insights though!