Skip to content

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 (mathias.mikalsen1230@gmail.com).

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages