oschakravarthi Posted October 28, 2018 Share Posted October 28, 2018 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? Quote Link to comment Share on other sites More sharing options...
Guest Posted October 29, 2018 Share Posted October 29, 2018 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 Quote Link to comment Share on other sites More sharing options...
MarianG Posted October 29, 2018 Share Posted October 29, 2018 And you can export it as gltf format and apply draco Compression on it. Quote Link to comment Share on other sites More sharing options...
oschakravarthi Posted October 30, 2018 Author Share Posted October 30, 2018 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? Quote Link to comment Share on other sites More sharing options...
Guest Posted October 30, 2018 Share Posted October 30, 2018 Nope gltf is like babylon.js, it will return the list of meshes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.