Search code examples
pythontexturesblender

Blender: Creating Material, Texture, and open image...


Well, in Blender, how can I create a new material, assign it to the current object, create an image texture and assign it and then open an image for it (and also open the image in the UV/Image Editor)?


Solution

  • I would suggest reading the Blender API Python Cookbook on the Blender wiki. It has sections for each of the features that you want with code examples.