LSNIF: Locally-Subdivided Neural Intersection Function
Shin Fujieda, Chih-Chen Kao, Takahiro Harada
TL;DR
LSNIF tackles the inefficiency of BVH-based ray-geometry queries by learning a per-object neural representation that is trained offline and independent of scene conditions. It combines local geometry voxelization, a sparse multi-resolution hash-grid encoder, and a single object-wide MLP to predict occlusion, hit distance, normals, albedo, and material indices for arbitrary rays, enabling memory-efficient rendering and flexible ray queries. The approach achieves memory reductions up to $106.2\times$ compared to compressed BVHs, supports scene editing and instancing, and can integrate with wavefront path tracing or DirectX Ray Tracing, albeit with current trade-offs in primary visibility and compute divergence. Future work will extend texture coordinates, topology changes, LODs, and adaptive sampling to broaden applicability and performance across diverse rendering pipelines.
Abstract
Neural representations have shown the potential to accelerate ray casting in a conventional ray-tracing-based rendering pipeline. We introduce a novel approach called Locally-Subdivided Neural Intersection Function (LSNIF) that replaces bottom-level BVHs used as traditional geometric representations with a neural network. Our method introduces a sparse hash grid encoding scheme incorporating geometry voxelization, a scene-agnostic training data collection, and a tailored loss function. It enables the network to output not only visibility but also hit-point information and material indices. LSNIF can be trained offline for a single object, allowing us to use LSNIF as a replacement for its corresponding BVH. With these designs, the network can handle hit-point queries from any arbitrary viewpoint, supporting all types of rays in the rendering pipeline. We demonstrate that LSNIF can render a variety of scenes, including real-world scenes designed for other path tracers, while achieving a memory footprint reduction of up to 106.2x compared to a compressed BVH.
