I am happy with being able to select when exporting that the material names remains unchanged. Hopefully the separation at the first "_" shouldn't cause any problems since it also appears in the names themselves.
I wanted the names of the materials from the imported mesh to be stay unchanged.
eg. Material name from the mesh "LM_Hull_t" should not become "LM_Hull_t_ProjectApollo\LMASC_LM_VC" and stay "LM_Hull_t"
The example above with “LM_Hull.dds” was only intended to show the changes made after importing.
I used the .dds to immediately recognize whether it was a material with textures or not. But I changed it and just use a "_t" for it now.
The material names are written into an xxx_resource.h file using an extended version of meshc. These names are then used in source code to address the materials. Now if someone imports the mesh file again, the materials names will be changed and the source code will no longer work.
For example, when I import a mesh, the material name is: E.g. “LM_Hull.dds” and it becomes “LM_Hull.dds_ProjectApollo\LMASC_LM_VC”. For me it is important not to have this “extension” and to leave the material name as it is. I made changes to the importer code myself for this, but I think it's...
This is not a problem with the Blender mesh tools addon. Your problem is that the file was not saved correctly.
Try loading the file with a text editor and then saving it as UTF8.
Alternatively, take this file.
#UPDATE Should Work in Textures and Textures2
Based on my last post, if you also add the following in the file "import_tools.py" starting at line 350, it should work automatically without having to rename the files, at least it does for me.
The problem with the capitalization of texture names...
The problem arises because Windows does not differentiate between upper and lower case. Linux, on the other hand, does.
I can work around the problem by changing the lines 429 and 430 in the file "import_tools.py".
from
....
up = [pp.lower() for pp in p.parts]
orbiter_path =...
Thanks Blake, I tested V2.1.1 and it works perfectly.
I work on the NASSP VC and there are many switches, rotarys etc where the mesh of each one is the same, so just one mesh with multiple instances so I can make a change to that obejct that affects them all.
Before that I had a workaround that...
@Blake
Is it possible that the groups are sorted in the following order?
eg. I have 2 collections and want the groups of the 1st collection to be at the beginning and then the groups of the 2nd collection.
Currently the groups are sorted by their names
Mesh01
Mesh01.001
Mesh02
Mesh02.001
But...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.