DocumentCode
3357730
Title
Iterative layer-based raytracing on CUDA
Author
Segovia, Alejandro ; Li, Xiaoming ; Gao, Guang
Author_Institution
Electr. & Comput. Eng., Univ. of Delaware, Newark, DE, USA
fYear
2009
fDate
14-16 Dec. 2009
Firstpage
248
Lastpage
255
Abstract
A raytracer consists in an application capable of tracing rays from a point into a scene in order to determine the closest sphere intersection along the ray´s direction. Because of their recursive nature, raytracing algorithms are hard to implement on architectures which do not support recursion, such as the NVIDIA CUDA architecture. Even if the recursive portion of a typical raytracing algorithm can be rewritten iteratively, naively doing so could tamper with the image generation process, preventing the parallel algorithm´s results from maintaining high fidelity to the sequential algorithm´s and resulting, in many cases, in lower quality images. In this paper we address both issues by presenting a novel approach for expressing the recursive structure of raytracer algorithms iteratively, while still maintaining high fidelity to the images generated by the sequential algorithm, and leveraging the processing power of the GPU for parallelizing the image generation process. Our work focuses on designing and implementing a raytracer that renders arbitrary scenes and the reflections among the objects contained in it. However, it can be easily extended to implement other natural phenomena, such as light refraction, and to aid the iterative implementation of recursive algorithms in architectures like CUDA, which do not support recursive function calls.
Keywords
parallel algorithms; ray tracing; recursive estimation; NVIDIA CUDA architecture; image generation process; iterative layer-based raytracing algorithm; parallel algorithm; raytracer algorithm; recursive algorithm; recursive function calls; sequential algorithm; Algorithm design and analysis; Application software; Cameras; Computer architecture; Image generation; Iterative algorithms; Layout; Pixel; Power generation; Rendering (computer graphics);
fLanguage
English
Publisher
ieee
Conference_Titel
Performance Computing and Communications Conference (IPCCC), 2009 IEEE 28th International
Conference_Location
Scottsdale, AZ
ISSN
1097-2641
Print_ISBN
978-1-4244-5737-3
Type
conf
DOI
10.1109/PCCC.2009.5403843
Filename
5403843
Link To Document