Marrow Open Marrow

Guides

How to prepare a 3D model for auto rigging

By bxzex · · Updated

Most models rig fine straight out of the box. When one does not, it is nearly always one of the things on this list. Five minutes in your modelling app before you upload saves rigging the same character three times.

How to prepare a 3D model for auto rigging: a character rigged and animated in Marrow

The checklist

  1. Standing upright in a T-pose or A-pose, with space under the arms and between the legs. See T-pose or A-pose.
  2. Apply transforms. In Blender, select everything and use Object, Apply, All Transforms. Leftover rotations and negative scales confuse every importer, not only Marrow.
  3. Any size. Marrow scales the model to a standard height while it rigs, so centimetres or metres both work.
  4. Any facing. Marrow guesses up and forward, and you can turn it in the second step.
  5. Remove what is not the character: ground planes, lights, cameras, a base the model stands on. A plane under the feet makes the rigger think the feet are huge.
  6. Separate parts are fine. Eyes, teeth, hair, armour plates and shoes can be separate meshes. Marrow rigs them all together.
  7. Close the big holes. The rigger works out what is inside the body. A body with no neck cap or open sleeves still works, but a torso that is just a front surface does not.

Clothing

Tight and short clothing follows the body well. Long coats, capes, wide skirts and dresses below the knee have no bones of their own in an auto-rig, so they follow the legs and stretch when the character takes a big step. For those, rig the body, then add cloth simulation or extra bones in your game engine.

Polygon count

Marrow rigs inside your browser, so very dense models take longer. A typical game character of 10,000 to 200,000 vertices rigs in seconds. Sculpts and scans over a million vertices can take a minute or more; decimating them first is faster and the result looks the same in motion.

Which format to export

Then rig it

Follow the step-by-step rigging guide.

Weapons, bags and other props

A sword, staff or shield that is its own mesh and touches the hand moves with the hand, so you can leave it on. A backpack, quiver or tail moves with the part of the body it is attached to. Anything welded into the body mesh is treated as skin, and a long blade welded to a hand can be mistaken for a longer arm. If you plan to swap weapons in a game, always take them off first and attach them to the hand bone in the engine.

Hair, hats and helmets

Everything above the chin moves with the head: hair, ears, horns, hats and helmets. Long hair that hangs over the shoulders or back also stays with the head, so it swings as one piece. It will not flow on its own, because there are no hair bones.

A two-minute check in Blender

  1. Press Numpad 1 for the front view. The character should look at you and the feet should be level.
  2. Press Numpad 3 for the side view. The body should be upright, without leaning.
  3. In Edit Mode, use Mesh, Clean Up, Merge by Distance to join doubled points along seams.
  4. Turn on Face Orientation in the overlays. Blue is outside. If parts are red, select all and press Shift N.
  5. Export with File, Export, glTF 2.0 and choose the .glb format.

Questions

Does the model have to be one mesh?

No. Characters made of dozens of separate pieces rig fine, and layers such as armour over clothes over skin are given matching weights so they bend together.

Do I need clean, quad topology?

It helps, since loops around elbows and knees bend more smoothly, but triangles, scans and sculpts rig too.

Is there a limit on file size?

There is no set limit. Your browser’s memory is the limit, since everything happens on your computer. Over about a million points, reduce the mesh first.

Open Marrow