Introduction
Inverse rendering aims to decompose images into their constituent components—shape, material, and lighting—a critical task for creating high-fidelity digital twins. While Neural Radiance Fields (NeRFs) have revolutionized 3D reconstruction, they typically "bake" lighting and shadows directly into the scene representation. This entanglement makes it impossible to realistically change lighting or insert new objects. FEGR (Neural Fields meet Explicit Geometric Representations) addresses this by combining the high-fidelity detail of neural fields with the efficiency of explicit meshes for ray-tracing shadows in complex outdoor environments.
The FEGR Framework
The core of FEGR is a hybrid pipeline designed to disentangle intrinsic scene properties from environmental lighting, enabling photorealistic relighting and object insertion.
Neural Intrinsic Field and Hybrid Rendering
The scene is represented by a neural field using multi-resolution hash encoding to map 3D coordinates to a Signed Distance Function (SDF), surface normals, and Physically Based Rendering (PBR) properties such as albedo, roughness, and metallicity.
To handle complex lighting like cast shadows, FEGR employs a hybrid deferred rendering approach:
- Primary Rays: Volumetric rendering generates a "G-buffer" (depth, normals, and materials) for each pixel.
- Secondary Rays: An explicit mesh is extracted from the neural field via Marching Cubes. High-performance ray-tracing (NVIDIA OptiX) against this mesh is then used to calculate visibility and shadows, allowing for physically accurate secondary light effects.
HDR Lighting and Semantic Priors
Lighting is modeled as a neural HDR environment map, allowing the system to estimate the sun's position and intensity even from limited data. To prevent the model from "cheating" by painting shadows onto textures, FEGR utilizes semantic segmentation masks. This enforces a "shading prior" that encourages consistent albedo within the same semantic class (e.g., road or sidewalk), forcing the optimizer to explain dark patches as shadows rather than dark paint.
Experimental Evaluation
FEGR was evaluated on the NeRF-OSR benchmark, the Waymo Open Dataset, and a high-quality in-house dataset (RoadData), covering both multi-illumination and single-illumination scenarios.
Key Results
- Relighting Superiority: On the NeRF-OSR dataset, FEGR significantly outperformed state-of-the-art methods, achieving a PSNR improvement of up to 2.19 dB.
- Clean Albedo: Qualitative results show that FEGR produces much "cleaner" albedo maps (textures without baked-in shadows) compared to baselines, which is critical for realistic relighting.
- Virtual Object Insertion: The framework enables inserting virtual objects into real-world driving footage with accurate, physically-based shadows. In a user study, participants preferred FEGR's object insertions over existing methods by a margin of over 68%.
Conclusion
FEGR demonstrates that a hybrid approach—leveraging neural fields for high-resolution representation and explicit meshes for visibility queries—is highly effective for urban inverse rendering. While currently limited to static scenes and requiring significant computational resources, it provides a scalable way to "un-render" cities from standard camera images. Future work will focus on integrating dynamic elements and learning priors from larger datasets to further automate the decomposition process.
Summary updated