Load large babylon files upto 5gb

Guys, Can anyone help me to write your on mesh optimization code in my project, ill attach the git link code of mine here ,PLS write and send it back

Browser tabs have limited memory (around 2Gb IIRC), so I don’t think there is a way to load a 5Gb file. If you want to parse/optimize a 5Gb file, the only way I see is to do it offline with native code.

  1. Use glb when possible, code in js for missing things, do not use babylon file whenever possible
  2. Compress your model with gltfpack or gltf-transform
  3. Firefox has larger heap limit than chrome, but slower

See other discussions here:

@Rohith_K @Cedric I think this topic is a double … ? :thinking:

1 Like

yes :stuck_out_tongue:

1 Like

Please don’t duplicate post

1 Like