simul8
is an OpenGL engine meant to showcase various fundamental computer graphics concepts. Features are in progress, and the end goal is to have a working physics simulator that allows you to play with 3D shapes in a sandbox environment.
This project depends on the following libraries:
- glad (latest version)
- glfw (3.3.4)
- glm (0.9.9.8)
The s8
project relies on glad
, glfw
, and glm
to build and work properly. These libraries have been included as submodules to the project, and the right version of each library can be downloaded automatically when cloning the project for the first time. To do so, all you need to do is add the --recurse-submodules
flag:
git clone --recurse-submodules https://github.com/cristian-aldea/s8.git
or, if you already cloned the repository and didn't resolve the submodules, just run the following equivalent command:
git submodule update --init --recursive
With the project dependencies downloaded, you're now all set to build and run the project!
First, load the cmake project:
cmake -DCMAKE_BUILD_TYPE=<type> -S . -B build
where <type>
is either Release
or Debug
, depending on your needs
Then, run the install
target:
cmake --build build --target install
If you run the Release build, you should see a dist/
folder pop up with the project files ready to go. Simply run the binary:
cd dist
./s8