Final project for TDT4230 Graphics and Visualization
Create the directories build
, build/data
, build/data/frames
, and build/data/images
.
Navigate to the build
folder in the terminal.
Build the Makefile using CMake:
cmake ..
The render parameters are defined in main.cpp
, adjust if needed before building.
Build the project:
make
Run the project, rendered frames are stored in build/data/frames
:
./graphics_project
Convert the rendered ppm files to png and store to build/data/images
:
make image
Generate a video from the frames stored in build/data/frames
, the video is stored in build/data
:
make video
- Base rendering code from Ray Tracing in One Weekend
- AABB and lighting from Ray Tracing: The Next Week
- 3D models from Low Poly Household Items