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 sandbox
mkdir 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 sandbox
Run sandbox.exe
from install dir.
Moving around:
- Rotating cam using
middle mouse button
and moving the mouse. - Panning cam using
middle mouse button
+shift
and 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
space
orRun
button to enter. - Use
space
to stop. - Use
W,A,S,D
to move around. - Use
Left ctrl, Left shift
to go up and down. - Use mouse to look around.