Ray Tracing Notes and Experiments
This repository contains source code created during my learning journey to building a ray tracer.
The inital code is largely based on Peter Shirley's excellent book "Ray Tracing in One Weekend" but this repo will not be limited to this book alone. I plan to include his other two volumes, my own experiments and other sources for inspiration later as well.
I tested and compiled the code with the GNU compiler on Linux Mint and Windows with cygwin and Microsoft C++ (Visual Studio Code). It should work on other platforms as well, but let me know if it doesn't work on Mac. I also want to look into cmake, but this will have to wait until it makes sense for the project.
WebAssembly, Emscripten and Rust are some options I want to explore here later as well.
For more examples, please see my ray tracing notes.
The idea behind this is to document and further my own learning by trying to explain it to myself in my own words. I hope it makes sense to someone else as well, but I will probably not have much time to edit and polish my writing very much. There's always a chance I understood something wrong, made a mistake, or didn't follow best practices or proper style. If you spot anything that's wrong or could use some improvement, please let me know. Any feedback, suggestions, or bug reports are always appreciated!
At the bottom of each chapter you can find references to the books and resources that helped me through this journey. Be sure to check them for more information and expert insights.
I hope you find this material interesting and helpful.