git clone https://github.com/JMazurkiewicz/GKOM-well-with-wheel.git
cd GKOM-well-with-wheel
Windows build requires at least Visual Studio 2019 (16.10).
rem Build with CMake
cmake -B build
cmake --build build --config Release
rem Show scene
copy build\Release\well-with-wheel.exe well-with-wheel
cd well-with-wheel
well-with-wheel.exe
Linux build requires at least GCC 10.
# Some of these dependencies may be needed (e.g. on Ubuntu)
sudo apt install libxrandr-dev libxinerama-dev libxi-dev libxcursor-dev libglu1-mesa-dev
# Build with CMake
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
# Show scene
cd build
./well-with-wheel
- Nothing on the scene is hard coded (everything is generated).
- The roof is randomly generated upon the start.
- The scene is customizable - parameters can be changed in
Startup/Well.cpp
file increate*()
functions by modifyingbasic*Model
objects (recompilation is required).
Camera:
- WASD - change position
- Mouse - change view angle
- Space/Ctrl - up/down
Wheel:
- Left arrow - rotate left
- Right arrow - rotate right
Other:
- ESC - exit
main
- the main branch with updated projectdev
- obsolete branch with minor fixes done after handing in assignmentoriginal
- old branch with original, handed in, project (with docs and most of commit messages written in Polish)
Team working on original
branch:
- Jakub Mazurkiewicz (@JMazurkiewicz) - model generation, program architecture, refactorization, introduction of C++20 features
- Damian Piotrowski (@dam1508) - light, textures
- Jan Such (@JeffHathford) - camera and movement
This was originally project for "Computer graphics (winter 2020)" course at Warsaw University of Technology.
Score: 25/30 (83.3%)