Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/21/26 19:15
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 6,653 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animated .MDL filesize. #79020
06/22/06 05:33
06/22/06 05:33
Joined: Sep 2004
Posts: 157
J
jakeshields Offline OP
Member
jakeshields  Offline OP
Member
J

Joined: Sep 2004
Posts: 157
Exporting from Max to MED, 160 frames gives a 12 megabyte filesize?

Is this correct?

TIA,


jakeshields

Re: Animated .MDL filesize. [Re: jakeshields] #79021
06/22/06 05:40
06/22/06 05:40
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
The formula for calculating the file size is this:

MDL_file_size = vertices*12*frames + faces*6 + skin_vertices*8 + skin_faces*6 + skin_width*skin_height*bit_depth/8;

That's the formula used for calculating the file size of any model, no matter how many frames it has. This assumes vertex animation. For bones animation, it has very few differences:

MDL_file_size = vertices*12 + faces*6 + bones*2*frames + skin_vertices*8 + skin_faces*6 + skin_width*skin_height*bit_depth/8;


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials

Moderated by  HeelX, rvL_eXile 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1