Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
If your working in P6, then yes it's possible.
The extent and type of modifications you make to the settings will determine what the best way of dealing with them is.
Feel free to post an MT5.
You might also want to see if PoseWorks' ShaderSpider
available at DAZ -> http://www.daz3d.com/shop.php?op=itemdetails&item=3551
can do some or all of what you want.
Hello, thank you for the suggestion! I've bought the product and it does the 75% of the work i need, but its anyway a good thing ! Bye! -As Shanim
I made a client module for the prpc project http://prpc.sourceforge.net that will allow you to load a material set (.mt5, .mz5) on multiple figures and material zones. The client module is called prpcLoadMatSet134b06.py and is in the beta section of the file distribution area. http://sourceforge.net/project/showfiles.php?group_id=154670 Maybe that will work for you.
Thanks for the link. I try that script but not working on my poser (i'm using poser 6 sr2) --------------- Traceback (most recent call last): File "", line 343, in ? File "", line 53, in init NameError: global name 'prpcd' is not defined -------------
Yes. Read the homepage for the project to get a general idea about what it's all about. Follow the instructions for the main PRPC package. Then you can run the client module. Then you can send the mt5 file to the client module using Windows Explorer. If it looks promising, I suggest using 'Advanced Library' or 'P3dO' instead of Windows Explorer.
Yes shaderspider can do it, but i need to llink my texture map (image node) to 2 part on the same node. Sharderspider hook only 1 node.
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
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Hello,
I have created a material shader I want to use for all things I use in my renders since, I usually assign it manually to the various clothes/objcts material parts but there are some that have many ones, moreover if I modify something I have to re-modify the setting for every material part.
Is there a way via Python Scripts to make this process automatic? I mean, to automatically add the shader to the object (the script should "attach" the shader to the basic texture file).
I am working in P6.
Thanks for any help/suggestion,
Siliphiel
www.aerysoul.com