PDA

View Full Version : how to traverse materials,and set the material index for each mesh?


yaoyansi
10-11-2009, 03:09 PM
hi, all
I need to write the following data into a file:
1.data of all materials in the scene;
2.traverse the meshes of the scene, and set the material index for each mesh.

how to implement these in Maya API(or mel)?

Thanks in advance.

CGTalk Moderation
10-11-2009, 03:09 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.