ive got an fbx of a satellite that has been converted from who knows what. not only is it 18000 objects (in some parts each poly is an object) but it also appears to have 18000 (non vray, sometimes cryptically named) materials to go along with it.
i initially assumed that the names were consistent (i.e. 1000 materials all named "brushed steel" ) in which case a script like "instance materials by name" from the kstudios pack would have resolved it fairly easily.
however on seeing the full list of materials i see i have, for example:
brushed steel -32 copies
brushed steel#1 -43 copies
brushed steel_base -97 copies
brushed steel_base #54 -12 copies
etc etc.
so in the end even if i condense all the identical ones, ill *still* have several hundred+ materials, and the kstudios one only works for IDENTICAL names.
what i want is a script that allows me to choose a chunk of materials from a list (even with varying names) and instanciate them all to a single material.
any suggestions? client is (of course) expecting that ill just be able to grab this model and use it. if i have to spend a week cleaning it up itll be an issue.
i initially assumed that the names were consistent (i.e. 1000 materials all named "brushed steel" ) in which case a script like "instance materials by name" from the kstudios pack would have resolved it fairly easily.
however on seeing the full list of materials i see i have, for example:
brushed steel -32 copies
brushed steel#1 -43 copies
brushed steel_base -97 copies
brushed steel_base #54 -12 copies
etc etc.
so in the end even if i condense all the identical ones, ill *still* have several hundred+ materials, and the kstudios one only works for IDENTICAL names.
what i want is a script that allows me to choose a chunk of materials from a list (even with varying names) and instanciate them all to a single material.
any suggestions? client is (of course) expecting that ill just be able to grab this model and use it. if i have to spend a week cleaning it up itll be an issue.
Comment