Using CMake:
1. create a subdirectory (under HW3) named Debug: mkdir Debug
2. enter the subdir: cd Debug
3. and generate the makefiles: cmake .. (mind the ..)
To generating a release build environment, just repeat the above steps, but in with a subdirectory
named Release. To compile run (inside the Debug or Release directory): make

Files that need to be implemented is diffuseBrdf.cpp, linear_intersector.cpp, phongBrdf.cpp, and intersectionPoint.cpp where it says “HW3: Implement this”

Leave a Comment

Your email address will not be published. Required fields are marked *