Marrow Open Marrow

Blog

What is a GLB file? GLB vs glTF vs FBX vs OBJ

By bxzex · · Updated

A GLB file is a 3D model packed into one binary file: the mesh, its materials and textures, a skeleton, skin weights and animations, all together. It is the binary form of glTF, an open standard from the Khronos Group, the same group behind OpenGL and Vulkan.

What is a GLB file? GLB vs glTF vs FBX vs OBJ: a character rigged and animated in Marrow

GLB vs glTF

They hold the same thing. A .gltf is a readable JSON file that points to separate files for the geometry (.bin) and textures (.png, .jpg). A .glb packs all of that into one file. GLB is easier to share and upload because nothing can go missing.

GLB vs FBX

GLB vs OBJ

OBJ is a simple, old format for static meshes. It has no skeleton, no skin weights and no animation, and its textures live in a separate MTL file and image files. Fine for a statue, not for a character that moves.

What opens GLB files

Why Marrow downloads are GLB

One file carries the character, its skeleton and every animation you picked, each as its own named take, and it opens the same way in every engine above. Marrow also reads GLB, glTF, FBX, OBJ, STL, PLY, DAE, 3DS, 3MF, USDZ and VRM on the way in, so you can bring a model in any of those and leave with a rigged GLB.

What is inside a GLB

A GLB has a short header and two chunks. The first is the same JSON text a .gltf file holds: a list of nodes, meshes, materials, skins and animations that point at each other by number. The second is raw binary data: positions, normals, texture coordinates, skin weights, keyframes and the image files. A program reads the list first and then knows where in the binary part to find each piece, which is why GLB files load quickly.

How big should a GLB be?

If a file is too big, look at the textures first. Halving the width and height of an image removes three quarters of its data.

Convert to and from GLB

Common questions

Is a GLB file safe to open?

It holds data, not programs, so there is no code in it to run.

Can a GLB hold more than one animation?

Yes, as many as you like, each with its own name. A Marrow pack puts all the animations you picked into a single file.

Why does my GLB look different in two viewers?

The file says what the surface is like, and the viewer supplies the light. Different lighting and tone mapping change the look without changing the file.

Open Marrow