GithubHelp home page GithubHelp logo

murumura / opengl-skeleton-animation Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 7.74 MB

A simple implementation of skeletal Animation using OpenGL , Assimp , STBImage

Dockerfile 0.21% C 82.83% Shell 0.05% CMake 0.14% Makefile 0.08% C++ 16.38% GLSL 0.30%

opengl-skeleton-animation's Introduction

OpenGL-Skeleton-Animation

A simple implementation of skeletal Animation using OpenGL , Assimp , STBImage

Third party use

  • Assimp.
  • GLM.
  • GLAD.
  • GLFW.
  • stb_image.

How to build and run

I have the dockerfile needed to build the environment for this project, for those who are familiar with the basic operations of docker are very welcome to execute this project directly through docker container I build.

Prerequisites to build docker container

  • Docker version 19.03.13+
  • NVIDIA GPU and corresponding Cuda library, driver installed

build Docker container

Once docker is installed on the host, it is very easy to build a development environment through the dockerfile and build script I provided

# build docker container
$ sh build.sh
# That's it, after a few minutes of installation, you can enter the docker container through run script
$ sh run.sh

After you build the third-party library project needed(or simply use the docker container in this repo), enter the hello_animation folder:

build on host (or on docker container)

$ cd hello_animation/
$ mkdir build
$ cd build 
$ cmake ..
$ make
$ ./hello_animation

Troubleshooting

In the case that a library isn't found, for example libassimp.so.5, you will probably see an error like this one:

hello_animation: error while loading shared libraries: libassimp.so.5: cannot open shared object file: No such file or directory

Make sure you have installed Assimp with CMake and set your $LD_LIBRARY_PATH environment variable.

$ export LD_LIBRARY_PATH=/usr/local/lib

Screenshot

Image

Features

  • Support using camera to adjust view
    • press W,A,S,D to move camera toward/left/away/right
    • moving mouse cursor to adjust camera's yaw, pitch view

opengl-skeleton-animation's People

Contributors

molasseslover avatar murumura avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jjzhang166

opengl-skeleton-animation's Issues

Licensing

Hiya, I have two questions:

  • I noticed there isn't a license file for this project. Is this project unlicensed?

  • I'd really like to reference this project, since it handles GLFW in a really interesting way. Would that be okay?

I think you might want to add a license file, it would clear up things.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.