Hi people. I just learned about the GLB files but I want to know the ideal characteristics that a model or scene should have to be exported as GLB, optimization and clean up and any other useful tips. They asked me about this on a job interview but I have no idea at all and I cannot find information about this.
Replies
GLB is a self-contained 3d model format, with geometry and textures inside. More info here
https://github.com/KhronosGroup/3DC-Asset-Creation/blob/main/asset-creation-guidelines/RealtimeAssetCreationGuidelines.md
I helped write parts of that, since I'm in weekly calls where we design the glTF format itself, via the Khronos Group. If you have more questions I'm happy to help answer them.
I also made a few tutorials about how to edit GLBs, like this: https://github.khronos.org/glTF-Tutorials/AddingMaterialExtensions/
What 3d software are you using? Most have glTF exporters these days.
Cool, I'll read all now. Thanks! The software I use is 3ds Max which has no option to export as .GLB or .glTF. I have read Blender can. So, I'm not sure if I must practice Blender or download a plugin/script for 3ds Max. The job offer also talked about "export assets from each vertical in snap-spec". I don't know what this means at all...
3ds Max got a GLTF export with 3ds Max 2023. GLTF/GLB Import is not there yet but i think they are working on it
https://help.autodesk.com/view/3DSMAX/2023/ENU/?guid=GUID-EFBB037D-C4EB-42D2-9CE1-30FCAD483C31
in the meantime you can use the great BabylonJS expxorters to export from 3ds Max
https://github.com/BabylonJS/Exporters
there are many great other tools available for the format, for example gestaltor
https://gestaltor.io/
Yeah, babylon.js has a great exporter. We use it here a lot.
"snap-spec" might mean the models should match the specifications from Snap? https://docs.snap.com/lens-studio/references/guides/adding-content/3d/exporting-content/overview
Best to ask them for clarification. Always better to ask than to assume, potentially wrongly!
Gestaltor is a nice tool. But I prefer Visual Studio Code, with the glTF plugin. It's free, and it's much more powerful. I explain how to use it in that tutorial.
Gestaltor is a UI based editing tool, whereas Visual Studio Code is text based, so they do serve slightly different user types. I tend to prefer the former, but VSCode is worth the extra effort, so powerful.
Thanks. I'll try to update because I have 3ds Max 2022.
Thanks for the info. I'll check about Gestaltor later.