Forum: Poser Python Scripting


Subject: Wacro: Reconnect bump map to "Gradient_Bump"

nruddock opened this issue on Oct 21, 2005 ยท 10 posts


nruddock posted Fri, 21 October 2005 at 5:07 PM

A Wacro to reconnect a bump map to the "Gradient Bump" input.

Looks for an Image_Map node named "Bump" (as created by Poser when reading legacy MAT poses) and connects it to the "Gradient_Bump" input.
Will only connect the node so named if the "Gradient_Bump" and "Bump" inputs on the "Poser_Surface" are both unconnected.

Assign to a Wacro button to get multi-material action with Shift-Click.
Run from the File menu or Script Palette to alter all materials for currently selected figure.

Use my earlier Wacros to move the connection to the "Bump" or "Displacement" inputs if required.