nfrechette/acl
Fork: 93 Star: 1178 (更新于 1970-01-01 00:00:00)
license: MIT
Language: C++ .
Animation Compression Library
最后发布版本: v2.0.6 ( 2022-07-11 07:20:24)
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:
- The library consists of 100% C++11 header files and is thus easy to integrate in any game engine
- An intermediary clip format is supported in order to facilitate debugging and bug reporting
- All allocations use a game provided allocator
- All asserts use a game provided macro
Supported platforms
- Windows VS2015 x86 and x64
- Windows (VS2017 to VS2022) x86, x64, and ARM64
- Windows (VS2017 to VS2022) with clang x86 and x64
- Linux (gcc 5 to 13) x86 and x64
- Linux (clang 4 to 15) x86 and x64
- OS X (12.5, 13.2, 14.2) x64 and ARM64
- Android (NDK 21) ARMv7-A and ARM64
- iOS (Xcode 10.3, 11.7, 12.5, 13.2, 14.2) ARM64
- Emscripten (1.39.11) WASM
- MSYS2 x64
The above supported platform list is only what is tested every release but if it compiles, it should run just fine.
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.
You can install nfrechette-acl
with Conan.
Performance metrics
- Carnegie-Mellon University database performance
- Paragon database performance
- Matinee fight scene performance
- Decompression performance
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.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
最近版本更新:(数据更新于 1970-01-01 00:00:00)
2022-07-11 07:20:24 v2.0.6
2022-07-02 02:32:30 v2.0.5
2022-05-08 22:59:01 v2.0.4
2022-05-07 09:49:13 v2.0.3
2022-02-15 10:25:14 v2.0.2
2021-09-07 03:22:26 v2.0.1
2021-05-02 03:24:38 v2.0.0
2020-09-26 00:39:47 v1.3.5
2020-08-21 22:29:43 v1.3.4
2020-08-03 09:28:32 v1.3.3
主题(topics):
animation-3d, animation-compression, c-plus-plus, compression, cpp, game-development, game-engine
nfrechette/acl同语言 C++最近更新仓库
2024-11-21 04:48:41 PCSX2/pcsx2
2024-11-20 09:02:24 dail8859/NotepadNext
2024-11-20 04:28:15 microsoft/terminal
2024-11-18 22:35:05 ClickHouse/ClickHouse
2024-11-18 14:36:13 cxasm/notepad--
2024-11-18 00:19:27 MaaAssistantArknights/MaaAssistantArknights