I want to animate a model (for example a human, walking) in OpenGL. I know there is stuff like skeleton-animation (with tricky math), but what about this....
- Create a model in Blender
- Create a skeleton for that model in Blender
- Now do a walking animation in Blender with that model and skeleton
- Take some "keyFrames" of that animation and export every "keyFrame" as a single model (for example as obj file)
- Make an OBJ file loader for OpenGL (to get vertex, texture, normal and face data)
- Use a VBO to draw that animated model in OpenGL (and get some tricky ideas how to change the current "keyFrame"/model in the VBO ... perhaps something with
glMapBufferRange
Ok, I know this idea is only a little script, but is it worth looking into further? What is a good concept to change the "keyFrame"/models in the VBO?
I know that memory problem, but with small models (and not too much animations) it could be done, I think.