Tiny Engine is a small piece of software to create interactive applications for Windows based on OpenGL. You can follow the progress of the project here: TinyEngine Backlog.
This repository is written in C++17 and it was tested using CMake 3.11 and Visual Studio 2022 on Windows.
git clone https://github.com/kaijurgeit/TinyEngine.git
Add --config <build_type>
to specify a Debug or Release <build_type>:
cmake -S . -B build -G "Visual Studio 17 2022" -A x64
cmake --build build
cmake -S . -B build -G "Visual Studio 17 2022" -A x64 -DBuildTests=ON
cmake --build build
cd build; ctest -j 10 -C <build_type>
./build/application/<build_type>/Application.exe
If you'd like to modify and build the App together with TinyEngine in Rider, you have to disable "Use ReSharper Build" under Settings → Build, Execution, Deployment → Toolset. If you don't do this, the dll will not be rebuild. If you'd like to debug OpenGL functions place a breakpoint inside the glDebugOutput
function.
Currently only OBJ is supported via Assimp. If you'd like to build Assimp with XXX (e.g. FBX) model support, execute:
cmake -S . -B build -G "Visual Studio 17 2022" -A x64 -DASSIMP_BUILD_XXX_IMPORTER=ON