Abstract
Embedding polygonal mesh assets within photorealistic Neural Radiance Fields (NeRF) volumes, such that they can be rendered and their dynamics simulated in a physically consistent manner with the NeRF, is under-explored from the system perspective of integrating NeRF into the traditional graphics pipeline. This paper designs a two-way coupling between mesh and NeRF during rendering and simulation. We first review the light transport equations for both mesh and NeRF, then distill them into an efficient algorithm for updating radiance and throughput along a cast ray with an arbitrary number of bounces. To resolve the discrepancy between the linear color space that the path tracer assumes and the sRGB color space that standard NeRF uses, we train NeRF with High Dynamic Range (HDR) images. We also present a strategy to estimate light sources and cast shadows on the NeRF. Finally, we consider how the hybrid surface-volumetric formulation can be efficiently integrated with a high-performance physics simulator that supports cloth, rigid and soft bodies. The full rendering and simulation system can be run on a GPU at interactive rates. We show that a hybrid system approach outperforms alternatives in visual realism for mesh insertion, because it allows realistic light transport from volumetric NeRF media onto surfaces, which affects the appearance of reflective/refractive surfaces and illumination of diffuse surfaces informed by the dynamic scene.
Introduction
Neural Radiance Fields (NeRF) have revolutionized 3D scene capture, offering unprecedented photorealism from sparse image sets. However, NeRFs typically exist as "frozen" volumes of light and density, presenting significant challenges for integration with traditional computer graphics tools. Standard polygonal meshes—the backbone of modern gaming and VFX—cannot easily be inserted into these volumes without breaking physical consistency.
Two primary hurdles exist: rendering inconsistency and simulation difficulty. Standard NeRFs operate in non-linear sRGB space, whereas physics-based path tracers require linear space for accurate light transport. Furthermore, NeRFs lack explicit surfaces, making collision detection for physics engines mathematically ambiguous. Most current solutions rely on simple compositing, which fails to capture realistic reflections, shadows, or physical interactions, leading to "floating" artifacts.
Methodology: Two-Way Coupling
To bridge this gap, we propose a hybrid system that enables two-way coupling between meshes and NeRF volumes.
Unified Light Transport
Instead of separate rendering passes, we interleave ray-marching (for NeRF) and ray-tracing (for meshes). As a ray traverses the scene, it dynamically updates its radiance and throughput based on whether it encounters a volumetric density or a mesh surface. This unified approach allows for complex light paths, including multiple bounces between virtual objects and the captured environment.
HDR NeRF and Light Estimation
To resolve color space mismatches, we train an HDR variant of NeRF using 32-bit linear images. This allows the NeRF to function as a volumetric lighting map, providing physically accurate illumination to inserted meshes. Furthermore, we employ differentiable rendering (via Mitsuba3) to estimate light source positions within the captured NeRF scene, enabling virtual meshes to cast realistic shadows onto the NeRF background.
Physics-Based Simulation
For physical interaction, we convert the NeRF's implicit density into a Signed Distance Field (SDF). This provides a clear mathematical boundary for collision detection. Using Extended Position-Based Dynamics (XPBD) within the NVIDIA Warp framework, the system simulates cloth, rigid bodies, and soft bodies interacting with the captured environment in real-time.
Key Insights and Results
The integration of HDR data is the critical "mathematical bridge" that allows NeRF to interface with traditional path tracers. This enables effects like the "infinite mirror," where rays bounce multiple times between reflective meshes and NeRF volumes.
Performance and Realism
Evaluated on benchmarks like Mip-NeRF 360 and custom HDR captures, our system demonstrates superior visual realism. In a user study, 13 out of 15 participants preferred our results over state-of-the-art alternatives like NVDiffRec or Nerfstudio. Physically, the SDF-based collision handling eliminates common "sinking" artifacts.
Crucially, the system remains highly efficient. The simulation module runs 25x–50x faster than previous methods like NeuPhysics. The entire pipeline achieves interactive rates of up to 40 FPS on an RTX 2070 GPU, making it suitable for interactive AR/VR applications.
Conclusion and Future Work
This work presents a significant step toward unifying neural representations with traditional graphics pipelines. While we achieve realistic mesh-to-NeRF shadows, current limitations include the inability of the NeRF itself to cast shadows onto meshes without further material decomposition. Future research will focus on decomposing NeRFs into separate albedo and roughness components and scaling the system to city-scale environments.
Summary updated