NeuMesh: Learning Disentangled Neural Mesh-Based Implicit Field for Geometry and Texture Editing

Bangbang Yang, Chong Bao, Junyi Zeng, Hujun Bao, Yinda Zhang, Zhaopeng Cui, Guofeng Zhang

Introduction

Neural implicit rendering, exemplified by Neural Radiance Fields (NeRF), has fundamentally transformed 3D scene reconstruction and photorealistic synthesis. Despite their success, these models remain notoriously difficult to edit. Because geometry and appearance are typically "baked" into global neural network weights, performing localized modifications—such as bending a specific object or repainting a corner—often requires retraining or complex global optimizations.

Overview of NeuMesh: Volume rendering anchored to a mesh scaffold enables diverse editing tasks like geometry deformation and texture manipulation.

NeuMesh addresses this challenge by anchoring neural implicit fields to a traditional mesh scaffold. This hybrid representation enables the fine-grained geometry and texture editing capabilities that artists have long utilized in software like Blender, while maintaining the high-fidelity rendering quality of implicit fields.

Methodology

NeuMesh bridges the gap between high-quality neural rendering and intuitive mesh-based editing through a disentangled, vertex-based representation.

Mesh-based Scene Structure

The system utilizes a triangle mesh (reconstructed via methods like NeuS) as a spatial scaffold. Instead of relying on a global MLP, NeuMesh stores latent codes directly on the mesh vertices. Each vertex carries two distinct codes: a geometry code ($l^g$) and a texture code ($l^t$). During volume rendering, query points $\mathbf{x}$ along a ray interpolate these vertex codes based on their local neighborhood on the mesh.

The NeuMesh pipeline, featuring mesh-based scene structure, disentangled decoders, and the supervision process.

Disentangled Decoding

To ensure that shape and appearance can be modified independently, NeuMesh employs two separate decoders:

  1. Geometry Decoder: Processes the interpolated geometry code and signed distance information to output Signed Distance Function (SDF) values ($s$).
  2. Radiance Decoder: Takes the interpolated texture code, view direction, and surface normals to produce radiance colors ($c$).

Learnable Sign Indicators

Traditional meshes are often non-watertight or topologically complex. To help the model distinguish between the "inside" and "outside" of a surface, the authors introduce learnable "sign indicator" vectors attached to each vertex. These indicators assist in computing accurate signed distances even when the underlying mesh scaffold is imperfect.

Training and Optimization

Training begins with a distillation phase, where a pre-trained implicit model (the "teacher") transfers its knowledge to the NeuMesh scaffold. This is followed by fine-tuning to capture sharp details. For localized edits like texture painting, the system uses "probing rays" to identify specific affected vertices, ensuring that updates remain spatially confined and do not cause artifacts in unrelated regions.

Editing Paradigms

NeuMesh enables several powerful editing workflows:

  • Geometry Deformation: Because neural features are tied to vertices, the implicit field naturally "follows" the mesh. Applying standard non-rigid deformations (like As-Rigid-As-Possible deformation) to the scaffold automatically deforms the rendered neural object.
  • Texture Swapping and Filling: By manipulating the latent texture codes ($l^t$), users can transfer the appearance of one object to the geometry of another or fill missing regions with consistent textures.
  • Texture Painting: Users can paint directly onto the rendered surface. The system maps these 2D strokes to the 3D mesh vertices, updating only the relevant local codes to preserve the rest of the scene.

Experimental Evaluation

The researchers evaluated NeuMesh on the DTU and NeRF 360° Synthetic datasets. NeuMesh demonstrated superior rendering quality compared to previous texture-editable models. On the DTU dataset, it achieved a PSNR of 28.289, significantly outperforming NeuTex (26.080) and the baseline NeuS (26.352).

Qualitative results showcased high-fidelity edits, such as transferring a teddy bear's fur to a Buddha statue and painting precise logos on complex geometries like a skull or a Lego set, all while maintaining multi-view consistency. Quantitative geometry tests (Chamfer distance) confirmed that NeuMesh preserves reconstruction quality while adding significant editability.

Conclusion and Future Work

NeuMesh successfully integrates the flexibility of mesh-based editing with the photorealism of neural implicit fields. While it represents a significant step forward, limitations remain. The current model does not explicitly disentangle material properties from environmental lighting, meaning highlights may not update correctly during deformation. Additionally, the method depends on a successful initial mesh reconstruction, making it less suitable for "wispy" structures like smoke. Future research will focus on integrating advanced material and lighting estimation to enable dynamic relighting alongside geometry and texture manipulation.

Summary updated

BibTeX
@inproceedings{yang2022neumesh,
  author = {Bangbang Yang and Chong Bao and Junyi Zeng and Hujun Bao and Yinda Zhang and Zhaopeng Cui and Guofeng Zhang},
  title = {{NeuMesh: Learning Disentangled Neural Mesh-Based Implicit Field for Geometry and Texture Editing}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19787-1\_34},
}
Figure