On 01/11/2015 at 13:32, xxxxxxxx wrote:
After three days working with Python I'm making good progress, but have hit a wall. Any help or suggestions will be greatly appreciated!
I'd like to add layers to my shader properties and assign images to them....
I'm having a difficult time figuring how exactly to do this. I'm Working in R16, so possibly this is not supported in this SDK?
> ice[c4d.MATERIAL_USE_TRANSPARENCY] = True #enable TRANSPARENCY channel
>
> shdT = c4d.BaseList2D(1011123) #sets Layer to trans texture
>
> ice[c4d.MATERIAL_TRANSPARENCY_BRIGHTNESS] = .77 #use float to set brightness
>
> ice[c4d.MATERIAL_TRANSPARENCY_REFRACTION] = 1.31 #refraction
>
> ice[c4d.MATERIAL_TRANSPARENCY_SHADER] = shdT
>
>
>
> #trying to add to texture: layers here
>
>
>
>
> ice.InsertShader(shdT)
>
> ice.Message(c4d.MSG_UPDATE)
>
> ice.Update(True, True)