Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 3.98 KB

README.md

File metadata and controls

33 lines (22 loc) · 3.98 KB

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