yea, that is definitely a cool book. a few months back i started to go through it doing the implementation in racket but got distracted with other things.
the code should run directly in dr. racket without modification, but i didn't finish the book obviously to get to the cover picture.
the c++ code in the book is pretty straightforward (he leans on practicality), so it is kind of fun to directly port to a language but then slowly change it to be idiomatic in the target language. i was learning a lot about racket (my first project in it) in the short time i was going through the book. i need to get back to it...
https://github.com/nikofeyn/ray-tracing-with-racket
the code should run directly in dr. racket without modification, but i didn't finish the book obviously to get to the cover picture.
the c++ code in the book is pretty straightforward (he leans on practicality), so it is kind of fun to directly port to a language but then slowly change it to be idiomatic in the target language. i was learning a lot about racket (my first project in it) in the short time i was going through the book. i need to get back to it...