Hi Folks, I have a model with several separate materials. Is there a script for Max 2012 that will condense or consolidate them into one Multi-Sub material and update the model with the relevant material ids?
I have a bunch of models to do this for and it would really speed me up.
Thank you!
Replies
:-D
I should mention that this script assumes that each object has a different material and there are not any duplicates. If you have duplicates then I would need to check for those to see if they are already in the multi/sub or not and then assign the right matid.
If you have time, I'd be very grateful if you would add this functionality to your script.
Again, thank you for your awesomeness
It's almost perfect, but it is assigning the incorrect material id to objects
it's creating the multisub material perfectly, but still assigning the wrong material to the objects.
anyway, I understand that you have better things to do, anyway it's progress!
EDIT: Actually, it is right about 60% of the time, so that's a big help combined with auto multisub, the rest I can drag and drop manually
I am assuming that all the objects in the scene have one mat ID and one standard material applied to them and its very likely this script will fail if none of the criteria is met. Thats what I meant about it not being bullet proof
I'm not sure what is causing it, but my scene materials are a bit of a mess... after all my experimenting, it could be anything.
On a fresh scene, with normal conditions, maybe it will work perfectly. Anyway, I really appreciate the time you put into this... do you have a paypal so I can buy you a virtual coffee... feel free to PM me with it