Materials with Multi Sub Objects
Hi i am using Element 3d and it uses the Materials slot of a .obj or a .c4d model only. However some very good free models i have have only one material slot and when i opened them in 3ds max i found out that the single default material had multiple sub objects. Since Element 3d cannot read multi sub objects or even objects for that matter i was wondering how to convert/assign each sub object its own separate material via script or otherwise.
P.S. i am a complete Newb. 4chan warned you about me :P
Thank You!! ^^

Comments
Thank you very much once again, for your replies
I am sorry i think i did not make myself clear, what i want is that as you can see only one materiel (the 'Default' one) and inside it are a lot of objects, i want them (the objects) to become individual materials like the Default. Here is a screenie of what i mean. Thank you very much for taking out your time for this, means a lot :)
try this then...
select your scene objects and run that script:
for o in selection do o.mat = copy o.matthat should unlink their mats from the parent material.
my recent MAXScripts RSS (archive here)
Thank you very much once again, for your replies
Maybe i didnt make myself clear, as you can see there is only ONE default material and it has sub objects, what i want is to make every sub object Cap_11 for eg an individual material (like the default one)..... Here is an example of what i mean by different materials ....... Seriously i really appreciate you guys taking the time out for this. thank you :)
After adding selection
After adding selection material to the MaterialEditor you can change a name or any other parameters of mtl and create new materilal library for later use.
bga
this will extract all
this will extract all sub-mtls and place it in the material editor. Don't forget to select object with multi sub material.
bga
Thanks but the script doesnt appear to be working, my fault?
I clicked a random part of the model (an object) and ran the script however it is giving the following error , i apologize if it is my fault since i am completely new to 3ds max.
where is the problem then?
From atteched picture I see that your objects already has separate standard material :)
my recent MAXScripts RSS (archive here)
I ask myself this question
I ask myself this question yesterday :)
Every part is detached and have Standard mtl
bga
You recive the error because
You recive the error because your selected part have assigned Standard material.
I edit the snippet
bga
Sorry for double posting ....
I am sorry i think i did not make myself clear, what i want is that as you can see only one materiel (the 'Default' one) and inside it are a lot of objects, i want them (the objects) to become individual materials like the Default. Here is a screenie of what i mean. Thank you very much for taking out your time for this, means a lot :)