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]).
- 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)
- 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.
Compilation:
cmake .
make
Then, to run the examples: ./sfml_examples