Super simple ray tracer guide after first math semester
github.com
github.com
Ray Tracing in One Weekend: https://www.amazon.com/dp/B01B5AODD8/
The Ray Tracer Challenge: https://www.amazon.com/dp/1680502719/
For the latter, I have made it a pretty good way through the book, implementing a functional (in the programming paradigm sense) version of the ray tracer in F#. It’s actually rather mind boggling how close the F# code and tests are to the psuedocode found in the book.
Writing a raytracer is a great exercise for a keen algebra student with decent programming chops. But I'm even happier to see it as a personal project than as homework.
I implemented a ray tracer with Kotlin just to learn the language, and got to use many features and learn them by practice.
Even finding and fixing bugs were fun, as I had to guess where the physics of the light had gone wrong.