SFML has its own dependencies which need to be installed manually docs link in order to compile this project. List of those:
- freetype
- x11
- xrandr
- udev
- opengl
- flac
- ogg
- vorbis
- vorbisenc
- vorbisfile
- openal
- pthread
This certainly works on linux with cmake v 3.29 and gcc v 12 or clang v 15
git clone --recurse-submodules -j8 https://github.com/vladl2802/3d-renderer
cd 3d-renderer
mkdir release && cd release
cmake -DCMAKE_BUILD_TYPE=Release .. && make
cd ..
release/app/app # this will run app
git clone --recurse-submodules -j8 https://github.com/vladl2802/3d-renderer
cd 3d-renderer
mkdir debug && cd debug
cmake -DCMAKE_BUILD_TYPE=Debug .. && make
cd ..
debug/app/app # this will run app
Control system is based on Maya.
- Alt + LMB results in tumble (rotating camera around target point)
- Alt + RMB results in track (moving target point)
- Alt + MouseScroll results in dolly (moving closer and further away from target)