This is a real-time ray-tracer I wrote in 2008 on my spare time. Here are the features of the ray-tracer I am posting here:
- Uses multiple threads for rendering
- The scene is placed in a KD-Tree to accelerate ray-intersection tests
- Shadows, reflection, refraction
- Support for triangle meshes
The model in the demo scene is from http://artist-3d.com/free_3d_models.
Downloads
This program is written in C++ and uses the SDL library. The source code has been compiled and tested in both Windows (with Visual C++) and Linux (g++).
RTRT (windows binary and cross-platform source code)
Screenshots

