Mon, Nov 25, 9:56 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 25 12:38 pm)



Subject: Shader Tree manipulation: Questions


depakotez ( ) posted Fri, 30 May 2003 at 10:00 PM ยท edited Sat, 27 July 2024 at 10:07 PM

I have several PZ3s where the main actor needs new Diffusion values set for all the materials (Several meaning A hella lot). As this will take much time to manipulate every one of them, and my own expiermentation with this has failed. Anyone know how to make a python script or a MAT file that will change just the diffuse setting of the shader tree, while keeping the attached nodes and the others uneffected. Here is what I tried, it erased everything (Pretty much a reset). Interesting side effect to remember for the future though. material SkinBody { KdColor 1 1 1 1 KaColor 0 0 0 1 KsColor 0 0 0 1 NsExponent 30 shaderTree { node "poser" "PoserSurface" { name "PoserSurface" pos 10 10 showPreview 1 nodeInput "Diffuse_Color" { name "Diffuse_Color" value 1 1 1 parmR NO_PARM parmG NO_PARM parmB NO_PARM file "" } nodeInput "Diffuse_Value" { name "Diffuse_Value" value 1 0 10 parmR NO_PARM parmG NO_PARM parmB NO_PARM file "" } } } } So just declaring new colors or highlight settings etc doesn't work as expected like with P4. Any suggestions, or perhaps an answer my searches hasn't found? Thanks, Tom


nerd ( ) posted Sat, 31 May 2003 at 1:54 AM
Forum Moderator

You can copy and paste nodes (including the root node) in the material room. Click the node you need to copy, right click the node, copy. Select the new material, right click paste. I don't know if this will help in you situation or not, but It's saved me lots of time. Nerd


Jaager ( ) posted Sat, 31 May 2003 at 2:26 AM

The rule for a pose file is: If you do not want to change it, leave the line out of the file. material SkinBody { KdColor 1 1 1 1 shaderTree { node "poser" "PoserSurface" { nodeInput "Diffuse_Color" { value 1 1 1 } nodeInput "Diffuse_Value" { } } } } Will just change the one value. And this may be all you need. I am not sure now the node for diffuse fits in. A change in Poser and a save of that material as an *.mt5 with a look at what it has wiill be needed to know for sure. material SkinBody { KdColor 1 1 1 1 }


Privacy Notice

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.