## Normals Forward ## SVDL 2008 import poser for actor in poser.Scene().Actors(): if not actor.Geometry(): continue if not (actor.IsBodyPart() or actor.IsProp()): continue if (actor.IsDeformer() or actor.IsZone() or actor.IsBase() or actor.IsLight() or actor.IsCamera()): continue try: if (actor.Materials() is not None): for material in actor.Materials(): tree=material.ShaderTree() node=tree.NodeByInternalName("PoserSurface") if not node: continue nForward=node.InputByInternalName("Normals_Forward") nForward.SetFloat(1.0) tree.UpdatePreview() except: print "Skipped this actor" print "Done"