• 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.

Naming Textures during compile process

Messages
687
Country
us-texas
Many of the airports I model have many custom objects. During the compile in MCX I've checked to have the model name added as part of the texture name to keep everything separate. However there are many times where after running the drawcall minimizer those texture names are stripped and a generic "material_1" or similar is inserted. That's fine except that with almost every other object after that, it inserts the same material name for a different texture. The first "material_1" might be a corrugated metal roofing. . .the next model I do. . ."material_1" is wood planking. If I change the name of those prior to exporting as an mdl or scenery bgl, will it be recognized or will it expect to call the original "material_1"?
 
Hi,

I thought the default name in the drawcall minimizer did use the model name as well, but I would to check that.

You can rename them before export, the model will then use the new name. Best to do it before saving the texture files as well.
 
Hi,
I thought the default name in the drawcall minimizer did use the model name as well, but I would to check that.
You can rename them before export, the model will then use the new name. Best to do it before saving the texture files as well.
Ok, that works Arno. Thanks.
 
Nope, I was wrong about when the model name is removed. It happens during the conversion of the textures to "dds" format. I just did 5 hangars that I put into a single library. After running the "drawcall minimizer" the texture names remained as they had been, with the model name as a prefix. Apparently when I saved the textures to dds, it makes an entirely new texture name because when I went to collect the textures and zip everything for distribution, I now have "material_1, material_2, material_3, material_4". I have 40 scenery objects I'm converting to various object libraries. I can guarantee that in the end I'll have at least that many textures all named the same thing, lol. . . .which obviously isn't going to work if they all go into a single texture folder.
 
ok, I discovered the problem, or at least the oddity of it all. When the drawcall minimizer runs, on some textures it adds a (\) backslash rather than a hyphen or underscore. It's those textures that it removes the model name from. Knowing that, I can just amend that prior to saving the textures to dds.
 
Humm, sounds weird. From which format are you importing?
 
Humm, sounds weird. From which format are you importing?
I'm using sketchup for the modeling and their internal textures are jpg. The custom ones I build or have on hand for projects are all bitmaps. I don't see any correlation between various file formats and the backspace that's added. Anyway, it's after the drawcall minimizer that I notice the backspaces. Of course from that point I adjust the names that require it and export as dds.
 
Back
Top