A Generalized Ray Formulation For Wave-Optics Rendering

Shlomi Steinberg, Ravi Ramamoorthi, Benedikt Bitterli, Eugene d'Eon, Ling-Qi Yan, Matt Pharr

Abstract

Under ray-optical light transport, the classical ray serves as a local and linear "point query" of light's behaviour. Such point queries are useful, and sophisticated path tracing and sampling techniques enable efficiently computing solutions to light transport problems in complex, real-world settings and environments. However, such formulations are firmly confined to the realm of ray optics, while many applications of interest, in computer graphics and computational optics, demand a more precise understanding of light. We rigorously formulate the generalized ray, which enables local and linear point queries of the wave-optical phase space. Furthermore, we present sample-solve: a simple method that serves as a novel link between path tracing and computational optics. We will show that this link enables the application of modern path tracing techniques for wave-optical rendering, improving upon the state-of-the-art in terms of the generality and accuracy of the formalism, ease of application, as well as performance. Sampling using generalized rays enables interactive rendering under rigorous wave optics, with orders-of-magnitude faster performance compared to existing techniques.

Introduction: The Limits of Ray Optics

In computer graphics, ray optics has long been the standard for light transport. By assuming light travels in straight, infinitesimal lines that behave linearly, researchers have developed highly efficient path-tracing algorithms. However, this model fails to capture wave-optical phenomena such as the iridescent shimmer of a beetle’s wing or the colorful glints on scratched metal.

Simulating these effects has traditionally been a computational bottleneck. Previous wave-optics methods often required "forward" simulation (tracing from the light source), which is notoriously inefficient for complex scenes where most light never reaches the sensor. This is known as the sampling problem, where backward (sensor-to-source) tracing is difficult to formulate for waves.

Comparison of backward vs. forward sampling. Traditional wave-optics methods struggle with backward sampling, a problem solved by the generalized ray formulation.

Methodology: Bridging Rays and Waves

The authors bridge the gap between rays and waves by introducing the generalized ray. Instead of a zero-width ray, they define a wave function (specifically a Gaussian beam) that retains the best parts of a classical ray—it is mostly local and behaves linearly—but carries the mathematical information needed to simulate wave interference.

Key Innovations

  • Photoelectric Detection Theory: By modeling how physical sensors (like CMOS cameras) integrate light over a finite area and time, the authors show that wave-optical transport can be treated as a series of linear "point queries," just like classical path tracing.
  • Sample-Solve Algorithm: This two-stage approach first uses generalized rays to trace paths backward from the sensor to find light sources (Sample). Once a path is established, it applies Physical Light Transport (PLT) machinery to calculate complex wave interactions along that specific path (Solve).
  • Uncertainty as a Feature: By leveraging the Heisenberg uncertainty principle, the authors accept a "minimum size" for a light probe. This finite size (the generalized ray) is exactly what allows them to maintain linearity while capturing wave effects.

Results and Performance

The proposed method was evaluated on several complex 3D scenes, most notably a "Snake Enclosure" featuring a Brazilian Rainbow Boa with biological diffraction-grating scales and a beetle with multilayered interference reflectors.

The Snake Enclosure scene rendered with generalized rays, showcasing biological diffraction-grating scales on a Brazilian Rainbow Boa and multilayered interference on a beetle.

The results demonstrate a significant leap in performance. In diffractive regions, such as the surface of a CD, the method achieves a 1,000x to 10,000x improvement in convergence speed over previous state-of-the-art techniques. Furthermore, it enables the first interactive wave-optical rendering on a single modern GPU (RTX 3090), with frame times ranging from 40ms to 240ms depending on scene complexity.

Discussion and Future Work

While the generalized ray formulation offers a major breakthrough, some limitations remain. The current implementation assumes a small spatial extent for rays to utilize standard ray-tracing hardware; longer wavelengths (like RADAR) would require full beam-tracing. Additionally, the model currently uses surface approximations (Harvey-Shack theory) for rough surfaces, which does not yet capture individual "speckle" patterns or glints from micro-geometry. Future work aims to integrate full polarimetric sampling to further enhance physical accuracy.

Summary updated

Abstract

Under ray-optical light transport, the classical ray serves as a local and linear "point query" of light's behaviour. Such point queries are useful, and sophisticated path tracing and sampling techniques enable efficiently computing solutions to light transport problems in complex, real-world settings and environments. However, such formulations are firmly confined to the realm of ray optics, while many applications of interest, in computer graphics and computational optics, demand a more precise understanding of light. We rigorously formulate the generalized ray, which enables local and linear point queries of the wave-optical phase space. Furthermore, we present sample-solve: a simple method that serves as a novel link between path tracing and computational optics. We will show that this link enables the application of modern path tracing techniques for wave-optical rendering, improving upon the state-of-the-art in terms of the generality and accuracy of the formalism, ease of application, as well as performance. Sampling using generalized rays enables interactive rendering under rigorous wave optics, with orders-of-magnitude faster performance compared to existing techniques.
BibTeX
@misc{steinberg2023generalized,
  author = {Shlomi Steinberg and Ravi Ramamoorthi and Benedikt Bitterli and Eugene d'Eon and Ling-Qi Yan and Matt Pharr},
  title = {{A Generalized Ray Formulation For Wave-Optics Rendering}},
  year = {2023},
  eprint = {2303.15762},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.15762},
}

Loading related content...

Figure