RayTracingInOneWeek

Because of poor preservation, some of the rendering results are lost...

This is the code I used when I first learned global illumination in computer graphics in 2021. I chose a very friendly tutorial, Peter Shirley's tutorial, to study this part. This code mainly implements ray tracing, and the following is the result of the first part. I only saved the ppm file for the later images, not saved as jpg, so I didn't show them.