Condense by Material
This script condense objects with the same material, convert them into Editable Meshes, optimize the geometry and rename it as its material. If you select a large number of objects (+5k) it can take some time but it is crash-proof (so far). Specially useful in case you import architectural files from .3ds or other format and the file contains Material information. At the end you will have the same number of objects as the materials you had (e.g. Brick, Glass, Frames, Wood, etc.) Enjoy :)
v1.25 -Objects without material now receive a "Default_Material".
-Fix crash when applied to only to cameras or lights.
-Optimized code for faster results.
Installation: Go to “MaxScript” menu and select “Run script”. Select the file and click “Open”. Then go to “Customize” menu, and select “Customize user interface”. In the new window, select tab “Toolbars”, in “Category” select "Tools”. There you will find "Convert by Material". Now you can drag and drop it in the toolbar. Save changes before closing the "Customize User interface" window. Enjoy :)
Attachment | Size |
---|---|
condense_by_material_v1_25.ms | 3.58 KB |
Comments
very useful script. Thanks!
very useful script. Thanks! Can you make a script that condenses the Multimaterial by using texture names please? That would be GREAT