This month, I added CSG (Constructive Solid Geometry) operators to the ray-tracer that I mentioned in the previous post. I added intersections, complements, and unions.
You can find the source code in my weekend-raytracer github repo.

This month, I added CSG (Constructive Solid Geometry) operators to the ray-tracer that I mentioned in the previous post. I added intersections, complements, and unions.
You can find the source code in my weekend-raytracer github repo.
Hi!
I just wanted to drop in and say thank you for the blog posts. I am reading them and will be following from scratch as this is an area of interest that I want to explore.
As a side point, more than 10 years ago someone wrote a ray tracer in Lisp as a tutorial on Youtube as well: https://www.youtube.com/watch?v=N1oMRw04W3E
I totally forgot about it until I saw your work.
Keep it up, this is fun!