Combining gltf file with its bin file

Hi, I have a gltf file and a bin file for my gltf model. I am loading them using streams. However, I don’t know how to combine those files while rendering in babylon. Is it possible to do that, and if yes, what is the right way to do it?

What you want is to use GLB as they would contain everything in one file. You could try https://glb-packer.glitch.me/ or @bghgary might have tons of other options to share.

I use this one from @bghgary:

My shell extension only works on Windows. If you want to do this on other platforms, you can try vscode with glTF Tools.

Note that putting it all into one GLB may be less efficient than separate files if you are intending on downloading the content and have multiple binary/texture files as it prevents concurrent downloads.