SHADER RENAMER.MEL
It is a simple tool that rename shaders and its connections.
It takes key name from file texture if file texture is connected. Else it takes the name of mesh as a key name to rename the shaders.
Renaming pattern “keyName + nodeType”
Works on selected shader too.
Make sure your texture contains atleast single ”_”.
for Eg:
If your texture File Name is “abc_skin_color.jpg” then key name will be “abc_skin_skin”. Here Key name is “abc_skin” while renaming lambert10 shader where “abc_skin_color.jpg” is connected to color attribute it results “abc_skin_sd”, “abc_skin_file”, “abc_skin_P2DT”, “abc_skin_SG”…..etc
Additional scripts along this downloads:
1.TextureUpdate.mel:- allows you to update textures. select the geometry and excute the script.
2.swapCache.mel: swap the caches if cache name is exactly same for difference shots.
For Eg:
current cache directory for shot001: d:\project\sc001\cache\abcCharacter\abc_body\abc_bodyShape.mc
target cache directory for shot002: d:\project\sc002\cache\abcCharacter\abc_body\abc_bodyShape.mc
“Name and path must be same except shot
put “sc001” in search for(CURRENT SCENE).
put “sc002” in repalace with(NEW SCENE).
put frame count for new shot ie shot 002.
press apply
watch video at high res.
http://youtu.be/7Jy1IFXnEX8