Skip to content

This repository implements Peter Shirley's Ray Tracing in One Weekend. Further, I parallelized the ray tracer from the book using CUDA. For the CUDA code, I used the blog post Accelerated Ray Tracing in One Weekend in CUDA by Roger Allen as a reference.

be-prado/ray-tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing

This repository implements Peter Shirley's Ray Tracing in One Weekend, which can be found in the folder "./one_weekend/". Further, I parallelized the ray tracer from the book using CUDA. For the CUDA code, I used the blog post Accelerated Ray Tracing in One Weekend in CUDA by Roger Allen as a reference. The parallelized code can be found in the folder "./one_weekend_cuda/". The tracer with CUDA feature rendered images 12 times faster than the original tracer from the book! Here are some images from the tracer:

Regular image

Regular image

References:

About

This repository implements Peter Shirley's Ray Tracing in One Weekend. Further, I parallelized the ray tracer from the book using CUDA. For the CUDA code, I used the blog post Accelerated Ray Tracing in One Weekend in CUDA by Roger Allen as a reference.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published