PDA

View Full Version : Map slots


varunbondwal
09-04-2008, 03:46 AM
Hey guys.. does anyone know how to list the maps in the material applied to the selected object. For example if an object has blinn applied to it, then how to get a list of the image clips in the diffuse, normal and specular slots of the blinn material, via scripting

tc
09-07-2008, 05:37 AM
look the ImageClips property from the Shader Object in the object model
It returns a Collection of ImageClips object connected to the shader.

CGTalk Moderation
09-07-2008, 05:37 AM
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.