PhilC opened this issue on Feb 04, 2001 ยท 27 posts
PhilC posted Sun, 04 February 2001 at 4:19 PM
OK, wading through molasses here. This is a sketchy first shot. No it does not work but I have to start somewhere :) #------------------------------- Start by importing what I assume is a bunch of prewritten goodies that may prove useful #------------------------------- import poser #------------------------------- I need to define that I'm working on the currently selected figure #-------------------------------- scene = poser.Scene() actor = scene.CurrentActor() figure = actor.ItsFigure() #------------------------------ Now to go through the materials list and change the values. RGB is allowed to have value from zero to one so I'm guessing that one must be white #------------------------------ materials = figure.Materials() ________for material in materials: ________set the material.DiffuseColor (1, 1, 1) #------------------------------ Redraw the scene #------------------------------ scene.DrawAll() #------------------------------ OK I know that syntax is out of the window but am I going in the right direction?