Spark is an a graphics engine with performance in mind.
- Windows (Currently working only on this os)
- cmake (version >= 3.17)
- MSVC compiler which support cpp17 (currently the only supported compiler - tested on msvc142 as provided by vs2019)
- Vulkan sdk (version >= 1.2) and a gpu+driver which supports it
- git lfs
git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/NadavT/Spark Spark
cd Spark- Download the resourses from here
- Unzip resourses to the Sandbox directory
Open a supported build shell (x64 Native Tools Command Prompt for example.)
mkdir install
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_CXX_CLANG_TIDY="" -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" ..
cmake --build . -j 6
cmake --install . --component sandboxmkdir install
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_CXX_CLANG_TIDY="" -DCMAKE_BUILD_TYPE=Release -G "Ninja" ..
cmake --build . -j 6
cmake --install . --component sandboxRun sandbox.exe from install dir.
Moving around:
- Rotating cam using
middle mouse buttonand moving the mouse. - Panning cam using
middle mouse button+shiftand moving the mouse.
While object is selected:
G- for moving the objectR- for rotating the objectS- for scaling the objectT- for all the aboveDel- To remove
For free cam:
- Use
spaceorRunbutton to enter. - Use
spaceto stop. - Use
W,A,S,Dto move around. - Use
Left ctrl, Left shiftto go up and down. - Use mouse to look around.