AnKi 3D Engine - Vulkan and D3D12, modern renderer, scripting, physics and more
#game-engine #gamedev #engine #3d #rendering #opengl #vulkan #glsl #hlsl #cpp
|
|
před 5 roky | |
|---|---|---|
| docs | před 8 roky | |
| engine_data | před 5 roky | |
| samples | před 5 roky | |
| sandbox | před 5 roky | |
| shaders | před 5 roky | |
| src | před 5 roky | |
| tests | před 5 roky | |
| thirdparty @ 05837efaba | před 5 roky | |
| tools | před 5 roky | |
| .clang-format | před 5 roky | |
| .gitattributes | před 5 roky | |
| .gitignore | před 5 roky | |
| .gitmodules | před 10 roky | |
| .travis.yml | před 5 roky | |
| CMakeLists.txt | před 5 roky | |
| LICENSE | před 5 roky | |
| README.md | před 5 roky |
AnKi 3D engine is a Linux and Windows opensource game engine that runs on Vulkan 1.1 and OpenGL 4.5 (now deprecated).
AnKi's license is BSD. This practically means that you can use the source or parts of the source on proprietary and
non proprietary products as long as you follow the conditions of the license.
See LICENSE file for more info.
Build Status, Linux and Windows
To checkout the source including the submodules type:
git clone --recurse-submodules https://github.com/godlikepanos/anki-3d-engine.git anki
AnKi's build system is using CMake. A great effort was made to ease the building process that's why the number of
external dependencies are almost none.
Prerequisites:
To build the release version:
$cd path/to/anki
$mkdir build
$cd ./build
$cmake .. -DCMAKE_BUILD_TYPE=Release
$make
To view and configure the build options you can use ccmake tool or other similar tool:
$cd path/to/anki/build
$ccmake .
This will open an interface with all the available options.
Prerequisites:
VULKAN_SDK that points to the installation path of VulkanSDKPATH environment variableWindows 10 SDK (xxx) for Desktop C++ [x86 and x64] component is installedTo build the release version open PowerShell and type:
$cd path/to/anki
$mkdir build
$cd build
$cmake .. -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release
$cmake --build . --config Release
Alternatively, recent Visual Studio versions support building CMake projects from inside the IDE:
This code repository contains 3 sample projects that are built by default (ANKI_BUILD_SAMPLES CMake option):
sponza: The Crytek's Sponza scenesimple_scene: A simple scenephysics_playground: A scene with programmer's art and some physics interactionsskeletal_animation: A simple scene with an animated skinYou can try running them and interacting with them. To run sponza, for example, execute the binary from any working directory.
On Linux:
$./path/to/build/bin/sponza
On Windows just find the sponza.exe and execute it.