4 ms·
+1 to Ray Tracer Challenge. I really think the key thing for it clicking with me was to build up the math foundation via TDD. Sure I could have used C#'s Matr
by KallDrexx 7y ago
+1 to Ray Tracer Challenge.
I really think the key thing for it clicking with me was to build up the math foundation via TDD. Sure I could have used C#'s Matrix4x4 and Vector classes and just browsed through the beginning of the book, but actually implementing my own tuples, vectors, points, and matrixes really helped me understand "here's what I'm trying to achieve" then "here's the math to implement it".