CesiumGS / obj2gltf

Convert OBJ assets to glTF
Apache License 2.0
1.72k stars 308 forks source link

Remove buffer length limit #309

Open OksanaTunik opened 2 months ago

OksanaTunik commented 2 months ago

Previously there was a hard-coded limit of 192MB for the buffer length, preventing the library from processing larger files. The comment in the code mentioned the issue in NodeJS which was resolved in 2016 for Node 0.12 (which has reached its EOL long-long ago).

There is sort of a workaround for this limitation by using the separate and separateTextures options, but they are not always a suitable solution.

This change address #59 .