Mesh-Guided Neural Implicit Field Editing

Can Wang, Mingming He, Menglei Chai, Dongdong Chen, Jing Liao · DOI

Introduction

Neural Implicit Fields (NIFs), such as NeRF and NeuS, have revolutionized 3D scene reconstruction by providing unparalleled photorealism. Despite their success, these representations often act as "black boxes," lacking the intuitive, vertex-based control that artists have traditionally used with polygonal meshes. Modifying specific scene elements—such as deforming a character's limb or altering a texture—remains a significant challenge because NIFs store scene information within the weights of a neural network rather than explicit geometric handles.

In "Mesh-Guided Neural Implicit Field Editing," researchers from the City University of Hong Kong, Netflix, Google, and Microsoft propose a framework that bridges this gap. Their approach allows users to edit a neural field as easily as a standard 3D mesh, supporting both simple deformations and complex topological changes, such as adding or removing objects.

Methodology

The proposed framework utilizes a backward-based approach centered on a differentiable colored mesh. This pipeline is built upon three technical pillars:

  1. Differentiable Mesh Extraction: Using Marching Tetrahedra (DMTet), the system extracts a polygonal surface from the neural field. This process is differentiable, allowing changes in the mesh's geometry to generate gradients that update the underlying neural field's density.
  2. Differentiable Color Extraction: To ensure 3D-native color consistency, the authors designed a color extractor that approximates vertex colors from the volume rendering integral near the surface. This avoids the artifacts common in simple 2D image projections.
  3. Octree-based Optimization: To manage the memory demands of high-resolution grids, the system employs an octree structure. This focuses optimization on the object's surface and edited regions, enabling high-resolution edits (equivalent to a $512^3$ grid) on consumer-grade hardware.
Figure 1: The mesh-guided editing process allows for complex topological changes, such as adding components to a model, by using a differentiable mesh proxy.

The workflow follows a two-step optimization: first, the user modifies the geometry (e.g., adding a component), which updates the density field. Second, the user "paints" on the mesh, and the radiance field is updated to match the new appearance.

Key Insights and Results

A major advantage of this method is its ability to handle topology changes. Unlike previous deformation-based methods, this approach can handle the "birth and death" of geometry by optimizing the density field directly via Chamfer distance between source and target meshes. This allows for the addition of entirely new geometric features that were not present in the original neural field.

Figure 2: High-fidelity reconstruction of a sculpture, demonstrating the system's ability to capture fine-grained surface details before and after editing.

Evaluations on the DTU, NeRF 360°, and BlendedMVS datasets show that the method outperforms state-of-the-art techniques like NeuMesh and NeUVF. Key results include:

  • Geometric Flexibility: Successful execution of complex edits, such as adding a magic wand to a character or deforming furniture, while preserving the original scene's lighting and background.
  • Color Consistency: Sharp, view-consistent textures that avoid the blurring seen in prior methods.
  • Efficiency: The octree optimization allows for processing scenes with millions of nodes on a single GPU without memory errors.

Conclusion and Future Work

While the framework provides a robust "What You See Is What You Get" (WYSIWYG) bridge for NIF editing, limitations remain. Currently, lighting is "baked" into vertex colors, meaning shadows do not automatically update when objects are moved. Additionally, extremely thin structures like hair remain difficult to represent as clean meshes. Future research will focus on inverse rendering to disentangle lighting from material properties, enabling true relighting of edited scenes.

Summary updated

BibTeX
@misc{wang2023mesh,
  author = {Can Wang and Mingming He and Menglei Chai and Dongdong Chen and Jing Liao},
  title = {{Mesh-Guided Neural Implicit Field Editing}},
  year = {2023},
  eprint = {2312.02157},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.02157},
}
Figure