Forum: Poser Python Scripting


Subject: Apply a graphic (Image Map) to the 'diffuse color'

timarender opened this issue on Jul 13, 2012 · 4 posts


timarender posted Fri, 13 July 2012 at 6:13 AM

Please excuse me if I am using the wrong terminology.

I want to apply a graphic which is not a Material in the Library. Manually, I would open the Material room, create an 'Image Map', choose the selected graphic; and then apply the image map to Diffuse Color.

Using script, I could use "LoadMaterialCollection" to apply a material from the Library. But that does not work with a graphic outside the Library, eg:  d:tempa.jpg

Can anyone point me in the right direction, please.

Alternatively; is there a scripting way to take a bunch of graphic file and convert them into materials?

I appreciate all this may involve itinerating through materials etc. But, I am really getting lost in the Poser Python manual.

Thanks for any assistance.