Skip to content

Skeletal animation demo implemented with OpenGL and Assimp.

Notifications You must be signed in to change notification settings

SuZhifei/skeletal-animation

This branch is 27 commits behind tigert1998/skeletal-animation:master.

Repository files navigation

Skeletal Animation

This repository is a demo of skeletal animation. I use assimp to load fbx format model including its binding animation. glm is applied to deal with mathematics related works, mainly about matrix transformations. Rendering is implemented with OpenGL 4.1.

Build

OpenGL

OpenGL 4.1 is used because 4.1 is the latest version MacOS supports. 😄

glad

  1. Visit this url to download glad.zip.

  2. After extraction, merge glad/include with /usr/local/include.

  3. Compile glad/src/glad.c into static library with the following shell script:

    clang -c glad.c
    ar rcs libglad.a glad.o
  4. Copy libglad.a to folder skeletal-animation/lib in our project.

assimp, glm and glfw

Use apt to install these libraries on ubuntu, brew on MacOS or other package managers.

premake4

Change your working directory to skeletal-animation/build and use premake4 to do the last but one step. Choose your favorite building system, and build it in the last.

Screenshots

sprite

About

Skeletal animation demo implemented with OpenGL and Assimp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.0%
  • GLSL 3.4%
  • Lua 1.6%