Raytracing in a Weekend
I’ve always been fascinated by how ray tracing works—the blend of math and programming that makes images come alive. Back in school, I loved mathematics, especially geometry, so I decided to explore the math behind ray tracing by implementing one from scratch. The result is github.com/deepsghimire/raytracing-weekend. Here’s an example of a rendered image: I had a lot of fun experimenting with features like reflections, light sources, anti-aliasing, and different materials. ...