Animation Toolkit: lightweight C++ library for character animation and motion analysis.
The included example example.cpp
reads a BVH file and prints the local orientations of each joint for the first frame.
You will need to have a C++ build environment, git and cmake installed. See the next section for instructions if you need advice setting this up. This repository depends on GLM which is included with this repository under /external.
Windows
Run the following commands from git bash
$ mkdir -p build
$ cd build
$ cmake ..
$ start atk.sln
Start will launch Visual Studio. From here, set example
as the startup project and use the menu options to Build and Run.
NOTE: The $ symbol indicates your prompt.
macOS and Ubuntu
Run the following commands from the root directory of this repository, in terminal.
$ mkdir -p build
$ cd build
$ cmake ..
$ make
$ ../bin/example
NOTE: The $ symbol indicates your prompt.
Windows
Git and cmake can be installed with the following:
If you do not have a C++ compiler on windows, you can use the community version of visual studio.
- Download and install Visual Studio Community.
Important!! During installation, select: Desktop development with C++
Dependencies, such as GLM, are included in this repository under /external.
macOS
On macOS, install the C++ compiler with xcode. cmake
can be installed with brew.
command xcode-select --install
brew install cmake
Ubuntu
On linux, install the necessary tools and dependencies using apt-get
.
sudo apt-get install cmake
sudo apt-get install git