Jump to content

Minimizing the size of Babylon file


oschakravarthi
 Share

Recommended Posts

Hi,

We are building our models in Maya and exporting them to Babylon for viewing them on web. The generated Babylon file is very big. Like 250 MB which is not suitable for web viewing because it takes a lot of time to load. 

 

Any recommendations to follow to get a small Babylon size without compromising much on the quality of the model?

Link to comment
Share on other sites

15 hours ago, MarianG said:

And you can export it as  gltf format and apply draco Compression on it.

 

19 hours ago, Deltakosh said:

Hello, you can obviously turn on gzip on server side (it will save A LOT!)

Also consider using binary babylon files: https://github.com/BabylonJS/Exporters/tree/master/Tools/ConvertToBinary

Thank you @Deltakosh and @MarianG.

 

I remember, once I noticed that when I loaded a gltf model, babylonjs was considering it as an atomic. I mean, when I access scene.meshes, it give only one mesh which contains the complete model. I  could not access individual elements. Am I correct?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...