cimacmillan / raytracer

Raytracer made for 3rd year graphics project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raytracer

Raytracer made for 3rd year graphics project.

Features include:

  • Simple OpenMP parallelisation
  • Multiple Lights
  • Anti-aliasing
  • Smooth Shadows
  • Ambient, diffuse, specular materials (Phong)
  • Reflective material (mirror)
  • Realistic refractive material with Fresnel equations (glass)
  • Diffuse Pathtracing, optimised with cosine sampling
  • Specular Pathtracing, by cosine sampling along reflected ray
  • Photon mapping for caustics, optimised with KD-tree

Building requires GLM library in parent folder. See Makefile.


Render


alt text

About

Raytracer made for 3rd year graphics project


Languages

Language:C++ 94.5%Language:C 5.3%Language:Makefile 0.2%Language:Shell 0.0%