Generate Rigify armature and the metarig from VRM model
- Blender 3.6 or earlier version (does not work on 4.0 and above, yet)
- VRM Add-on for Blender
- Download
vrm_to_rigify_metarig.zip
from releases page. - Install the addon in Blender at
Edit
>Preferences
>Add-ons
. - Tick the box to enable the addon.
- Import a VRM model using VRM Add-on for Blender (
File
>Import
>VRM
). - Select the imported armature model.
- Open 3D viewport sidebar panel (press
N
). - Go to
VRM To Rigify Metarig
tab. - Click
One-Click Setup
.
If the metarig and the Rigify rig has already been generated, you can make changes to the metarig (for e.g. enabling finger IK control) and regenerate the Rigify rig.
After the Rigify rig has been generated, the One-Click Setup
will change to Regenerate
when you select the metarig.
You can regenerate using Rigify's own control, but by doing so, you will missing out on the post-generate setup like unused bones removal and eye direction fix.
The eye bones generated by VRoid Studio are not aligned to the eye meshes. This will cause the eye to not track the eye control bone.
This addon will try to fix the eye direction by using the middle point of the iris mesh. However, some models have a peculiar shape of iris mesh causing the pupil to not be in the middle. To deal with this issue, this addon provides a utility to recalibrate the eye direction manually.
To recalibrate the eye direction:
- Position 3D Cursor right at the pupil of the LEFT eye (
Shift
+RMB
for default keymapping,LMB
for right-click select keymapping).- Another way is to go to edit mode and select the vertex (or vertices) that is located at the pupil. Then, snap the cursor (
Mesh
>Snap
>Cursor to Selected
). - You can also create an empty and adjust the position of the empty to the pupil, then snap the 3D cursor to it (
Object
>Snap
>Cursor to Selected
).
- Another way is to go to edit mode and select the vertex (or vertices) that is located at the pupil. Then, snap the cursor (
- Click
Recalibrate Eye Direction
underUtilities
panel.
- Select both the Rigify rig and the object you want your character to look at. Make sure the Rigify rig is active (yellow text).
- Click
Look At Object
underUtilities
panel.
This addon follows the workflow of using Expy Kit addon to do animation retargeting based on this CGDive's video.
This addon also provides a utility to extract basic skeleton from the metarig so you can skip the preparation of Mixamo rig as per instructed by CGDive's video (you still need to do the automatic weighting).
- Enable/disable IK stretch for all limbs.
- Hide/show toon shader. Useful for low performance hardware.
- Show default/show all control layers.
MIT License