MeshODE: A Robust and Scalable Framework for Mesh Deformation

Jingwei Huang, Chiyu Max Jiang, Baiqiang Leng, Bin Wang, Leonidas J. GuibasarXiv 2020

Abstract

MeshODE is a novel framework designed to deform 3D meshes by treating the process as a continuous, fluid-like flow. By leveraging Neural Ordinary Differential Equations (Neural ODEs) and a robust preprocessing pipeline, MeshODE achieves high-fidelity, self-intersection-free deformations between complex CAD models without requiring pre-defined point correspondences.

Introduction

3D shape deformation is a fundamental task in computer graphics, essential for applications ranging from character animation to "scan-to-CAD" fitting. Despite its importance, two major challenges persist. First, the correspondence problem: traditional methods often rely on manual landmarks to map source mesh parts to target mesh parts, a process that is difficult to automate for shapes with disparate structures. Second, "dirty" CAD data: real-world models frequently contain non-manifold edges, self-intersections, and disconnected components. Standard algorithms often fail on such data, leading to unrealistic artifacts or structural collapse.

While deep learning approaches have attempted to address these issues by predicting vertex offsets, they often lack physical constraints, resulting in self-intersections. MeshODE addresses these limitations by modeling deformation as a bijective flow field.

Methodology

The core of MeshODE is the treatment of mesh deformation as a continuous flow, parameterized by a neural network.

Neural ODEs for Bijective Flow

Instead of predicting a single displacement vector for each vertex, MeshODE defines a velocity field $\mathbf{f}_\theta(x, y, z, t)$ using a neural network. The final position of a vertex is determined by integrating this velocity field over time from $t=0$ to $t=1$. This approach, rooted in Neural Ordinary Differential Equations, ensures the mapping is naturally bijective and invertible. Crucially, because two points in a continuous flow cannot occupy the same space simultaneously, the resulting deformations are guaranteed to be free of self-intersections.

Overview of the MeshODE framework, showing the deformation of a source mesh to a target via a neural flow field, and various downstream applications.

Robust Preprocessing for CAD Models

To handle the complexities of real-world CAD data, MeshODE employs a specialized preprocessing pipeline:

  • Feature-aware Subdivision: The mesh is re-sampled into regular, isosceles right triangles to better preserve sharp geometric features.
  • Virtual Links: To maintain structural integrity, "virtual links" are established between components that are geometrically close but topologically disconnected. This allows the framework to treat complex assemblies as a single coherent object.
  • Uniform Skeleton Template: A simplified graph proxy is used during optimization to maintain computational efficiency.

Evaluation and Results

The framework was evaluated using the ShapeNet repository, specifically targeting chair, table, and sofa categories. A new benchmark of 3,625 shape pairs was introduced to test unsupervised pairwise deformation across significant geometric variations.

Performance and Robustness

MeshODE demonstrates superior performance compared to existing methods like 3DN and NeuralCage. Quantitatively, it achieved Chamfer distances (a metric for fitting error) that were 3x to 8x lower than competing approaches. Qualitatively, MeshODE produces smoother, more physically plausible results that respect the original shape's characteristics while accurately matching the target's proportions.

A sequence showing the smooth, continuous deformation of a source chair (green) into a target chair (red) using the MeshODE framework.

Furthermore, MeshODE exhibits remarkable robustness to global transformations. Unlike many deep learning models that are sensitive to orientation, MeshODE's per-instance optimization ensures stability even when shapes are rotated.

Discussion and Conclusion

MeshODE's success stems from several key insights:

  • Per-instance Optimization: By optimizing parameters for each specific shape pair rather than relying on broad generalization, the model avoids errors common in "universal" deformation networks.
  • Bijectivity and Consistency: The invertible nature of the flow field provides inherent cycle consistency, stabilizing the optimization process.
  • Geometric Connectivity: The use of virtual links allows the framework to handle disconnected parts effectively, which is critical for man-made objects.

While MeshODE is highly effective, future work could address its current limitations. For instance, the framework does not explicitly preserve volume, which may be important for organic modeling. Implementing a divergence-free velocity field could mitigate this. Additionally, multi-grid optimization strategies could further enhance the model's ability to capture both global structure and fine-grained surface details.

Summary updated

BibTeX
@misc{huang2020meshode,
  author = {Jingwei Huang and Chiyu Max Jiang and Baiqiang Leng and Bin Wang and Leonidas J. Guibas},
  title = {{MeshODE: A Robust and Scalable Framework for Mesh Deformation}},
  year = {2020},
  eprint = {2005.11617},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.11617},
}
Figure