[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/1401032.1401059acmconferencesArticle/Chapter ViewAbstractPublication PagessiggraphConference Proceedingsconference-collections
research-article

Compact, fast and robust grids for ray tracing

Published: 11 August 2008 Publication History

Abstract

Ray tracing is becoming more and more the method of choice for both offline global illumination simulations as well as interactive visualizations. Because intersecting a ray with all objects in a scene is usually very expensive, almost all ray tracers rely on acceleration structures, trading preprocessing time and memory for faster ray-object intersections.
The uniform grid was one of the first proposed acceleration structures. Over time, several other acceleration structures, such as bounding volume hierarchies and kd-trees, have been introduced. For static scenes, kd-trees are by many considered the best acceleration structure. Uniform grids usually perform worse than kd-trees, mainly because they are not adaptive. For dynamic scenes however, there is no consensus. The acceleration structure has to be rebuilt every frame, and rather than minimizing render time, the time to image, the sum of the build time and the render time, has to be minimized. Building a grid can be done in linear time, while other popular acceleration structures require super linear time. For dynamic scenes, a shorter build time can compensate for a longer render time. Therefore, a grid can result in a shorter time to image than other acceleration structures that are usually considered superior.
Algorithms are typically CPU-bound or memory-bound. The execution time of an algorithm that is CPU-bound mainly depends on the speed of the CPU, while the execution time of an algorithm that is memory-bound mainly depends on the access speed of the memory. Memory-bound algorithms can be made significantly faster just by reducing the memory footprint of the data they work on. Building a grid is memory-bound, while rendering is CPU-bound. Therefore, reducing the memory footprint of a grid can results in shorter build times.
Uniform grids were used in one of the first systems for interactive ray tracing. Recent work on grids for ray tracing concentrated on fast traversal, parallelizing the build process, and choosing the grid size. In this work, we present two efficient methods for representing and building a grid.
The compact grid method consist 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, that does not require additional memory.
The hashed grid method consists of a static data structure for representing a grid that reduces memory requirements even further, by using perfect hashing based on row displacement compression, and a fast algorithm for building that data structure.
Figure 1 shows several results. For example, the time to image and memory usage for the 1.89 GB David model is respectively 10.21 s and 379.94 MB using the hashed grid method. We show that the compact grid method and the hashed grid methods are more efficient in both time and space than traditional methods based on linked lists and dynamic arrays. We also investigate parallell grid building and rendering, we compare with other acceleration structures using the recent bwfirt benchmark, and we 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.

Supplementary Material

lagae.pdf (2219.pdf)
Supplemental material for Compact, fast and robust grids for ray tracing
MOV File (a20-lagae.mov)

Reference

[1]
Lagae, A., and Dutré, P. 2008. Compact, fast and robust grids for ray tracing. Computer Graphics Forum (Proceedings of the 19th Eurographics Symposium on Rendering) 27, 8.

Cited By

View all
  • (2017)Maximal clique enumeration with data-parallel primitives2017 IEEE 7th Symposium on Large Data Analysis and Visualization (LDAV)10.1109/LDAV.2017.8231847(16-25)Online publication date: Oct-2017
  • (2016)Non-homogeneous grids for CPU-GPU ray tracing2016 23° Encontro Português de Computação Gráfica e Interação (EPCGI)10.1109/EPCGI.2016.7851186(1-8)Online publication date: Nov-2016
  • (2010)Fast mesh similarity measuring based on CUDA2010 IEEE International Conference on Progress in Informatics and Computing10.1109/PIC.2010.5687883(911-915)Online publication date: Dec-2010
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGGRAPH '08: ACM SIGGRAPH 2008 talks
August 2008
79 pages
ISBN:9781605583433
DOI:10.1145/1401032
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 11 August 2008

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Conference

SIGGRAPH '08
Sponsor:

Acceptance Rates

Overall Acceptance Rate 1,822 of 8,601 submissions, 21%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)6
  • Downloads (Last 6 weeks)0
Reflects downloads up to 06 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2017)Maximal clique enumeration with data-parallel primitives2017 IEEE 7th Symposium on Large Data Analysis and Visualization (LDAV)10.1109/LDAV.2017.8231847(16-25)Online publication date: Oct-2017
  • (2016)Non-homogeneous grids for CPU-GPU ray tracing2016 23° Encontro Português de Computação Gráfica e Interação (EPCGI)10.1109/EPCGI.2016.7851186(1-8)Online publication date: Nov-2016
  • (2010)Fast mesh similarity measuring based on CUDA2010 IEEE International Conference on Progress in Informatics and Computing10.1109/PIC.2010.5687883(911-915)Online publication date: Dec-2010
  • (2009)Relighting Forest EcosystemsProceedings of the 5th International Symposium on Advances in Visual Computing: Part I10.1007/978-3-642-10331-5_6(55-66)Online publication date: 26-Nov-2009

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media