Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
1 registered members (AndrewAMD), 599 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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 | chip programmers | 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