Raytracing in D
A (very) simple raytracer written in the D programming language.
- Smooth shadows
- Parallel calculation using threads (if available)
- D compiler
- Derelict2 (SDL bindings for D)
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.