In this post, we'll show you how to create an animoji character within DeepAR.
Here we used an alien model that already has the main bones.
Regarding the bones, you can check the Reference mask model post to get to know all the geometry and bones that you need to make the rig model.
You don't need to use all the bones that are mentioned in the post before, you can put just several main bones that are needed for the rig.
At the end of this post, there is an example folder with DeepAR studio file that contains all assets mentioned here. You can download and try it yourself to better understand all this.
Here are the steps that will help you to understand the rigging of the face model inside of the 3d modeling tool (like Blender or Maya).
Import the model to a new scene containing the deepAR rig. Any joint can be removed and you can even add new ones but the existing ones should not be changed .
Adjust the model position to roughly fit the rig so the geometric features and the joints match as closely as possible.
Most models won’t match perfectly and that’s ok. This is used to get a rough scale reference and doesn’t influence the rig behaviour.
Bind the model to the joints and paint the influences accordingly.
4. Testing the rig
You can test the rig to preview it’s behaviour by dragging the joints around and making adjustments to the influences. Make sure that before exporting all the joints are in their original place (binding pose).
Once the model is ready, make sure everything is in order, especially the transformation values of your meshes and groups. Translations and Rotations should be at zero and Scale at one.
Once you have all this done, export the model as an FBX file.
Import the FBX file inside the DeepAR Studio, set the materials and there it is, animoji ready to be used.
Download this example with all assets