rename multi/sub materials
in a current project I am working on I am using a large multi/sub material. All sub materials are named 'standardmaterial' and have a different bitmap assigned to their diffuse channel.
Now I'm trying to rename all the materials according to their bitmap name, so the 'standardmaterial' needs to be replace by 'bitmapname'. Because the multi/sub material has more than 400 materials, it's obvious this needs to be automated.
is their any way I could call upon the diffuse channel bitmap name of the material and output that as the sub/material name by means of scripting? You should know that my scripting skills are poor and in a starting phase...
thanx in advance,