Ray tracing in a Week(end)
Ray tracing in a Week(end)
I have previously had a go at a ray tracer as part of other work. I had another go more closely following the Raytracer in a weekend guide.
This is just a quick note. These form a good base and I will attempt to use them to do some more intersting things.
Code is at ru3d
First weekend
The first weekend is mostly about basic sphere rendering and getting the diffusion pipeline. The slightly better scattering code used means the materials and effects look better than my initial effort.
First week
The first week was both about using a BVH for speed (which was interesting as I had always used space partitions before) and increasing the range of materials and effects available.