When i try export scene from blender to three.js , json file has large size, but the same scene export to babylon.js has size less. Why so?

There are many reasons this could happen:

  • three.js and babylon.js formats are just different, and may encode things in different ways
  • the three.js exporter may be including extra data that isn't in the babylonjs file like normals or tangents (whether that's data you want or not, who knows)

tl;dr this is fine and normal. Whichever engine you decide to use, both support many formats (FBX, glTF, OBJ) and some may be more efficient than either JSON format. glTF and Draco are may give smaller sizes, in particular.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.