Raytracing algorithm

The image above is the rendered output of a raytracing program developed during my M.Sc. The algorithm comprehends two types of shapes, sphere and axis aligned bounding box (AABB) and the following optical effects:

  • diffuse reflection
  • specular reflection
  • ambient reflection
  • ambient light
  • multiple point lights shadow

The program was developed using C++, OpenGL and freeglut.