ScriptSpot

Forum topic · Scripts Wanted

help cleaning up multi sub object material

By oompa_l · 2009-12-29

Description

I have a mesh with a multi sub object material with something like 150-200 materials - bu these are really just variations on each other, subtle shifts in colour and transparency. Can anyone think of a way to 'normalize' this group - to reduce it using a mapping down to something more manageable like 10 or 5?

Comments (1)

Marco Brunetta · 2009-12-30

I guess you could do a script that compares material properties based on a predefined threshold, if the difference between two material properties falls within the threshold, then they are replaced with a new material with an averaged value. Of course the script would have to check every property and every material...