/RayTracer

A Ray Tracer Framework in C++ for the Computer Graphics course

Primary LanguageC++

/***** Ray Tracer *****/

This is a Ray Tracer Framework made by Cedric Portaneri from December 2015 to January 2016 in C++. This school project was made for the Computer Graphics course in the M2R Interaction taught by Tobias Isenberg who gave me the baseline of the framework.

I implemented features such as:

  • Raycasting with spheres, planes, boxes, triangles, quads and cylinder
  • Illumination model (Phong and Gooch)
  • Normal buffer & z-buffer
  • Optical laws (Reflection and Refraction)
  • Anti-aliasing (SuperSampling with grid, jitter or random pattern)
  • Extended Camera Model (Zoom, Image size, Camera and Center positions)
  • Texture mapping
  • 3D mesh files (.obj)

This is the link to our project page: http://tobias.isenberg.cc/graphics/LabSessions/RaytracingProject

--- OS Compatibility ---

Work on Windows

--- HOW TO LAUNCH THE RAY TRACER ---

Download the project, go to the project directory and type: make

You can either generate one scene by typing: ray scenes/yourscene.yaml

Or click on the ray.bat who will generate all the scenes (~10 min)