Skip to content

RecklessGame/Skeletal-Animation-Library

Repository files navigation

Skeletal-Animation-Library

A small C++11 library that draws skeletal animation models given animation number and time. Made to be used with other libraries such as Bullet Physics and Box2D.

Made in collaboration with Mathias Mikalsen ([email protected]).

Features

  • Simple way to draw unanimated models (using model.hpp)
  • Simple way to calculate and draw animation frames from skeletal animation models (using skeletal_animation_model.hpp)

TODO

  • Draw using newer OpenGL with skinning on GPU instead of CPU (see SkeletalAnimationModel::drawMeshFrame(const MeshType&)
  • Maybe use OpenGL Mathematics (GLM) instead of Assimp's vectors, quaternions and matrices.

###Usage

See sfml_examples.cpp

###Dependencies

sfml_examples.cpp uses SFML (http://www.sfml-dev.org/), and the header-files are dependent on Assimp (http://assimp.sourceforge.net/) and OpenGL.

Compile and run

Compilation:

cmake .
make

Then, to run the examples: ./sfml_examples

About

A small C++11 library that draws skeletal animation models given animation number and time. Made to be used with other libraries such as Bullet Physics and Box2D.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors