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-devon Ubuntu/Debian to get it. Usebrewon MacOS. - Install this and update the path to the library in the
Makefile.
-
Run
maketo 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/htmlfolder. - Look at
doc/html/namespaces.htmlto begin. - To generate the documentation from scratch, first install
doxygenandgraphvizand then runmake doc
