Website powered by

Maya Python tool (Material ID Assigner)

This is tool is an exercise where I wanted to create a tool that can generate materials based on vertices of the selected object or each selected object has their own material. This tool has been written in python.

This clip showcases each object in the scene receives different materials regardless of their number of vertices.

Here in this clip the materials can be deleted and reset back to lambert

Here the materials get generated and assigned based on number of vertices the objects has, like the spheres share the same number of vertices so they get the same materials assigned where as cube and torus get different materials assigned