Projects logo
  1. Home
  2. Projects
  3. Ray Tracer

Ray Tracer


Ray tracing is a technique for generating semi-realistic images by tracing the path of rays of light, as they are reflected, refracted, coloured and absorbed by the objects being rendered.


I studied ray tracing at the University of Technology, Sydney, in the Autumn Semester of 2004, under a lecturer named Dr Kevin Suffern. I found the topic fascinating and was amazed by the results that could be produced from such a simple (yet large) set of code. I chose to implement my ray tracer using C#, which traded fast development times for slower execution times.


These are some images produced by the ray tracer I wrote at university.


Instancing, affine transformations, crude soft shadows, and reflections.


Transparency, texture mapping, and selection between multiple materials.


Complex ray-object intersections and transparency.


Reflections and phong shading.