Aller au contenu

Photo

Bloated model files


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Zwerkules

Zwerkules
  • Members
  • 1 324 messages
This is just an observation. Maybe it is good to know, maybe not.

In many models, especially those in the DLA tilesets and in tilesets done by Lord of Worms, there are tiles with meshes that sometimes have several thousand faces or several hundred for the DLA tiles. This might be the case in other models, too.

The poly-count  is not a problem, but all those faces have their material id set to 65536 instead of a lower number.
I work with Gmax and for a new face I create the material id is set to 1. Maybe 3dmax sets it to 65536 as a standard.

Since the material id isn't used except for walkmeshes it doesn't really matter what it is, but if it is 65536 instead of 1 for every face that is 4 extra bytes in file size per face.
Loading a few kb more is probably not an issue, but if you have huge haks with many models like that, their file size can be a lot bigger than it has to be.

So if you want to reduce models with many polygons in file size, set the material ids to 1. It probably won't have an impact on game performance and loading times, but it should make uploading haks faster. :P

#2
Michael DarkAngel

Michael DarkAngel
  • Members
  • 385 messages
I think this is an issue with NWMax and by inheritance NWMax Plus.  Because it doesn't "break" the model it was never reported as a "bug".  I'll have to see if I can figure out what is causing it and at least fix it for the Plus versions.

Perhaps it was something OMB had caught and compensated for with CleanModels, but I can't be sure because I haven't re-installed CleanModels yet.

Image IPB
 MDA

#3
Zwerkules

Zwerkules
  • Members
  • 1 324 messages
It only saves about 3% in file size to change those material ids, so it's not really a big issue.

#4
Michael DarkAngel

Michael DarkAngel
  • Members
  • 385 messages
Issue has been fixed.  '65536' should no longer show its ugly face.

Image IPB
 MDA

#5
NWN_baba yaga

NWN_baba yaga
  • Members
  • 1 232 messages
I realy wonder what tile can have several thousand faces.

#6
Zwerkules

Zwerkules
  • Members
  • 1 324 messages
Lord of Worm's forest tiles often have up to five thousand faces, with the groups of small mushrooms alone having over a thousand faces.