theatrus
13-06-2006 08:47:47
When attaching meshes together with different materials, 3dsmax of course creates a Multi/Sub-object material (and gives it a new randomish name, such as Material #11 in this case).
oFusion exports this sub-object material with a / in the name, so if I had materials A and B, I now export:
Material_#11/A
Material_#11/B
In this case, I'm not using the scene manager functionality of oFusion (I have my own for various reasons including physics body loading and more - sure doesn't make level building easy ), so I'd like to share a common Materials between all meshes. Is there any way for oFusion to not add the name of the multi/sub-object material to the material name? Granted I can use OgreXMLConverter + script to batch "fix" all of the materials, but this seems like more of a pain than its worth.
Any ideas?
oFusion exports this sub-object material with a / in the name, so if I had materials A and B, I now export:
Material_#11/A
Material_#11/B
In this case, I'm not using the scene manager functionality of oFusion (I have my own for various reasons including physics body loading and more - sure doesn't make level building easy ), so I'd like to share a common Materials between all meshes. Is there any way for oFusion to not add the name of the multi/sub-object material to the material name? Granted I can use OgreXMLConverter + script to batch "fix" all of the materials, but this seems like more of a pain than its worth.
Any ideas?