GLB, FBX or OBJ to a sprite sheet
A 3D model file already holds everything a sprite sheet needs: the shape, the colours, the skeleton and the animations. Here is what each format brings, how to export it cleanly, and how to turn it into a pixel-art sheet with one row per animation and side.




Converting a 3D model into a sprite sheet means rendering it from one or more fixed cameras, frame by frame through each animation, and laying the frames out on one image with a data file that says where each one is. The format you start from decides how much of that arrives without extra work.
What each format brings
| Format | Extensions | What reaches the sheet |
|---|---|---|
| glTF | .glb, .gltf |
mesh, materials, textures, skeleton and every animation in the file |
| FBX | .fbx |
mesh, materials, skeleton and animations; textures if they are found |
| Wavefront OBJ | .obj |
a still mesh, with the colours and textures its .mtl file names |
| MagicaVoxel | .vox |
the voxels as a model, each cube in its colour |
glTF and GLB are the best choice. A .glb is one file with everything inside it; a .gltf brings its .bin and textures beside it or embedded. Each animation in the file becomes a clip, and each clip becomes an action you can put on the sheet.
FBX is what Mixamo and many asset stores hand out. Pixor makes its units metres and its axes +Y up, and Mixamo exports work as they are (the Mixamo tutorial goes through one). The weak point is textures: an FBX often points at image files by a path on its author’s disk.
OBJ is a still mesh. It converts well for props, items and vehicles seen from several sides, but it has nothing to animate.
Textures must be PNG or JPEG. Colours come from the materials and textures, then are reduced to the look’s palette, so a model with plain material colours converts as well as a textured one.
Exporting cleanly from Blender
Most trouble starts in the export, not in the conversion. For Blender 4’s glTF exporter (File › Export › glTF 2.0):
- Real size. Model in metres: a person about 1.8 m tall. Then Object › Apply › All Transforms (Ctrl+A) so the scale and rotation are baked in.
- Format: glTF Binary (.glb), so textures travel inside the file.
- Include › Limit to › Selected Objects, with the mesh and its armature selected, so stray cameras, lights and reference planes stay out.
- Transform › +Y Up, on (the default).
- Data › Mesh › Apply Modifiers, so a mirror or subdivision is exported as you see it.
- Animation: every action you want must be exported. Push each one down to its own NLA track, or give it a fake user, and export with the animation mode that takes actions; each comes out as a clip of its own name.
- Facing. Build the character facing Blender’s front view (Numpad 1), the convention exporters expect.
Clips can also live in separate files that share the skeleton: knight.glb with knight@walk.glb and knight@idle.glb are found together. Before converting, pxr inspect knight.glb lists the objects, materials, bones and clips the file really holds.
Converting with Pixor
- Import. Drag the file onto Pixor’s window. The model’s Import section says what arrived (parts, materials, clips, bones) and what it corrected.
- Cameras. A camera is one side of the sprite. In the Scene step, select South and use Ring round the model for 4, 8, 16 or 32 sides. Cameras with the same view, pitch and size share one sheet, one scale and one palette.
- Animations. The Action step lists the clips. In the Asset step, the Sprites node picks which actions go on the sheet and how many frames each keeps.
- Look. In the Style step, pick a Preset: selout, clean, retro4, flat.
- Export (Ctrl+E): a PNG sheet, plus whichever files you add: JSON, an Aseprite file with a tag per action and side, a Godot
SpriteFramesresource, GIFs, normal maps.
The same conversion from the command line:
pxr render knight.glb --clip all --ring 8 --export png,json,aseprite,godot -o out/knight.png
--clip walk --clip attack takes only those clips, --smart-frames 6 keeps six poses of each clip instead of 12 frames a second (3D animation to sprite sheet covers frames, holds, loops and root motion), and --anim walk.fbx adds the clips of another file. pxr batch models/ --ring 8 --export all -o out/ converts a whole folder of .glb, .fbx, .obj and .vox files. For an OBJ, --turntable 16 adds an action of 16 frames turning the model once.
No install needed for a first try: the free browser demo imports a model, sets the camera, plays its animation and writes a PNG sheet.
Why not render frames and shrink them
You can render each frame in a 3D program and scale it down, but the result is a small render, not pixel art: soft edges, hundreds of near-identical colours, light that flickers from frame to frame. Scaled by an uneven amount, pixels of different sizes end up side by side, the problem called mixels. Four ways to turn 3D into pixel art compares that route with the others.
How the sheet is laid out
Every export writes one row per action and side, one column per frame, every cell the same size, with the pivot (the point under the model’s feet) on the same pixel in each cell, so the sprite never swims. The one exception is a clip with an effect that counts toward the fit: it gets bigger cells of its own, the model on the same pixels, and its frames give their own pixor.cell and pixor.pivot in the JSON. A row is named for its action and side, such as walk_Southeast. The JSON uses Aseprite’s array layout: frames[i].frame is the cell rectangle, frames[i].duration its hold in milliseconds, and meta.frameTags groups the frames into animations, so loaders written for Aseprite read it. Godot 4 8-direction sprites shows a game picking the side.
Common problems
- The model is tiny or huge. A download can be two hundred times too big. Pixor corrects a unit that is plainly wrong and says so in the Import section; otherwise fix the size in the modeller and apply the scale. To keep several models at one scale, set the camera’s Size to Pixels per metre (
--pixels-per-metreon the command line). Sprite sizes has numbers that work. - The sides look swapped, the South row showing the back. The model was built facing another way. Turn it in the modeller and export again, or turn the cameras instead:
--camera-yaw 180turns every side on the command line. - Grey or plain parts on an FBX. A texture was not found, or is not PNG or JPEG. Pixor draws the part in its material’s own colour and the Import section selects it. Re-export as GLB with the textures embedded.
- Animations missing from a GLB. Only one action was exported. Check with
pxr inspect, then export again with every action on an NLA track, or put each clip in aname@clip.glbfile. - Only a T-pose. With no clip selected Pixor shows the bind pose; pick a clip. A humanoid with no clips at all can take a library clip fitted to its skeleton (
--clip lib:walk, alsoidle,run,jump,attack,hit,death); a creature, a gait made from its own legs (--gait). - The character walks out of its cell. The clip moves its root. Set the action’s root motion to In place (
--root-motion in-place); the offset per frame goes into the JSON for the game to use.
Questions
Which is better for sprites, GLB or FBX?
GLB, when you can choose: one file holds the mesh, the textures, the skeleton and every animation. FBX works too, and Mixamo FBX files import as they are, but FBX textures are often separate files that go missing on the way.
Can I convert an OBJ file to a sprite sheet?
Yes, as a still model: an OBJ has no skeleton or animation. Render it from as many sides as you need, or add a turn so the sheet shows it spinning.
Can I convert a GLB to a sprite sheet in the browser?
Yes. The free Pixor demo at demo.pixor.art imports a model, sets up the camera, plays its animation and writes a PNG sheet in the default look, with no sign-up and no watermark. Other looks and export formats are in the desktop app.