Glorp engine is a Vulkan / GLFW based rendering engine for MacOS, Linux and Windows, written in C++

Model credits:
Source : https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/DamagedHelmet
© 2018, ctxwing. CC BY 4.0 International
- ctxwing for Rebuild and conversion to glTF
© 2016, theblueturtle_. CC BY-NC 4.0 International
- theblueturtle_ for Earlier version of model
Clone the repository using with recurse submodules Make sure you have the following tools installed on your system:
- CMake (version 3.29.0 or later)
Windows
- Clang
MacOS
- Xcode command line tools
- Vulkan SDK: Make sure Vulkan is installed and
VULKAN_SDK_PATHis set in.env.cmakeif using a specific version. Consult LunarG for the Vulkan SDK installation. - GLFW: GLFW should get installed by CMake, if you wish to use a specific version, set
GLFW_PATHin.env.cmake. - Everything else is statically compiled from the
external/directory.
Create a .env.cmake file in the project root and specify the necessary dependency paths:
Example file:
# .env.cmake
set(VULKAN_SDK_PATH "C:/path/to/vulkan")
set(GLFW_PATH "C:/path/to/glfw")
# MacOS only (For app bundle creation)
set(VULKAN_MAC_LOCATION username/VulkanSDK/1.3.283.0)
set(GLFW_MAC_LOCATION username/Developer/libs/glfw-3.4)Make sure you have all the required dependencies installed on your system.
- Clone the repository with all the git submodules.
git clone --recurse-submodules https://github.com/sodiumts/GlorpEngine
cd GlorpEngine- Run either
macBuild.shorwinBuild.batto set up the project and build it.
MacOS: Build and run unix-like binary:
./macBuild.shBuild a macOS app bundle (must set VULKAN_MAC_LOCATION and GLFW_MAC_LOCATION to the appropriate locations in .env.cmake):
./macBuild.sh -rDon't forget to sign your app bundles for distribution!
Windows:
./winBuild.batAfter building, the executable file should be located in the build directory with the name GlorpEngine.
- For shader compilation, ensure
glslangValidatoris available in your system path.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Expanded from Brendan Galea's YouTube Series
This project is licensed under the MIT license.