Gamestudio Links
Zorro Links
Newest Posts
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,577 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Model filesize vs. RAM ?? #42683
03/15/05 22:02
03/15/05 22:02
Joined: Jan 2003
Posts: 710
T
Templar Offline OP
Developer
Templar  Offline OP
Developer
T

Joined: Jan 2003
Posts: 710
Hi,

can anyone please explain to me what is the relation between model filesize and amount of RAM it uses? I would think they're equal, but that's obviously wrong.

I have a 1500 poly model with 256x256 skin and some 1500 animation frames. It is saved as MDL5 because it doesn't use bones so the file is even smaller than if saved as MDL7. It is about 8 MB.
When I load it to my level, nexus size shows some 25 MB more! What happened? Even if the engine would allocate memory for (nonexistent) bone animation information (which would be quite a waste of RAM), it shouldn't be this much...

Does anyone knows why is that?

thanks!

Re: Model filesize vs. RAM ?? [Re: Templar] #42684
03/17/05 07:55
03/17/05 07:55
Joined: Jul 2002
Posts: 5,181
Austria
Blattsalat Offline
Senior Expert
Blattsalat  Offline
Senior Expert

Joined: Jul 2002
Posts: 5,181
Austria
ram:
meshdata has a filesize as well (not only textures)....x/y/z/normalvector/bone assignment/texture mapping aso
this data needs to be stored as well. Now with 1500 frames you will need to store this data 1500 times for every frame once. This will lead to a big filesize.


a good bone animated char. would be a lot smaller since you can get rid of the frame related data and use shared animation data. This means you would only need one set up rig with the vertex weigting and load needed anims into the model during runtime.

dds support could also minimzed the needed data for the skins....so smalle filesizes should be on the way with every new feature

cheers


Models, Textures and Levels at:
http://www.blattsalat.com/
portfolio:
http://showcase.blattsalat.com/

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