CLIPtortionist: Zero-shot Text-driven Deformation for Manufactured 3D Shapes

Xianghao Xu, Srinath Sridhar, Daniel RitchiearXiv 2024 · DOI

Abstract

CLIPtortionist is a zero-shot framework that deforms 3D meshes of manufactured objects to match text descriptions (e.g., turning a "stiff chair" into a "comfy sofa"). By combining a novel part-based bounding box graph with global optimization, it achieves significant semantic changes while perfectly preserving the original surface details and textures.

Introduction

Editing 3D shapes is a cornerstone of game development and industrial design, but it is traditionally a labor-intensive process. While text-to-image AI has seen rapid advancement, text-to-3D editing remains challenging. Existing methods often fall into two categories: surface-only editing, which fails to change the fundamental "bulk" shape, and identity-destroying deformation, which often "melts" the mesh and destroys fine geometric details.

The challenge lies in finding a "Goldilocks" zone: a method for large-scale semantic deformations (e.g., changing an airliner into a fighter jet) without losing the high-frequency details that ensure realism.

Methods

The authors introduce two key innovations to address these challenges:

1. BoxDefGraph (The Deformation Model)

Instead of moving individual vertices or using a single bounding box, the system automatically decomposes a mesh into a graph of Axis-Aligned Bounding Boxes (AABBs).

  • Hierarchical Control: Boxes are organized into a tree structure (BoxDefTree). Scaling a "parent" box (e.g., an airplane's fuselage) causes "child" boxes (e.g., wings) to move accordingly, maintaining connectivity.
  • Constraint Solving: Specific operations ensure that touching parts remain connected, preventing the model from breaking apart during extreme deformations.

2. CMA-ES Optimization

The system uses CLIP (Contrastive Language-Image Pre-training) to score how well a shape matches a text prompt. Because the CLIP landscape is noisy and full of local optima, standard gradient descent often fails. Instead, CLIPtortionist employs CMA-ES (Covariance Matrix Adaptation Evolutionary Strategy), a gradient-free global optimization algorithm. This approach is feasible because the BoxDefGraph has relatively few degrees of freedom (DoF), focusing on scaling parameters for a small set of boxes.

The CLIPtortionist architecture, illustrating the BoxDefGraph deformation model and CMA-ES optimization loop.

Results

The researchers evaluated CLIPtortionist using models from the ShapeNet dataset, focusing on airplanes, chairs, and tables.

Qualitative results of CLIPtortionist deforming various 3D models based on text prompts.

Compared to leading baselines like Text2Mesh and TextDeformer, CLIPtortionist demonstrated:

  • Superior Text Alignment: Higher CLIP similarity scores across all categories.
  • Detail Preservation: Using Gaussian Curvature (GC) as a metric, the method preserved original geometry significantly better than TextDeformer, which often smooths out fine features.
  • Physical Plausibility: Fewer self-intersections and cleaner, more usable 3D models.

Discussion and Key Insights

The core insight of CLIPtortionist is the use of an inductive bias for man-made objects. Since manufactured items are typically composed of rectangular and circular parts aligned with major axes, using boxes as the primary deformation unit provides "structural common sense." This prevents physically impossible "melted" geometry.

Furthermore, the paper highlights a crucial DoF trade-off: vertex-level deformation has too many degrees of freedom, leading to noise, while a single bounding box has too few. BoxDefGraph hits the sweet spot of expressiveness and stability.

Limitations

The current implementation focuses primarily on scaling boxes. While translation and rotation are possible, they are not yet part of the automated system. Additionally, the "boxy" assumption is optimized for manufactured objects and may struggle with organic shapes like animals or humans. Future work may involve adding physically-based constraints and learning optimal deformer setups automatically.

Summary updated

BibTeX
@misc{xu2024cliptortionist,
  author = {Xianghao Xu and Srinath Sridhar and Daniel Ritchie},
  title = {{CLIPtortionist: Zero-shot Text-driven Deformation for Manufactured 3D Shapes}},
  year = {2024},
  eprint = {2410.15199},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.15199},
}
Figure