PDA

View Full Version : MD5 Model Animation



Luuk van Venrooij
05-11-2009, 11:03 PM
Hi All,

Here is little project I have been working on. It`s a Doom 3 MD5 loader which support the .md5mesh and .md5anim files. It can playback the different animation sequences stored in the .md5anim files. I wrote this to familiarize myself with bone animation.

Controls:
- Mouse + WASD for movement and to look arround
- F1 : Show Wireframe
- F2 : Show Bones
- F3 : Show Normals
- F4 : Show interpolated frame boundingbox
- F5 : Loop though different animations

Screenshot:
http://img94.imageshack.us/img94/9977/31897125.th.jpg (http://img94.imageshack.us/i/31897125.jpg/)

Download:
http://www.genesisdevice.net/downloads/md5animation.zip

Some features I`m going to work on:
- GPU skinning
- Instanded rendering of same character with different animation playback
- Blending of multible animations on same character.
- Different clocktypes animation playback.

Source like always is LGPL and the model can not be used commercially and is still property of ID.

Cheers,

Luuk

chronozphere
06-11-2009, 09:01 AM
wow.. that looks pretty neat. ;)

Luuk van Venrooij
09-11-2009, 10:07 PM
Small update:
- Cleaned up source
- Improved loading speed by 30%
- Tested it with quake 4 files in made small competibily updates
- Improved rendering by 30% by using vbo`s instead of vertex arrays
- capped animation update speed at 60 fps to improve performance.

Get it here:
http://www.genesisdevice.net/downloads/md5animation.zip