A simple raytracer written in C++
C++ CMake
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
scenes
tests
.gitignore
BVHTree.cc
BVHTree.h
CMakeLists.txt
Material.cc setup raytra correctly Dec 31, 2016
Material.h setup raytra correctly Dec 31, 2016
ProgressBar.hpp setup raytra correctly Dec 31, 2016
README.md
area_light.cc setup raytra correctly Dec 31, 2016
area_light.h
bounding_box.cc
bounding_box.h
camera.cc setup raytra correctly Dec 31, 2016
camera.h
exr.cc
exr.h setup raytra correctly Dec 31, 2016
parser.cc
parser.h
plane.cc
plane.h
point_light.cc
point_light.h
ray.h setup raytra correctly Dec 31, 2016
raytra.cc
raytra.h
shot.png
sphere.cc
sphere.h
surface.h
triangle.cc
triangle.h

README.md

RayTra

Raytra is a raytracer written in C++

shot.png

Features

  • Supports a simple scene description language (sample scene)
  • Renders an image in the OpenEXR format.
  • Ray acceleration tests using Bounded Volume Heirarchy (BVH) trees.
  • Reflections and shadows
  • Reading in geometry via Obj files
  • Antialiasing via Monte Carlo sampling

Run

$ mkdir build && cd build
$ cmake . && make
$ raytra ../scenes/sample.scn image.exr