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 ab40e8d492 Move the dynamic memory allocator logic in a common place. Also create a new block allocator for the transfer memory il y a 9 ans
bled bfda9ca6b0 Added bled window based off of testap il y a 9 ans
docs 146a4a51bf Minor refactoring and docs il y a 9 ans
engine_data 93bb78f116 Refactoring il y a 10 ans
include ab40e8d492 Move the dynamic memory allocator logic in a common place. Also create a new block allocator for the transfer memory il y a 9 ans
samples fde06f7d2b Adding forgoten files il y a 9 ans
sandbox c8871b3d7f Optimizing parallax a bit il y a 9 ans
shaders c8871b3d7f Optimizing parallax a bit il y a 9 ans
src ab40e8d492 Move the dynamic memory allocator logic in a common place. Also create a new block allocator for the transfer memory il y a 9 ans
tests 0a52a511d2 Small opt in visibility's rasterization tasks il y a 9 ans
thirdparty @ e7b5666520 a16b0ae36e Occluder support. Some scene refactoring. Moving the condition variable notify inside the mutex lock il y a 9 ans
tools c8871b3d7f Optimizing parallax a bit il y a 9 ans
.clang-format dd4e75a30f Formatting the source with a custom clang-format il y a 10 ans
.gitignore fde06f7d2b Adding forgoten files il y a 9 ans
.gitmodules 8d2aaee2ae Fixing submodules il y a 10 ans
.travis.yml 611b00c758 Go back to old GL interface for programs and shaders. Less bugs that way il y a 10 ans
AndroidManifest.xml bc81b1130b Android il y a 12 ans
CMakeLists.txt 137dd0fe8f Making testapp a more generic sandbox application il y a 9 ans
LICENSE 82e681f5ff Some more work on the Vulkan pipeline il y a 9 ans
README.md a3a442faed Fixing the probe distance. Enabling the player controller il y a 9 ans

README.md

AnKi logo

Build Status

AnKi 3D engine is a Linux and Windows opensource game engine that runs on OpenGL 4.4.

Video

License

AnKi's license is BSD. This practicaly 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.5 and up

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 similar:

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