rt is a simple ray tracer framework written in C++.
-
rt can be downloaded by cloning the git repository using
git clone https://github.com/paragchaudhuri/rt.git
- The only external dependency required for rt depends is Eigen.
- Install
libeigen3-dev
on Ubuntu/Debian to get it. Usebrew
on MacOS. - Install this and update the path to the library in the
Makefile
.
-
Run
make
to compile rt.- You may have to change paths in the makefile to make it match your system.
-
Then test it out with the provided scene file by running
./rt scenes/myscene.xml
-
For the scenefile format checkout the provided xml scenefile.
- Documentation can be found in the
docs/html
folder. - Look at
doc/html/namespaces.html
to begin. - To generate the documentation from scratch, first install
doxygen
andgraphviz
and then runmake doc