Skip to content

Adding library to existing project

Jon-Mailes Graeffe edited this page May 5, 2020 · 3 revisions

Add Aether.Animation library to existing MonoGame Windows/SharpDX project

  1. copy DLL files from <this repo>/Aether.Extras/ folder somewhere to your project directory

  2. add Aether.Content.Pipeline.AnimationImporters.dll and Aether.Content.Pipeline.GraphicsImporters.dll to the references in your MonoGame Pipeline Tool

    click if you've already an animated model in your content pipeline

    In order to be able to import animations, you need to set the processor of the FBX file to GPU AnimatedModel - Aether, or CPU AnimatedModel - Aether respectively if you want to use the CPU to compute the animations.

  3. add Aether.Animation.dll as a reference to your Microsoft Visual Studio 2017 project

  4. have a look at the provided example project code (Game1.cs), and copy over animation-related stuff to your code base

Using the sample animated model to test

If you want to use the sample animated model from the example project to test, you obviously need to add the FBX file to your content pipeline too, and not-so-obviously, change the processor to GPU AnimatedModel - Aether, or CPU AnimatedModel - Aether respectively if you want to use the CPU to compute the animations: