Various projects and musings by Mason Smith
t-ray is a raytracer and (eventually) global illumination tool written purely in Common Lisp. Click here to download.
Most of the work done on t-ray was initially done in 2006, and unfortunately I haven't had much time recently to add to it too much. I have tried to clean up the code quite a bit, though. Most of the features were written without being fully integrated for ease of use, though. The included examples, for instance, only demonstrate a small fraction of the features actually implemented.
Speaking of which, those features include:
Some other features are also implemented but not fully integrated:
Other features are only partially implemented:
These were generated with the 0.9.1 version of the program.
Rendering of a quartic equation. Note there are some issues with shadowing artifacts.
Refraction of objects through a glass box.
The code has only been tested in SBCL, but doesn't use any particular extensions and should work with any CL environment with ASDF. It does depend on alexandria and metabang-bind, both of which are asdf-installable.
The most recent version of t-ray is 0.9.1, available here.