MD3 animations

hi

I’ve just written a new MD3 loader from scratch. The format is pretty simple so it’s not that much code. If you’re interested, where it is: http://jagatoo.svn.sourceforge.net/viewvc/jagatoo/trunk/src/org/jagatoo/loaders/models/md3/MD3File.java?view=markup

My problem are the animations. I’ve successfully read all the frames and I can play them back. But how do I distinguish between different animations? Everything is stored in ONE sequence of frames. There are no frame blocks marked (with a name). But there seem to be different animations.

In MD2 there were different animations to be identified by name. And it seems to be dumb to drop this feature in MD3.

Any ideas are helpful.

Thanks,
Marvin

Hi Marvin!

Excellent work!

Some formats have no named animations, the sequence is splitted in code, for example: walk 0-20, idle 21-40, fire 41-60 and so on.

Heres some information: http://www.misfitcode.com/misfitmodel3d/olh_quakemd3.html

Thanks for this very useful information.

There’s another problem, I cannot find any info about. How are the tags transformed through the animation? Do you know anything about that?

Marvin

Sorry no idea… I’ve never worked with MD3 files myself.

No problem. I got it. I just had a bad testing model when I initially implemented the tag-reading.

It goes like this:
for each frame read one transformation for each tag.

That’s all.

Marvin