Skip to content
Animation Compression Library
Branch: develop
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake Enable shadowing warnings. Jan 23, 2019
docs Minor documentation fixes. Apr 12, 2019
external Updating sjson-cpp to v0.6 Apr 7, 2019
includes/acl Properly fix Windows ARM quat_mul. Apr 6, 2019
test_data Adding more regression test configurations for Medium/High/Highest co… Mar 31, 2019
tests Properly fix Windows ARM quat_mul. Apr 6, 2019
tools Fix iOS default profiling configuration. Apr 7, 2019
.editorconfig Adding cmake files to editorconfig. Jan 16, 2019
.gitignore Added support to write out compressed binary data. Apr 24, 2018
.gitmodules
.travis.yml Adding brew update before python3 install on OSX travis. Jan 12, 2019
CHANGELOG.md Updating changelog. Apr 12, 2019
CMakeLists.txt Clarified comment. Apr 6, 2019
CODE_OF_CONDUCT.md
CONTRIBUTING.md Adding a dedicated getting started section. Apr 3, 2018
LICENSE Updating copyright and license notices. May 24, 2017
README.md
appveyor.yml Bumping version number for release. Apr 12, 2019
make.py Updating default decompression profiling data version. Apr 6, 2019
sonar-project.properties Bumping version number for release. Apr 12, 2019

README.md

CLA assistant Build status Build Status Sonar Status GitHub release GitHub license

Animation Compression Library

Animation compression is a fundamental aspect of modern video game engines. Not only is it important to keep the memory footprint down but it is also critical to keep the animation clip sampling performance fast.

The more memory an animation clip consumes, the slower it will be to sample it and extract a character pose at runtime. For these reasons, any game that attempts to push the boundaries of what the hardware can achieve will at some point need to implement some form of animation compression.

While some degree of compression can easily be achieved with simple tricks, achieving high compression ratios, fast decompression, while simultaneously not compromising the accuracy of the resulting compressed animation requires a great deal of care.

Goals

This library has four primary goals:

  • Implement state of the art and production ready animation compression algorithms
  • Be easy to integrate into modern video game engines
  • Serve as a benchmark to compare various techniques against one another
  • Document what works and doesn't work

Algorithms are optimized with a focus on (in this particular order):

  • Minimizing the compression artifacts in order to reach high cinematographic quality
  • Fast decompression on all our supported hardware
  • A small memory footprint to lower memory pressure at runtime as well as reducing disk and network usage

Decompression speed will not be sacrificed for a smaller memory footprint nor will accuracy be compromised under any circumstances.

Philosophy

Much thought was put into designing the library for it to be as flexible and powerful as possible. To this end, the following decisions were made:

Supported platforms

  • Windows VS2015 x86 and x64, VS2017 x86, x64, and ARM64*
  • Linux (gcc5, gcc6, gcc7, gcc8, clang4, clang5, clang6) x86 and x64
  • OS X (Xcode 8.3, Xcode 9.4, Xcode 10.1) x86 and x64
  • Android (NVIDIA CodeWorks) ARMv7-A
  • iOS (Xcode 8.3, Xcode 9.4, Xcode 10.1) ARM64

The above supported platform list is only what is tested every release but if it compiles, it should run just fine.

Note: VS2017 compiles with ARM64 on AppVeyor but I have no device to test it with.

The Unreal Engine is supported through a plugin found here.

Getting started

This library is 100% headers as such you just need to include them in your own project to start using it. However, if you wish to run the unit tests, regression tests, to contribute to ACL or use it for research, head on over to the getting started section in order to setup your environment and make sure to check out the contributing guidelines.

If you would like to integrate ACL into your own game engine, follow the integration instructions here.

Performance metrics

External dependencies

You don't need anything else to get started: everything is self contained. See here for details.

License, copyright, and code of conduct

This project uses the MIT license.

Copyright (c) 2017 Nicholas Frechette & Animation Compression Library contributors

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

You can’t perform that action at this time.