An implementation of a basic ray tracer following Ray Tracing In One Weekend Ray Tracing in One Weekend.
Outside the scope of the book, I added:
- multithreading
- triangle rendering
- Configure the project and generate the native build system, and call the build system to compile and link the project:
$ make build
The compiled executables will be placed in build/bin.
- Invoke the ray tracer and output the results to a file
$ ./bin/raytracer > image.ppm
- Shirley, P. (2016). Ray tracing in one weekend. Amazon Digital Services LLC, 1.
- Möller, T., & Trumbore, B. (1997). Fast, minimum storage ray-triangle intersection. Journal of graphics tools, 2(1), 21-28.