Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a human model in Blender, exported the vertices and indices into a JSON file and render the model in a browser using WebGL. Now I created a walk and jump animation in Blender and would like to do the same with WebGL.

I saw examples that use a list of vertices for every frame of the animation. Is this the way to go? Do I need to export the vertices for every frame for every animation?

share|improve this question

You need to implement either something like bones or morphs. As stephelton suggests, a WebGL framework would make this easier.

Since you're using Blender, how about using three.js ?

It already has a Blender exporter and there is also a python script to convert objs to the json format the framework uses, in case you need to use other applications.

Among great other projects, it was used for and you can see samples of morphs there. You can have a look at the source code for the models as well.

animation skinning three.js sample morph targets three.js sample

share|improve this answer

You want to employ some kind of skeletal animation system. I suggest you find a WebGL framework to support this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.