Skip to content

Mregussek/RayTracingCUDA

Repository files navigation

RayTracingCUDA

Project was created in order to implement rendering ray traced images with CUDA library.

First implementation was created without GPU computing as I wanted to properly understand how ray tracing works. For this I have followed Peter Shirley Ray Tracing In One Weekend course. It is placed in RayTracingInOneWeekendWithoutCUDA directory. Rendered images with CPU are placed in RayTracingInOneWeekendWithoutCUDA/img.

Afterwards, main objective was to understand correctly CUDA computing library and use it to rewrite first implementation. Results are stored in ActualProject directory. Also I have added loading scenes from json files using nlohmann/json library. Example json scenes are stored in ActualProject/resources catalog. Rendered images with GPU CUDA computing are placed in ActualProject/img.

Rendered images with CUDA

Terminal prints

Appendix

Ray Tracing in One Weekend Peter Shirley Accelerated Ray Tracing in One Weekend in CUDA nlohmann/json

About

Rendering Ray-Traced json scenes with CUDA

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published