Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 993 Bytes

File metadata and controls

34 lines (20 loc) · 993 Bytes

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