Learning Rust – Part 3: Rays, Camera, Background
In Part 1, I created my first image – a rainbow square. Part 2, involved refactoring code and creating a new struct for handling colors, vectors, and points. In Part 3 I start using some algebra and actually build the ray tracer. The magic of 3D Rays are lines defined with a starting point, a […]