TL;DR
This paper introduces AnimateAnyMesh, the first feed-forward framework for generating high-quality, text-driven animations of arbitrary 3D meshes in seconds. It achieves this by proposing a novel DyMeshVAE architecture for efficient mesh compression and a Rectified Flow-based model for text-conditional animation, all trained on a massive new dataset of 4 million dynamic mesh sequences.
What Problem Does This Paper Address?
Creating realistic 4D (3D over time) content is a significant challenge. While generating static 3D assets has seen rapid progress, animating them based on text prompts is still difficult. Existing methods often struggle with:
- Complexity: Modeling the spatio-temporal dynamics of 3D shapes is computationally intensive.
- Data Scarcity: High-quality, annotated 4D datasets are rare.
- Efficiency: Many approaches require time-consuming per-scene optimization or post-processing, hindering real-time applications.
- Versatility: Existing methods are often limited to specific object categories (like humans) or require specialized input.
This paper aims to bridge this gap by enabling efficient, universal, text-driven animation of any 3D mesh.
Methods
AnimateAnyMesh is built upon two core components:
- DyMeshVAE (Dynamic Mesh Variational Autoencoder): This novel VAE architecture is designed to compress and reconstruct dynamic mesh sequences.
- Trajectory Decomposition: It separates a dynamic mesh into its initial vertex positions and relative trajectories.
- Topology-Aware Attention: It leverages the mesh's connectivity (adjacency matrix) to inform attention mechanisms. This helps disentangle spatial and temporal features and prevents trajectory entanglement, ensuring that connected vertices move coherently.
- Hierarchical Encoding: It uses distinct positional encodings for initial positions and relative trajectories, mapping them to high-dimensional spaces.
- Fixed Token Representation: Despite varying mesh complexities, DyMeshVAE compresses sequences into a fixed number of tokens (512 by default), enabling efficient processing. It can dynamically adjust token counts during inference for different meshes.
- Shape-Guided Text-to-Trajectory Model: This component bridges the gap between text descriptions and mesh animations.
- Rectified Flow Training: It employs a Rectified Flow-based training strategy in the compressed latent space of DyMeshVAE. This allows it to learn the conditional distribution of relative trajectories given text prompts and initial mesh features.
- Multi-modal Learning: It integrates text embeddings (from a CLIP text encoder) with the latent representations from DyMeshVAE using adaptive layer normalization (AdaLN) and self-attention mechanisms. This facilitates robust learning across modalities.
The overall framework is feed-forward, meaning it can generate animations directly without iterative optimization per scene.
Datasets
- DyMesh Dataset: The authors introduce a new, large-scale dataset comprising over 4 million dynamic mesh sequences. This dataset is curated from diverse 4D assets and includes text annotations. It consists of approximately 2.6 million 16-frame sequences and 1.6 million 32-frame sequences.
Key Insights and Ideas
- Dynamic Meshes as Ideal Representation: The paper argues that dynamic meshes are superior to implicit representations like NeRF for 4D content creation due to their rendering efficiency and natural decoupling of geometry and motion.
- Leveraging Existing 3D Assets: Instead of generating 4D content from scratch, the approach leverages the vast availability of static 3D meshes, making animation more accessible.
- Topology is Crucial for Motion: The insight that mesh topology is key to disentangling semantic regions and ensuring coherent motion is central to the DyMeshVAE's success. Without it, spatially close but semantically different vertices can exhibit similar, incorrect movements.
- Decomposition for Efficiency: Separating initial shape from motion (relative trajectories) simplifies the modeling problem and allows for more efficient compression and reconstruction.
- Feed-Forward for Speed: The shift to a feed-forward architecture is a major step towards real-time 4D animation, eliminating the need for per-scene optimization.
Key Results
- High-Quality Animations: AnimateAnyMesh generates semantically accurate and temporally coherent mesh animations that faithfully align with text descriptions.
- Speed: The framework can produce animations in just a few seconds (e.g., ~6 seconds on an Nvidia A800 GPU for a mesh with 20K vertices).
- Versatility: It works with meshes of arbitrary topology, demonstrating broad applicability.
- Quantitative Performance: The method achieves state-of-the-art results on VBench metrics (I2V Subject Similarity, Motion Smoothness, Aesthetic Quality) and user studies, outperforming methods like DG4D, L4GM, and Animate3D. For instance, in quantitative comparisons, AnimateAnyMesh achieved scores of 0.954 (I2V), 0.995 (M.Sm), and 0.539 (Aest.Q), significantly higher than competitors. User study scores were also substantially better (e.g., 4.505 for text-to-motion alignment).
- Efficiency: It is significantly faster than existing methods, with inference times around 6 seconds compared to minutes or even hours for others.
Limitations and Future Work
- Limitations:
- The paper acknowledges that while DyMeshVAE can handle varying mesh resolutions, the current implementation is optimized for specific frame counts (16/32 frames) during training.
- The reliance on text prompts means animation quality is tied to the clarity and specificity of the input text.
- While the dataset is large, the diversity of motions and object types might still have room for expansion.
- Future Work:
- The authors suggest that their framework is a significant step towards making 4D content creation more accessible and practical.
- Future work could explore extending the framework to handle even longer animations, more complex interactions, and potentially incorporate physics-based constraints for even greater realism.
- Further research into more robust text-to-motion alignment, especially for nuanced or abstract prompts, would be beneficial.
Summary updated