4 ms·
I've always had an interest in computer graphics, but never studied it in school. I found Jamis Buck's _The Ray Tracer Challenge_[1] and got totally hooked on c
by garfieldnate 7y ago
I've always had an interest in computer graphics, but never studied it in school. I found Jamis Buck's _The Ray Tracer Challenge_[1] and got totally hooked on creating a ray tracer. The book walks you through creating everything from scratch, starting with matrix multiplication all the way up through reflection/refraction and rendering (a useful subset of) OBJ files. The book gives you test cases in cucumber one at a time, and when the tests pass you have a new feature! It's super addicting. I've been learning Rust while going through it, too (repo: [2]). There's a forum associated with the book where people share images they've created and ask for help, and it's fun to see what other people have tried or what languages they're trying to learn while going through the book.
I've enjoyed learning a programming language at the same time as learning an interesting subject so much that I plan on repeating it!
[1] http://raytracerchallenge.com/ http://raytracerchallenge.com/
[2] https://github.com/garfieldnate/ray_tracer_challenge https://github.com/garfieldnate/ray_tracer_challenge