Select Objects by Multiple Materials?
I used ninjaripper to rip a map from a game, what it does is that I have to rip certain times and it creates many duplicated materials with the same name.
I would like to request a script that I can select objects by multiple materials so that I can apply one material on the objects I selected
for example:
http://img203.imageshack.us/img203/1772/20229927.png
Please help me! I have about 3500 textures and I can't really select one by one and merge the textures......I appreciated it a lot!!!
Comments
Topic changed
http://www.scriptspot.com/forums/3ds-max/scripts-wanted/condense-by-bitm...
This topic is outdated, check the topic above
mission impossible perhaps...
After reading your last reply:
but some different textures have the same name but in different directory, if I put them all in the same folder some texture will be replaced!
I wonder how anyone can resolve this with script then, because how the code would know which textures are different?
Well, there is
CompareBitmaps()
function but... not really safety way.However, as you open new topic, then post your last notes there too for a better chance to get good help ;-)
my recent MAXScripts RSS (archive here)
:)
From the very beginning I assumed that they would be "mission impossible" with Tom Cruise
bga
try this one
With this little tool you can select objects by material name or material active slot (from the Material Editor)
bga
it seems like it select all
it seems like it select all objects that have the material named Tex_0030_0.dds, is it possible to list all the materials in the order like from "Get from Material" list and let me select part of the materials and then select the objects with the materials I selected?
All the material share same
All the material share same name. That is the problem. It's better to select all objests that use same bitmap in diffuse map slot.
Now the question is: Are these maps instances?
bga
I think they are all
I think they are all instances, btw the material name is actually the texture name, but with different directory
solution #2
Select a object with one of these mtl and press the button
bga
maybe this picture will
maybe this picture will explain more
http://img341.imageshack.us/img341/5658/80226988.png
Red Box are the materials with the same texture but with different directory
like: C:\Frame0000\Tex_0030_0.dds and C:\Frame0001\Tex_0030_0.dds
Red Box and Blue Box shares the same material name but have different textures with unique directory.
So simply all textures there have the unique directory, I guess it would be better to have a list like Material/Map Browser and slot them in the order like in the browser, then for example if I select the materials in the Red Box, it will select mesh 1921, mesh1950, mesh2009, mesh 2031 and mesh 2060. I think the list has text only will be okay, cuz I can check the number of materials I have to select in the Material/Map Browser.
Or, if you could slot the geometry names in "Select by names" like int the Material/Map Browser, its fine too, then I can select the geometry I need faster.
Hi Brian
I think that you s'd first move all *.dds to one folder, e.g. C:\Frames and then in Max -
step #1: relink texture maps;
step #2: condense scene materials;
my recent MAXScripts RSS (archive here)