I found this blog very helpful about describing bvh file parsing and have successfully built my own bvh file player with OpenGL.

One important tip not mentioned in the blog is to use GL_LINES as the kind of primitive to draw when calling glDrawElements with indices and the vertex buffer object.

Here is the screen shot: (the motion capture data is from cmu mocap database)

mocap-screenshot
Advertisements