Basic 3D renderer.
- CMake >= 3.22
- C++17 compliant compiler
- Armadillo library
- SFML library
git clone https://github.com/roghed/perspective-projection.git
cd perspective-projection
cmake -S . -B build
cmake --build buildAfter that the executable file will be located at ./build/perspective-projection
Launch perspective-projection executable from the project root directory. The executable will look for data/ and scene/ directories in the current working directory so make sure you do not launch it from the build/ directory.
build/perspective-projectionW,A,S,D- move camera forward/backwards, left/rightSpace,Left Shift- move camera up/downE,Q- spin camera left/rightMouse- pan camera left/right, up/downMouse wheel- change camera field of viewEnter- toggle wireframe renderingB- toggle draw order coloring (cold colors are rendered first, warmer later)