Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, 7th_zorro), 1,203 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
MDL file size vs, size in RAM #229164
09/24/08 22:51
09/24/08 22:51
Joined: Feb 2002
Posts: 288
California, USA
J
jaknine Offline OP
Member
jaknine  Offline OP
Member
J

Joined: Feb 2002
Posts: 288
California, USA
I have an MDL model that's vertex animated. It's 40MB in file size.

If I load this model into an empty test level room, the amount of system RAM taken up (shown in task manager) is over 100MB.

If I load the same model into MED, the amount of RAM taken up is only 50MB.

What is the difference between loading an MDL into the actual game and loading it into MED that's causing this huge difference in system RAM needed? I understand that the engine has more going on than just MED does, but is there really this much overhead?


Re: MDL file size vs, size in RAM [Re: jaknine] #229176
09/25/08 04:50
09/25/08 04:50
Joined: Jun 2007
Posts: 236
acknex.exe
ACKNEX007 Offline
Member
ACKNEX007  Offline
Member

Joined: Jun 2007
Posts: 236
acknex.exe
when loading in med. it will be not in high quality i think. just preview.

in engine you may have shaders, and other things. ,etc

and i think 40MB for an model is too high.
is it the whole level ? then its ok.

Re: MDL file size vs, size in RAM [Re: ACKNEX007] #229226
09/25/08 17:33
09/25/08 17:33
Joined: Feb 2002
Posts: 288
California, USA
J
jaknine Offline OP
Member
jaknine  Offline OP
Member
J

Joined: Feb 2002
Posts: 288
California, USA
My question isn't about the feasibility of the MDL size but rather about why they take up so much more RAM than the file size is. We're not using any shaders or anything. It's just the MDL files, a level, and that's it.

Please, no opinions on whether you think things are too large, etc. 40MB is not too high for us. We have a published game that's been selling well for a month now with several animated MDL files that are over 100MB. People love our game and it runs fine. I'm just interested in technical responses regarding my question.

Re: MDL file size vs, size in RAM [Re: jaknine] #229231
09/25/08 17:58
09/25/08 17:58
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
My bet is that a DirectX mesh is much larger than just the coordinates in the MDL file. For instance the size of a D3DVERTEX is 14 floats but in the MDL file its probably only 3 or 6 floats.

Re: MDL file size vs, size in RAM [Re: Tobias] #229248
09/25/08 19:43
09/25/08 19:43
Joined: Feb 2002
Posts: 288
California, USA
J
jaknine Offline OP
Member
jaknine  Offline OP
Member
J

Joined: Feb 2002
Posts: 288
California, USA
Hmm. I wonder if that's the case if there's any way to limit it somehow based on the amount of RAM a user has.


Moderated by  HeelX, Spirit 

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