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 9dac08cbce Vulkan: Fixes for intel's anvil driver пре 9 година
bled bfda9ca6b0 Added bled window based off of testap пре 9 година
docs 146a4a51bf Minor refactoring and docs пре 9 година
engine_data 93bb78f116 Refactoring пре 10 година
include 51edefba1f Vulkan: Work on the texture (WIP) пре 9 година
samples 4b1d5fd270 Adding the assets for the simple scene. It's too basic at the moment but I'll improve it пре 9 година
sandbox e257f7be93 Config can now be set using command line arguments пре 9 година
shaders 5c5eeb703e Vulkan: Work on resource group. Uniforms seem to work пре 9 година
src 9dac08cbce Vulkan: Fixes for intel's anvil driver пре 9 година
tests 0c55a1941a Vulkan: Adding vertex input support пре 9 година
thirdparty @ d8b87a24bb 766274c258 Point to the updated thirdparty пре 9 година
tools c8871b3d7f Optimizing parallax a bit пре 9 година
.clang-format dd4e75a30f Formatting the source with a custom clang-format пре 10 година
.gitignore cf29ba6edf Some work on the Vulkan backend (GrManagerImpl) пре 9 година
.gitmodules 8d2aaee2ae Fixing submodules пре 10 година
.travis.yml 611b00c758 Go back to old GL interface for programs and shaders. Less bugs that way пре 10 година
AndroidManifest.xml bc81b1130b Android пре 12 година
CMakeLists.txt 9dac08cbce Vulkan: Fixes for intel's anvil driver пре 9 година
LICENSE 82e681f5ff Some more work on the Vulkan pipeline пре 10 година
README.md 78a7c726a5 Vulkan: Work on the framebuffer and commandbuffer пре 9 година

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

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

Next steps

Try to build with samples enabled (see the relevant option in your CMake GUI) and try running the simple_scene executable. More samples will follow.