• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Mixed-up textures after 2 "Minimize drawcalls" in a row

Messages
6
Country
hungary
Dear Arno,

First of all thank you for this great tool! I already used it successfully for some of my buildings converting from SketchUp to gmax (and to train simulator then). I would just make some notes about the "Minimize drawcalls" function.

At my latest model, when I set the option DrawcallMinimizerTextureSize to 2048, MCX puts the individual textures together in a way that too much waste space is being left at the top-right corner in the first texture file. The second texture file generated is almost empty, so the textures dropped to the second file could be easily placed into the first file. See:
1_2048.jpg2_2048.jpg

But I understand that it isn't easy at all to make a good algorythm for arranging the textures perfectly. So I decided to set the DrawcallMinimizerTextureSize back to 1024. This way MCX could arrange the textures to 4 files only, which is quite right.

Then I had an idea, that why not to run the drawcall minimizer once again with the DrawcallMinimizerTextureSize set to 2048 now. This way MCX should copy together the four 1024x1024 textures, and everything would be the same if I could have generate a 2048x2048 texture at first try. But after the second run, the textures on the building are getting mixed up.
after_2_min_drawcalls.jpg
It seems, that the textures files are copied together correctly, but their correct place on the model is being lost.
4x1024.jpg

Is it a bug, or one shouldn't run the drawcall minimizer two times in a row?
 
Last edited:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,885
Country
netherlands
Hi,

That should work as you have done it. Let me try to debug this issue.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,885
Country
netherlands
Hi,

It's a bug of the display in ModelConverterX. When you save the model to MDL file and then load it again the textures are fine. I think the problem is that ModelConverterX does not update the texture correctly in the preview when the second drawcall minimizer creates a new texture with the same new. I'll try to fix that bug later, but if you just export the model is OK.
 
Top