Skip to content

Version 1.0

Compare
Choose a tag to compare
@Chais Chais released this 26 Sep 15:39
· 12 commits to master since this release

Features:

  • Supported shapes: spheres, meshes
  • Supported materials: Lambertian (matte), phong (shiny), specular, transparent, textured
  • Supported lights: Ambient, parallel, point
  • Supported cameras: Perspective
  • Supported input: XML file specifying camera, lights and shapes. Meshes are read from OBJ files (no MTL support)

This is now a simple Whitted ray tracer doing recursion for specular and refractive materials. Total internal reflection exists according to Snell's law.

The memory management is terrible. This thing is most certainly leaking all over the place. The example6 scene ran out of memory after using over 12 GB of RAM.