2 ms·
I highly recommend the two books: Ray Tracing in One Weekend: https://www.amazon.com/dp/B01B5AODD8/ https://www.amazon.com/dp/B01B5AODD8/ The Ray Tracer Chall
by bmitc 6y ago
I highly recommend the two books:
Ray Tracing in One Weekend: https://www.amazon.com/dp/B01B5AODD8/ https://www.amazon.com/dp/B01B5AODD8/
The Ray Tracer Challenge: https://www.amazon.com/dp/1680502719/ 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.
https://github.com/bmitc/the-ray-tracer-challenge-fsharp https://github.com/bmitc/the-ray-tracer-challenge-fsharp