News:

If you are a developer, please build MegaGlest on your own and get in touch to contribute (or post your patches on the forums).

Main Menu

MD5 Model Format (or variant)

Started by ChupaReaper, 26 February 2011, 20:10:32

-Archmage-

Oh well I have a Radeon HD 5870, so I'm not too worried with over 2 terraFLOPs. ;D

Anyway I think default should be 4.

John.d.h

Truth be told, you could make the most sophisticated animation on a super high-poly model with a high-resolution texture, and it wouldn't look appreciably better in Glest than a much simpler unit.  Keep in mind that everything is from a bird's eye view here.

If this is only a limit on the number of bones that can directly influence a vertex, then we should still be able to go crazy with target bones and other such things like on that spider, right?

will

Quote from: John.d.h on 11 March 2011, 08:23:13
If this is only a limit on the number of bones that can directly influence a vertex, then we should still be able to go crazy with target bones and other such things like on that spider, right?

I have to think about that.   I think the shader will have to have a configured maximum number of bones in all too, but you can always have more bones by having submodels.  Anyway, this maximum number of bones per mesh is going to be quite high and nothing to worry about with spiders and things.

ChupaReaper

#28
File size will be drastically reduced regardless:

Werewolf.md5mesh 469KB         
Werewolf_Idle.md5anim 28KB      vs   Werewolf_Idle.g3d 1,218KB
Werewolf_Move.md5anim 41KB   vs   Werewolf_Move.g3d 1,610KB
Werewolf_Attack.md5anim 24KB   vs   Werewolf_Attack.g3d 826KB
Werewolf_Death.md5anim 27KB   vs   Werewolf_Death.g3d 1,218KB
Total: 589KB   vs   4,872KB

As you can see, there is a huge file size difference and also similar meshes can share md5anims too so if you keep your skeletons under a nice format you may not have to animate as much and can save a few KBs, not that is matters that much, what with how much you save in comparison to G3D. Overall it's ~8x smaller with the bonus of animation sharing which could save even more space with similar models. With my mod I'm struggling to handle to factions, with md5 I should be able to handle 8 no problem and I'm only going for 5.

will

excellent stats!  Any chance of seeing the numbers after 7zipping those two versions - MD5 and G3D - in separate archives?

ChupaReaper

#30
Quote from: will on 11 March 2011, 08:54:31
excellent stats!  Any chance of seeing the numbers after 7zipping those two versions - MD5 and G3D - in separate archives?
Ok so all the Werewolf md5 files (mesh and anims) compressed into 7zip with ultra compression are 128KB.
The g3d files are make up a much bigger 7zip of 2.47MB! That's nearly 20x bigger  :o!

ChupaReaper

I been away from these forums for a while, any news on a new model format? I'm redoing my project to use less models so the file sizes are less of a problem now, it's the skeletal animation that would be the most useful.