Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,633 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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