Just for fun: a simple raytracer, written by following the excellent tutorial by Gabriel Gambetta, with some extensions.
- Read a scene from a file, output it to a
.png
file- The picture above was generated by
scene.hjson
- The picture above was generated by
- Spheres (no other shapes currently supported)
- Ambient, diffuse, and specular lighting
- Shadows
- Transparency
- Reflections
- Refractions
- Multithreading