Compact, Fast and Robust Grids for Ray Tracing
Abstract
The focus of research in acceleration structures for ray tracing recently shifted from render time to time to image, the sum of build time and render time, and also the memory footprint of acceleration structures now receives more attention. In this paper we revisit the grid acceleration structure in this setting. We present two efficient methods for representing and building a grid. The compact grid method consists of a static data structure for representing a grid with minimal memory requirements, more specifically exactly one index per grid cell and exactly one index per object reference, and an algorithm for building that data structure in linear time. The hashed grid method reduces memory requirements even further, by using perfect hashing based on row displacement compression. We show that these methods are more efficient in both time and space than traditional methods based on linked lists and dynamic arrays. We also present a more robust grid traversal algorithm. We show that, for applications where time to image or memory usage is important, such as interactive ray tracing and rendering large models, the grid acceleration structure is an attractive alternative.
BibTeX
@article {10.1111:j.1467-8659.2008.01262.x,
journal = {Computer Graphics Forum},
title = {{Compact, Fast and Robust Grids for Ray Tracing}},
author = {Lagae, Ares and Dutre, Philip},
year = {2008},
publisher = {The Eurographics Association and Blackwell Publishing Ltd},
ISSN = {1467-8659},
DOI = {10.1111/j.1467-8659.2008.01262.x}
}
journal = {Computer Graphics Forum},
title = {{Compact, Fast and Robust Grids for Ray Tracing}},
author = {Lagae, Ares and Dutre, Philip},
year = {2008},
publisher = {The Eurographics Association and Blackwell Publishing Ltd},
ISSN = {1467-8659},
DOI = {10.1111/j.1467-8659.2008.01262.x}
}