Forum: Poser - OFFICIAL


Subject: Material Preset to Change ONLY Colors on a Blender Node?

perpetualrevision opened this issue on Aug 21, 2018 ยท 20 posts


perpetualrevision posted Wed, 22 August 2018 at 6:34 PM

ironsoul posted at 5:32PM Wed, 22 August 2018 - #4335175

Never tried it but if the blender node can be given a unique tag (eg name) it should be possible to write a python script to scan through a scene and copy a value to each node with the same tag it finds.

In an ideal world how would you see this being used? For example would the user set the colour on the currently selected prop's mat room and the script take the value from there, or do you see it as clicking on the side menu to bring up a colour picker? Also would this be applied to all your props or just the currently selected one?

Thanks for the response and for giving this some thought!

Ultimately my goal is for it to be as easy as possible for the end user to change the color of paint used in a scene, using a paint color of their choosing. A script that would allow them to change the color of the paint on all paint-ready objects in the scene would be amazing, if it's possible. As for where the new color would come from, I'm open to suggestions!

I'm assuming users would be comfortable enough with Poser's Advanced Material Room to change the colors on a Blender node, to create a new paint color. That's what I'd originally intended them to do, but when I went through every item to save MT5 presets with pink and then white paint, I realized that it's kind of a pain to change each one manually b/c there are so many!

So maybe the user could choose a new paint color on one object (by clicking on the Paint Color Blender's color chips), and somehow a script would apply that color to all the other objects with Paint Color Blender nodes? Or maybe the user would save the new paint color as an MT5 (perhaps w/ only the Blender and color mixer nodes selected) and the script would somehow apply/change only those nodes on all the other paint-ready objects? I'm comfortable enough with scripting languages to edit Python scripts, but I don't know much about how Poser Python works, so I'm not sure what's possible.

Every mat zone that takes paint has the paint color set up the same way, as shown in the screenshot above (two close colors on a Blender node, mixed by a Turbulence node). What varies is what the Paint Color Blender node is plugged into, as well as other things like bump, transparency, specular settings, etc. I also use Blender nodes elsewhere in the shader setup for most objects, to apply the trans-masked paint splats and to limit the glossy specular to them, but I'm guessing there's a way to make the Paint Color Blender nodes a unique ID? Would the external name of the node be sufficient, or would I need to go through the MT5 files and make sure all the Paint Color blenders use a specific internal name, like Blender_5?

Again, thank you for giving this some thought, as I know it's kind of an odd request. However, being able to change only one component of a shader setup would be useful for many purposes, I'd imagine! I'm pretty sure I can do that with D3D's Extended Shader manager, but I can't count on end users to have that.



TOOLS: MacBook Pro; Poser Pro 11; Cheetah3D; Photoshop CC

FIGURES: S-16 (improved V4 by Karina), M4, K4, Mavka, Toons, and Nursoda's people

GOALS: Stylized and non-photorealistic renders in various fantasy styles