theolepage / ray-tracer

Ray-tracer, written in C++, featuring different objects, lightings, textures and scene configurations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ray Tracer

Results

Ray-tracer written from scratch in C++.

Authors

  • Quentin Kaci (quentin.kaci)
  • Theo Lepage (theo.lepage)

Prerequisites

Usage

mkdir build && cd build
cmake .. && make
./raytracer ../scenes/default.json

Features

  • Objects: sphere, cubes, triangles, rectangles and blobs
  • Handle diffuse, reflection, refraction and specular lighting
  • Uniform, transparent, procedural and image textures
  • Bump mapping on textures
  • Point, directional and spot lights
  • Configure scenes with JSON config files
  • Anti-Aliasing
  • Soft-shadows
  • Depth of field
  • Gamma correction
  • Multithreading
  • Load/save to .PNG and .PPM
  • Skybox
  • Billboards
  • Anaglyph rendering

About

Ray-tracer, written in C++, featuring different objects, lightings, textures and scene configurations.


Languages

Language:C++ 98.4%Language:CMake 1.6%