Ray Tracing Logo Ray Tracing in CUDA

Jiaqi Song1*, Xinping Luo1*,
1Carnegie Mellon University
*Equal contribution

Description

In this project, we aim to implement a GPU-based ray tracer inspired by the "Ray Tracing in One Weekend" series. We will use the CPU code that the book provides as our start code and baseline of performance, and incorporate basic OpenMP parallelism into the code. Our main focus will be transforming the code on GPU using CUDA and compare the performance of the single-core raw CPU code, the OpenMP-enhanced multi-core version, and the CUDA implementation.

Rendered Images and Animations

We use 3 animations and 4 static images to evaluation the performance and visual quality of our implementation.

Ray Tracing Animation 1
Ray Tracing Animation 2
Ray Tracing Animation 3
first scene
cornell box
final scene
final scene