Why do Reforged models have 4 copies of all mesh?

Retera

Tool Reviewer
Level 34
Joined
Apr 19, 2008
Messages
1,233
I have a technical question: why do Reforged models have 4 copies of each mesh tagged with different Level of Detail values? I thought this would be for some options menu setting to use the lower level of detail on slower computers, but I can't find any setting to use the lower level of detail at all.

So then I thought they were used based on camera distance, that surely a unit who was further away would use a lower level of detail (similar to mipmaps but for mesh). In my testing this did not appear to be the case, either.

So all I can see is that if I'm making a custom model I can delete 3/4 of the meshes ( all levels of detail except for highest ) and the custom model is still fine.

This is of course ridiculous if true, as it would mean 3/4ths of the meshes of all Reforged assets were junk data that we could get Blizzard to delete from the game to reduce the file size if it were true.

So it's probably not true. The LOD setting probably is used. But where? How? Is anyone able to tell?

Edit: This is important to modeling because if all that stuff is junk then we could make custom models with smaller file size by always just making 1 highest detail version of the custom model. But if it's not junk, then custom models need 4 copies as well.
 
Last edited:
This is what people should be doing anyway. Messing with LOD is too much work/trouble for the average person (not to mention we need to save the world from LOD3).
This.

LODs obviously mean Level of Detail, so that probably was the idea.

But no matter if LODs would even be used, it's just more work, as well as a larger file size. And the latter is crucial for now, since maps only support 256MB of data (barely enough for 2 races with custom assets).
Our project hasn't made a single model with LODs, and we're already at very large file sizes (since it's campaign it won't matter much anyways).

Funny enough there are a few model that don't have LODs, as well as all portraits. So it might just be an idea Blizzard had, and abandoned, but kept in place if it ever came to performance complaints.

So I would suggest to not make models LOD, and just select them and delete before you start making the model.
 

Zorrot

Hosted Project: QM
Level 8
Joined
May 16, 2010
Messages
67
I have a technical question: why do Reforged models have 4 copies of each mesh tagged with different Level of Detail values? I thought this would be for some options menu setting to use the lower level of detail on slower computers, but I can't find any setting to use the lower level of detail at all.

So then I thought they were used based on camera distance, that surely a unit who was further away would use a lower level of detail (similar to mipmaps but for mesh). In my testing this did not appear to be the case, either.

So all I can see is that if I'm making a custom model I can delete 3/4 of the meshes ( all levels of detail except for highest ) and the custom model is still fine.

This is of course ridiculous if true, as it would mean 3/4ths of the meshes of all Reforged assets were junk data that we could get Blizzard to delete from the game to reduce the file size if it were true.

So it's probably not true. The LOD setting probably is used. But where? How? Is anyone able to tell?

Edit: This is important to modeling because if all that stuff is junk then we could make custom models with smaller file size by always just making 1 highest detail version of the custom model. But if it's not junk, then custom models need 4 copies as well.
Well it's just placeholder, and here is envidence, but i'm not sure if there is any tirgger.

Here is a war3log which can be find in mydocument/logs

war3log.png


As you can see, the lod is lock in level 1, which means neither they haven't build this system, or they don't want to open due to bugs.

BUT another interesting things may related in the regeditor, in warcraft 3 - video it has miplevel, modeldetail which is unchangeable in game.

I cant see different when change these setting, but I don't have an eagle eyes so maybe missed something, so I wonder if it's working.

reg.png
 

Attachments

  • war3log.png
    war3log.png
    67.8 KB · Views: 10
Top