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 c6cbbafcf2 Renderer: Some volumetric fixes 9 years ago
bled 66486287d3 Renderer: Optimize and correct volumetric shader 9 years ago
docs ba644515a2 Rearanging files around. Placing relevant files close together 9 years ago
engine_data d7dc76edc0 Renderer: Remove some noise from SSAO & enable shadows in volumetric 9 years ago
samples 45377710d7 Remove some ETC compression from textures 9 years ago
sandbox 6dcd672b63 Renderer: Add blur in volumetric fog 9 years ago
shaders 50234c4f90 Renderer: Control the volumetric modulation using camera rotation 9 years ago
src c6cbbafcf2 Renderer: Some volumetric fixes 9 years ago
tests fe959a9bbc Vulkan: do some work to fix the SimpleDraw test 9 years ago
thirdparty @ a9e034b8d2 e6860eeede Add sponza assets 9 years ago
tools 45377710d7 Remove some ETC compression from textures 9 years ago
.clang-format 839ca8b35a Major refactoring: Moved from 80 columns to 120 9 years ago
.gitignore cf29ba6edf Some work on the Vulkan backend (GrManagerImpl) 9 years ago
.gitmodules 8d2aaee2ae Fixing submodules 10 years ago
.travis.yml 75a7f75cac Change the way external CMake projects work. That will fix some build issues 9 years ago
AndroidManifest.xml bc81b1130b Android 12 years ago
CMakeLists.txt 6a7432e159 Some refactoring in materials 9 years ago
LICENSE 7d7a993f8e Update the copyright notice year 9 years ago
README.md 75a7f75cac Change the way external CMake projects work. That will fix some build issues 9 years ago

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

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.

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

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.