Real-Time Ray-Traced Ambient Occlusion of Complex Scenes using Spatial Hashing
@inproceedings{gautron2020real,
title={Real-time ray-traced ambient occlusion of complex scenes using spatial hashing},
author={Gautron, Pascal},
booktitle={Special Interest Group on Computer Graphics and Interactive Techniques Conference Talks},
pages={1--2},
year={2020}
}
Intruduces Hashed Raytraced Ambient Occlusion (HRTAO)
Sample implementation: https://github.com/chrylt/AOSH-for-Architectural-Visualization
The spatial hashing technique hashes world-space coordinates into two distinct 32-bit keys. The first is the index in the hash map where the lighting information will be stored.
Since a 32-bit key could result in having unrelated points linked to the same hash index, a second hash function generates a checksum from the same coordinates.
When a collision is detected, a linear search finds the next free space. Storage and access are then performed in (near) constant time, making this approach efficient for parallel execution. The hash map is reused across frames for temporal coherence.
-
user defined feature size in pixels
-
“target feature size” in world space
-
smallest possible feature in world space (e.g.
)
-
position discretization
-
Hash function for positions taking into account