How to convert a bbmodel to GLB
- Press Open a model or drop the file on the page.
- Press Download GLB (glTF). You get one .glb file with the model, the textures and all animations.
Options
- 1 block = 1 unit. Blockbench counts 16 units per block. With the box ticked the model is divided by 16, so a block-sized model is 1 metre in Blender or Godot. Untick it to keep Blockbench's numbers.
- Animations and fps. Every animation becomes one glTF animation with the same name. Untick it for a static model.
Opening the GLB
- Blender: File > Import > glTF 2.0. The animations are in the Action list of the Dope Sheet's Action Editor.
- Godot 4: drop the .glb into the project folder. For the pixel look set the texture filter to Nearest.
- three.js: GLTFLoader, the animations are in
gltf.animations.
The textures keep their hard pixel edges (nearest filtering is written into the file) and transparent pixels are cut out, not blended.
What is kept and what is not
- Kept: cubes with per-face UV and box UV, mirrored and rotated faces, inflate, meshes, the bone tree with its pivots, every texture, and in GLB the bone animations (linear, step, smooth and bezier keyframes, Molang maths in keyframes).
- Animations in GLB are baked: each animation is sampled at the frame rate you set (24 per second unless you change it), so it plays the same everywhere, but the original keyframes are not in the file.
- Not kept: particle and sound keyframes, animation controllers, and animated (flipbook) textures, where the first frame is used. Locators, null objects and cameras are left out.
The loader is the one my sprite tool uses. I checked its poses and texture mapping against Blockbench 5.2 itself, and the GLB and OBJ files against Blender.
Other formats
- bbmodel to OBJ: for programs that do not read glTF.
- bbmodel to PNG: a picture of the model, or its textures.
- GLB / glTF to bbmodel: open a glTF model in Blockbench.
- OBJ to bbmodel: an OBJ with its textures as a Blockbench project.
- FBX to bbmodel: an FBX model as a Blockbench project.
- MagicaVoxel to Blockbench: a .vox file as cubes.
- Also read: .dae (Collada), .stl and .ply. Open them on any of these pages and press Download .bbmodel.
- Writing FBX: not done here. Save as GLB, open it in Blender (File > Import > glTF 2.0) and export FBX from there.
- Minecraft JSON (Java block / item models, Bedrock geometry): that is Blockbench's own job, File > Export in Blockbench. This page is for getting a model out to other programs.
MOSSBACK STUDIO