Directed Distance Fields for Constant-Time Ray Queries on Gaussian Splatting

Subhankar MIshra
5/30/2026
cs.GRcs.CV

Official code: smlab-niser/ddf-gs (1 star, Python, MIT, last commit 2026-05-30).

Abstract

3D Gaussian Splatting (3DGS) renders new views of a scene in real time. Like every rasterizer, it answers only primary rays, the rays from the camera through the image.

Show full abstract

It cannot trace the secondary rays that shadows, ambient occlusion, and global illumination need. We turn a trained 3DGS scene into a ray oracle by distilling a Directed Distance Function (DDF). The DDF is a small neural field. It takes a ray, given by an origin and a direction, and returns the distance to the first surface and whether the ray hits anything. Each query is one forward pass. The field is 52~MB, and its size does not depend on the number of Gaussians, so its cost and memory stay flat as the scene grows. We make three points. First, we study what supervision a DDF needs. Depth rendered from the Gaussians is too blurry to teach thin parts, while clean distance supervision recovers them. Second, we measure speed. The DDF is 26 to 72 times faster than sphere tracing an equivalent signed distance field, and unlike a bounding volume hierarchy built over the Gaussians, even on dedicated RT-core hardware, its query time and memory do not grow with the scene. Third, we show a pipeline that needs no mesh: images give a 3DGS scene, a neural surface gives clean distances, and the DDF learns from them. We use the DDF as a secondary-ray oracle for global illumination. It reproduces reference ray-traced shadows at 30.3~dB and ambient occlusion at 21.3~dB across 142 objects, and on real captured scenes. Our codes are available at https://github.com/smlab-niser/ddf-gs.

View on arXivView PDF

Code Implementations(1)

smlab-niser/ddf-gsOfficial100%
MIT

Directed Distance Fields for Constant-Time Ray Queries on Gaussian Splatting

10PythonMay 30, 20266 months agoMIT

Similar Papers

Cite this paper

@article{mishra2026directed,
  title  = {Directed Distance Fields for Constant-Time Ray Queries on Gaussian Splatting},
  author = {Subhankar MIshra},
  year   = {2026},
  eprint = {2606.00817},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.00817v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.00817.svg)](https://codeofpaper.com/paper/2606.00817)

Discussion