TL;DR
Mesh Neural Cellular Automata (MeshNCA) is a framework that "grows" textures directly onto 3D meshes, eliminating the need for traditional UV mapping and its associated artifacts. By generalizing cellular automata to arbitrary graphs, the authors enable real-time, interactive texture synthesis that can be guided by images, text, or motion and generalizes to complex, unseen objects after being trained only on a simple sphere.
What Problem Does This Paper Address?
In computer graphics, applying textures to 3D models usually relies on UV mapping—flattening a 3D surface into a 2D plane. This process is notoriously difficult, often resulting in visible seams, stretching, and distortions. While some methods try to synthesize textures directly in 3D space, they often require training a new model for every single mesh or lack the speed needed for real-time user interaction.
The authors address the challenge of creating a generalizable, real-time, and interactive 3D texture synthesis method. They want a system that can take a simple description (like "colorful crochet") or an image and instantly generate a seamless, high-quality texture on any 3D object, from a bunny to a coffee mug.
Methods
MeshNCA builds upon Neural Cellular Automata (NCA), which typically operate on regular 2D grids (like pixels). To move to 3D, the authors treat the vertices of a 3D mesh as "cells" in a graph.
The core of the model is a two-stage update rule:
- Perception Stage: Each cell looks at its neighbors to gather information. Since meshes aren't regular grids, the authors use Spherical Harmonics as basis functions for message-passing. This allows cells to understand the relative direction and distance of their neighbors on a curved surface, effectively replacing the standard 2D convolution kernels used in image-based NCAs.
- Adaptation Stage: A tiny Multi-Layer Perceptron (MLP) takes the perceived information and decides how to update the cell's state (its color, height, etc.).
Training is performed using a differentiable renderer, allowing the model to be supervised by:
- Images: Using a style loss (relaxed Wasserstein distance) to match the statistics of a target texture.
- Text: Using the CLIP model to ensure the rendered 3D object matches a text prompt (e.g., "a vase made of stained glass").
- Motion: Using 2D optical flow supervision to create dynamic, moving textures.
Datasets
- Textures: 72 Physically-Based Rendering (PBR) textures (albedo, normal, roughness, etc.) were used for image-guided training.
- Meshes: The model is trained exclusively on a simple icosphere (a sphere made of triangles).
- Evaluation: A newly curated dataset of 47 diverse meshes (including the Stanford Bunny, dragons, and various household objects) was used to test generalization. These were remeshed to ensure uniform vertex distribution.
Key Insights and Ideas
- Generalization from a Sphere: Perhaps the most surprising finding is that training on a single icosphere is sufficient. Because the NCA rules are purely local, the model learns "how to be a texture" rather than "how to texture a sphere," allowing it to work on any geometry at test time.
- Spherical Harmonics as Kernels: Using spherical harmonics is a clever way to give cells a sense of "north, south, east, west" on an arbitrary 3D surface. This directional awareness is crucial for synthesizing anisotropic textures like wood grain or scales.
- Texture Grafting: The authors discovered that models sharing a "lineage" (one initialized with the weights of another) are compatible. This allows for grafting, where a user can "paint" one texture onto another, and the model naturally creates a smooth, coherent transition between them.
- Multimodal Alignment: Because all channels in the NCA state are updated by the same local rules, the model naturally aligns different texture maps (like color and bumpiness) without needing explicit constraints.
Key Results
- User Preference: In a study, participants preferred MeshNCA results over state-of-the-art baselines 71.1% of the time for image-guided synthesis and 64.0% for text-guided synthesis.
- Efficiency: The models are incredibly lightweight, containing only 12k to 25k parameters.
- Real-Time Performance: The authors implemented the forward pass in WebGL, enabling a browser-based demo that runs interactively on consumer laptops and even smartphones.
- Interactive Control: Users can change texture orientation, density (via mesh subdivision), and even "regrow" parts of a texture in real time.
Limitations and Future Work
- Mesh Quality: MeshNCA is sensitive to the underlying mesh. It requires high-poly meshes with a relatively uniform distribution of vertices to produce high-quality results.
- Semantic Blindness: The model is "agnostic to mesh semantics." It doesn't know it's texturing a human; it just sees a graph. Consequently, it cannot easily put "eyes" on a face or "shoes" on feet—it applies the texture homogeneously.
- Future Directions: The authors suggest moving from vertex-based to face-based operations to reduce the dependency on high-poly counts. They also envision extending the framework to point clouds and fluid simulations.
Summary updated