elenorcoli opened this issue on Apr 15, 2005 ยท 7 posts
elenorcoli posted Fri, 15 April 2005 at 2:14 PM
i was working on the sss tutorial (yes i'm gonna get the real skin shader but i need to check out the tweaks) and noticed that he has names for the nodes. pretty neat but *&^% if i know how to reename them. anyone?
nruddock posted Fri, 15 April 2005 at 2:21 PM
If you have P5, you have to edit the file with a text editor.
For P6, the Python API for ShaderNodes and ShaderNodeInputs have methods to set the names that the user will see (i.e. they can be set by a script).
elenorcoli posted Fri, 15 April 2005 at 2:27 PM
man that was fast but doh! no p6. any idea which file, are we talking about the pz3 file?
nruddock posted Fri, 15 April 2005 at 2:56 PM
Which ever file the ShaderTree is in (CR2, PZ2, PZ3).
Change only the "name" lines, otherwise you'll get disconnected nodes or worse.
AntoniaTiger posted Fri, 15 April 2005 at 3:00 PM
There's various files which can contain P5 Node details, including .pz3 and .pz2 but it's probable most sensible to get a copy of the shader tree saved as a Material, edit the names in that, and so make it loadable in the Materials Room, the .mt5 file. Doing it in a .pz2 or .pz3 can involve several materials, and it's easy to miss or misplace a relabelling.
elenorcoli posted Fri, 15 April 2005 at 3:09 PM
ver very excellent thanks guys
nruddock posted Fri, 15 April 2005 at 3:38 PM
And of course MT5 :)