On 19/12/2013 at 06:55, xxxxxxxx wrote:
Hi,
I'm translating a C.O.F.F.E.E program to Python.
I want to set the Texture of the Color, Bump, Alpha Channel.
Part of my code that work:
mat[c4d.CHANNEL_COLOR] = True
mat[c4d.MATERIAL_COLOR_COLOR] = Diffuse
mat[c4d.MATERIAL_COLOR_BRIGHTNESS] = 1.0
mat.Update(True, True)
I have a jpg image path in the variable TextureMap
But i don't know how to set the Channel in python.
Thank for any help.