AnKi 3D Engine - Vulkan and D3D12, modern renderer, scripting, physics and more

#game-engine #gamedev #engine #3d #rendering #opengl #vulkan #glsl #hlsl #cpp

Panagiotis Christopoulos Charitos b433f50752 Some interlacing work 9 lat temu
bled bfda9ca6b0 Added bled window based off of testap 10 lat temu
docs ba644515a2 Rearanging files around. Placing relevant files close together 9 lat temu
engine_data 7c4c89295d Making IR Vulkan debug friendly and hopefully faster 9 lat temu
samples 21f30db78b Some work on the GPU stack allocator 9 lat temu
sandbox b433f50752 Some interlacing work 9 lat temu
shaders b433f50752 Some interlacing work 9 lat temu
src b433f50752 Some interlacing work 9 lat temu
tests 2262f9b896 GR: Some refactoring and bug fixes 9 lat temu
thirdparty @ 39e747eb08 2e90a8bcf1 Add some missing functionality in deferred decals 9 lat temu
tools ac994325da Tools: Update py script 9 lat temu
.clang-format 839ca8b35a Major refactoring: Moved from 80 columns to 120 9 lat temu
.gitignore cf29ba6edf Some work on the Vulkan backend (GrManagerImpl) 9 lat temu
.gitmodules 8d2aaee2ae Fixing submodules 10 lat temu
.travis.yml 21f30db78b Some work on the GPU stack allocator 9 lat temu
AndroidManifest.xml bc81b1130b Android 12 lat temu
CMakeLists.txt ae2d86f52a Adding SMAA 9 lat temu
LICENSE 82e681f5ff Some more work on the Vulkan pipeline 10 lat temu
README.md a361c0d1d2 Fixing issue #14. Thanks for the report 9 lat temu

README.md

AnKi logo

Build Status

AnKi 3D engine is a Linux and Windows opensource game engine that runs on OpenGL 4.5 and Vulkan 1.0 (Beta).

Video

License

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.

Building 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.

On Linux

Prerequisites:

  • Cmake 2.8 and up
  • GCC 4.8 and up or Clang 3.7 and up
  • libx11-dev installed
  • [Optional] libxinerama-dev if you want proper multi-monitor support

To build the release version:

$cd path/to/anki
$cd mkdir build
$cd ./build
$cmake ..
$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.

On Windows

Prerequisites:

  • CMake 2.8 and up
  • Mingw-w64 4.8 and up
    • Install to a path without spaces
    • Append the path where mingw's binaries are located (eg C:/mingw-w64/x86_64-4.9.3-win32-seh-rt_v4-rev1/mingw64/bin) to the PATH environment variable

To build the release version:

  • Open CMake GUI tool
    • Point the source directory to where AnKi's CMakeLists.txt is located
    • Select a build directory (eg path/to/anki/build)
    • Configure by selecting mingw makefiles
    • Generate the makefiles
  • Open a PowerShell
    • Navigate to where the build directory is located
    • Invoke the mingw's make: mingw32-make

NOTE: If you have a better way to build on Windows please let us know.

NOTE 2: The Windows build tends to break often since Windows is not the primary development platform. Please report any bugs.

Next steps

Try to build with samples enabled (see the relevant option in your CMake GUI, ANKI_BUILD_SAMPLES) and try running the simple_scene executable. All samples must run from within the samples directory.

$cd path/to/anki/samples
$./path/to/build/samples/simple_scene/simple_scene

More samples will follow.