Solum is a simple rendering engine written in C++ designed to allow runtime swapping of rendering drivers (i.e., OpenGL → DirectX 11 → Vulkan). This allows developers to experiment with various rendering backends without much setup work on their part. It utilizes modern C++ features and compiles with tools later than G++ 6 and MSVC 2017.
Solum comes with some utility interfaces to make using the rendering backends easier:
- A Windowing Interface.
- A Mathematics Interface.
- A User Input Interface.
- Visual Studio 2017
- GNU Make
- G++ 6
- Open the solution file
Scripts/VS2017/Solum.sln
in Visual Studio 2017. - Run the build command.
- Open a terminal in the
Build
directory. - Run the command
make -f ../Scripts/Makefile
- Import the import library found at
Build/<Arch>/<Config>/Output/Solum.lib
. - Include the headers in
Include
. - Place the dynamic library found at
Build/<Arch>/<Config>/Output/Solum.dll
in your project's build directory.
- Include the headers in
Include
. - Add the link flags
-L Build/<Arch>/<Config>/Output -lsolum
. - Add
/Build/<Arch>/<Config>/Output
to yourLD_LIBRARY_PATH
variable.
To contribute so Solum, take a look at the contributing guidelines, as well as the style guidelines.