markuSolli / tdt4230-project

Final project for TDT4230 Graphics and Visualization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TDT4230 Final Project

Final project for TDT4230 Graphics and Visualization

Rendered image

How to run

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

Resources used

About

Final project for TDT4230 Graphics and Visualization


Languages

Language:C++ 94.4%Language:CMake 4.3%Language:Shell 0.8%Language:C 0.5%