Exploring Babylon.js for an enterprise project and using a GLB


I am currently evaluating babylonjs for an enterprise project and usually they are very strict about the file formats and allow only certain formats (for web dev it would be html, css, js, standard image/audio/video formats). I remember asking this question in the older forum and then I could rename the exported babylon files to a js extension and it would work like a charm by registering it in the loader. Was wondering if I had to use a glb file similarly (due to the compressed file size and package) can something similar be possible?


Absolutely. You will be able to load it and then create an ObjectUrl on it like here: