Global Illumination of non-Euclidean spaces

Tiago Novello, Vinícius da Silva, Luiz VelhoarXiv 2020 · arXiv

Abstract

Traditional computer graphics algorithms assume a flat, Euclidean geometry. This paper introduces a generalized path tracing framework for non-Euclidean manifolds, enabling the visualization of complex mathematical spaces with photorealistic global illumination. By integrating Riemannian geometry with modern RTX hardware, the authors simulate light transport along geodesics and handle topological wrap-around, producing realistic reflections and shadows in spaces like the 3D flat torus and hyperbolic manifolds.

Introduction

In standard computer graphics, light is assumed to travel in straight lines within a flat space. However, non-Euclidean geometries—such as spherical or hyperbolic spaces—present unique challenges where parallel lines may meet or diverge, and space itself can be "closed." Visualizing these environments has historically been limited to simple surfaces or lacked realistic lighting. This research bridges that gap by bringing global illumination—the simulation of indirect light bounces—to these abstract mathematical realms.

Methodology

The authors' approach relies on three core innovations:

1. Riemannian Generalization of the Rendering Equation

The classical rendering equation describes how light leaves a surface. The authors redefine this equation by replacing the standard Euclidean inner product with a Riemannian metric. This allows the mathematical framework to account for the local curvature of the space at any point.

2. Geodesic Ray Tracing and Topological Wrap-around

In curved space, light follows geodesics rather than straight lines. The authors provide parameterizations for these paths across Euclidean, hyperbolic, and elliptic geometries. To handle "closed" spaces like the 3D flat torus, they utilize a fundamental domain. When a ray reaches the boundary of this domain, it is "teleported" to the opposite side using a discrete group of isometries.

Visualization of a 3D flat torus manifold, showing the 'hall of mirrors' effect created by topological wrap-around.

3. Hardware Acceleration via RTX

The authors mapped these concepts to the NVIDIA RTX ray-tracing pipeline. A custom Miss Shader is used to handle topological wrap-around: instead of signaling that a ray has left the scene, the shader transports the ray back into the fundamental domain.

Results and Insights

The framework produces the first path-traced images of 3D flat tori and hyperbolic spaces with multi-bounce indirect lighting.

Visualizing Infinity

One of the most striking results is the "hall of mirrors" effect. In a closed manifold, light loops through the space, allowing a viewer to see multiple copies of the same scene receding into the distance. Because the system uses global illumination, all these "copies" are correctly lit by a single light source, maintaining physical consistency across the infinite repetition.

Global illumination effects, including soft shadows and reflections, in a non-Euclidean scene.

Real-time Potential

By leveraging the Falcor framework and RTX GPUs, the implementation moves toward real-time interactive exploration of non-Euclidean spaces. This demonstrates that modern graphics hardware is sufficiently flexible to handle non-standard physics when the underlying equations are correctly generalized.

Conclusion and Future Work

This work establishes that the fundamental physics of light is independent of underlying geometry. Future research may explore more exotic 3-manifolds, such as those in Thurston’s geometrization conjecture, and address the computational overhead of calculating curved ray intersections with high-poly meshes.

Summary updated

Abstract

This paper presents a path tracer algorithm to compute the global illumination of non-Euclidean manifolds. We use the 3D torus as an example.
BibTeX
@misc{novello2020global,
  author = {Tiago Novello and Vinícius da Silva and Luiz Velho},
  title = {{Global Illumination of non-Euclidean spaces}},
  year = {2020},
  eprint = {2003.11133},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.11133},
}
Figure