Simple CPU ray tracer following the excellent Ray Tracing In One Weekend book.
Generates a single .ppm image of the ray traced scene. Can use this website to view the output file.
Requires Visual Studio 2022, with no other external libraries.
Uses glm for math.
- Simply open the .sln and compile.
- The default scene can be tweaked in RayTracing.cpp.
- Then use the .exe in the following manner :
RayTracing.exe >> myOutputFile.ppm
