Aery_Soul opened this issue on Jan 15, 2006 ยท 16 posts
PoseWorks posted Thu, 26 January 2006 at 3:09 AM
To modify shader trees in P5, you'll need to do the following in Python:
Save a CR2 (if you're using a figure) or a PZ3 (if a prop--since SaveLibraryProp has never worked properly)
Search the file to find the shader tree you want
Parse the shader tree to get the components that you want
Ponder the reason why CL never added Python support for the Material Room in P5
Make modifications to that data and translate it back into Poser's library code
Write a new PZ2 with the modified shader tree
Apply the PZ2 to the figure/prop
Cry yourself to sleep
Message edited on: 01/26/2006 03:10