uncle808us opened this issue on Jul 14, 2021 ยท 13 posts
HartyBart posted Wed, 14 July 2021 at 7:16 PM
Yes. The avatar is Poser - an M3 with a character morph, and Poser 11's comic book feature under the right lighting.
I see the problem with my above script now. My script perfectly handles a stray Grouping box, but not one that has been parented. As you say, it also turns off the parented item. So it needs a further fix.
A new bit of script is then required, to add in RedPhantom's solution. But I cannot get the script to switch the transparency from 0.0 to 1.0. Should be:
mats = actor.Materials()
if mats:
for mat in mats:
tree = mat.ShaderTree()
root = mat.ShaderTree().Node(0)
nodeInput = root.InputByInternalName("Transparency")
nodeInput.SetFloat(1.0)
tree.UpdatePreview()
But it throws an error every time on the damn SetFloat.
Learn the Secrets of Poser 11 and Line-art Filters.