Raytracing in D
A (very) simple raytracer written in the D programming language.
- Smooth shadows
How to run
- Open a terminal in the
After about 25" the image below will appear.
The raytracer builds a Bounding Volume Hierarchy from the objects in the scene. This helps a lot since when testing for ray interesctions, not all objects have to checked. The BVH Tree is data structure is defined and created in BVH.d.