Abstract
RigAnyFace (RAF) is a scalable auto-rigging framework that transforms static 3D facial meshes into expressive, industry-standard FACS blendshape rigs. By combining a triangulation-agnostic mesh network with a novel 2D supervision strategy, RAF can rig diverse topologies—including non-humanoid heads and meshes with disconnected components like eyeballs—using mostly unlabeled data.
Introduction
Facial rigging is a critical yet labor-intensive step in digital character creation, involving the transformation of a static 3D sculpt into an animatable avatar. Traditionally, artists spend dozens of hours manually defining deformations for every possible expression. While auto-rigging tools exist, they often rely on strict templates or struggle with "disconnected components" common in high-quality production meshes, such as separate geometries for eyeballs, teeth, and tongues. Furthermore, training deep learning models for this task is hindered by the scarcity of high-quality 3D rigged assets.
Methodology
The RigAnyFace (RAF) framework addresses these challenges through several architectural and training innovations.
Triangulation-Agnostic Backbone and Global Encoding
RAF utilizes DiffusionNet, a neural network that operates on the intrinsic geometry of a surface, making it independent of mesh resolution or triangulation layout. To handle disconnected components, a Global Encoder was integrated. While standard diffusion layers pass information between connected vertices, the global encoder captures holistic mesh characteristics, ensuring that separate parts like eyeballs move in coordination with the eyelids. The model is conditioned on FACS (Facial Action Coding System) parameters, which serve as the control interface for expressions.
2D Supervision Strategy
The "secret sauce" for scaling RAF to unlabeled data is its 2D supervision strategy. To train on meshes without existing 3D rigs, the authors leverage generative 2D knowledge:
- MegActor: A 2D generative model animates a rendering of a neutral 3D head into a posed 2D image.
- RAFT: An optical flow estimator calculates 2D pixel displacement between the neutral and posed images.
- Differentiable Rendering: Predicted 3D deformations are rendered into 2D and compared against these generated images and flow fields. This allows the model to learn 3D rigging from 2D "hallucinations."
Data and Training
The researchers curated a dataset comprising:
- Rigged Subset: 161 professionally rigged heads (96 poses each).
- Unlabeled Subset: 175 neutral meshes.
- Data Augmentation: A standardized UV layout was used to interpolate between head geometries, expanding the training set. Evaluation was performed on "in-the-wild" assets from ICT FaceKit, Objaverse, and CGTrader to test generalizability.
Results and Discussion
RAF demonstrates superior performance and robustness across various metrics:
- Accuracy: On humanoid heads, RAF achieved a Mean Absolute Error (MAE) of 1.01mm, significantly outperforming the previous state-of-the-art (NFR at 2.77mm).
- Robustness: The model successfully rigs non-humanoid characters and stylized avatars where baseline methods often produce artifacts.
- Efficiency: With only 5.4M parameters, generating a full blendshape rig takes between 3 to 8 seconds.
- Disconnected Components: RAF is the first neural auto-rigger to natively support and accurately animate separate eyeballs and mouth interiors without manual preprocessing.
Key Insights
A major finding is that supervising with 2D displacement (optical flow) is more effective than RGB differences, as flow captures subtle motion vectors essential for expressions. Furthermore, by using 2D animation models for supervision, RAF effectively distills vast amounts of 2D facial motion knowledge into the 3D domain.
Conclusion
While RigAnyFace represents a significant leap in auto-rigging, it faces limitations with "shell-like" meshes lacking internal geometry and sensitivity to extreme discretization. Future work includes incorporating background triangulation for improved robustness and expanding the dataset to include more extreme non-humanoid topologies.
Summary updated