Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 851 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 851 Bytes

RT-Template

A very simple C++11 template code for the development of ray tracers.

Dependencies

This software depends on the following third party software to be compiled:

Compiling and Running

I've compiled and executed this software only in Linux (Ubuntu 14.04). These are the steps needed in order to compile the program:

  1. Install the dependencies (i.e. glm).
  2. Download the source code together with the Makefile.
  3. Open the Makefile with a text editor (e.g. vim, gedit, etc.).
  4. Configure the variables CPPFLAGS and LDFLAGS in order to reflect your glm installations.
  5. Save the Makefile.
  6. Call 'make DEBUG=0' at the project root directory.
  7. Done

To render the hardcoded scene, just issue the following command from the project root directory:

$ ./swpathtracer