How to load huge obj file in Babylon.js

Hi,

I am having NWD file (20.7 MB). After converted to obj format, obj file (843 MB). When load the obj file, the system got to hang. Then I try to drag and drop in Babylon Sandbox, still the same. Kindly help me load a huge obj in Babylon.js. Any other way to load this obj file?

Thanks.

It does not work because in browsers there is a limit on how big a string can be (the .obj data are loaded into a string), and I think it is something like 512MB in Chrome. It is bigger in Firefox, maybe your file would load in this browser.

We would need to stream the file and create the meshes “on the fly” to overcome this limitation but it is not currently supported.

1 Like