A simple raytracer written in C++
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scenes
tests
.gitignore
BVHTree.cc
BVHTree.h
CMakeLists.txt
Material.cc
Material.h
ProgressBar.hpp
README.md
area_light.cc
area_light.h
bounding_box.cc
bounding_box.h
camera.cc
camera.h
exr.cc
exr.h
parser.cc
parser.h
plane.cc
plane.h
point_light.cc
point_light.h
ray.h
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