Raytracing in the D programming language
D
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
screenshots
source
.gitignore
README.md

README.md

Raytracing in D

A (very) simple raytracer written in the D programming language.

Features

  • Smooth shadows
  • Anti-aliasing

Prerequisites

How to run

  • Open a terminal in the source directory.
  • Execute rdmd main.d

After about 25" the image below will appear.

Alt text

Internals

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.

License

MIT