A very simple C++11 template code for the development of ray tracers.
This software depends on the following third party software to be compiled:
- glm version 0.9.7.0 or later (http://glm.g-truc.net).
I've compiled and executed this software only in Linux (Ubuntu 14.04). These are the steps needed in order to compile the program:
- Install the dependencies (i.e. glm).
- Download the source code together with the Makefile.
- Open the Makefile with a text editor (e.g. vim, gedit, etc.).
- Configure the variables CPPFLAGS and LDFLAGS in order to reflect your glm installations.
- Save the Makefile.
- Call 'make DEBUG=0' at the project root directory.
- Done
To render the hardcoded scene, just issue the following command from the project root directory:
$ ./swpathtracer