Forum: Poser - OFFICIAL


Subject: To the hair makers :o)

Abraham opened this issue on Jul 01, 2001 ยท 11 posts


kozaburo posted Sun, 01 July 2001 at 11:53 PM

Here is another method. :-) I think the 'Python script' included in the PPP is very usuful for that kind purpose. Following is my 'TransHair display on/off switching' script. This script switches the 'TransparencyMax value'( 100% or 0%) of the Hair when you press a 'script button'. #=============================================== #TransMaxSW.py by Kozaburo #=============================================== #Swich a TransparencyMax value 100% & 0% import poser scene = poser.Scene() actor = scene.CurrentActor() materials = actor.Materials() material=materials[0] status = material.TransparencyMax() if (status == 1): status = 0 else: status = 1 for material in materials: material.SetTransparencyMax(status) #=============================================== --- Kozaburo