Skip to content

adrientremblay/RayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

130 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RayTracer

Renders

Cornell Box

Test Scene 1B

Test Area Light

Running

Building the dummy test

  1. Create build folder: mkdir build
  2. cd build
  3. cmake ../
  4. make
  5. ./raytracer

Building the solution:

  1. Uncomment the #add_compile_options(-DSTUDENT_SOLUTION) line in the CMakeLists.txt
  2. Create build folder: mkdir build
  3. Create the src folder: mkdir src
  4. cd build
  5. cmake ../
  6. make
  7. ./raytracer <filename.json>

Note that some test scenes are provided in the assets folder. You can do a soft link to the assets folder in the build folder for your convenience.

About

A Ray or Path Tracer that renders JSON scene data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published