Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/p/y/PyPRP-HEAD/PyPRP/prp_Wizards.py   PyPRP(Download)
                                newTex = None
                            if (newTex == None):
                                newTex = Blender.Texture.New(face.image.getName())
                                newTex.setType('Image')
                                newTex.setImage(face.image)

src/p/y/PyPRP-HEAD/PyPRP/prp_MatClasses.py   PyPRP(Download)
                    tex = bitmap.data.ToBlenderTex(str(layer.data.Key.name))
                else:
                    tex = Blender.Texture.New(str(layer.data.Key.name))
                    tex.setType('None')
 
 
        # Form the Blender cubic env map MTex
        Tex=Blender.Texture.New(name)
        Tex.setImage(self.ToBlenderImage())
        Tex.type  = Blender.Texture.Types["IMAGE"]
 
        # Form the Blender cubic env map MTex
        Tex=Blender.Texture.New(name)
        Tex.setImage(self.ToBlenderCubicMap())
        Tex.type  = Blender.Texture.Types["ENVMAP"]

src/b/l/blender-smooth-slides-HEAD/odp_importer.py   blender-smooth-slides(Download)
		pil_data = img.getdata()
 
		b_texture = Blender.Texture.New(name)
		b_texture.setImage(b_image)
		b_material = Blender.Material.New(name)

src/b/l/blender-smooth-slides-HEAD/odp_blenderize.py   blender-smooth-slides(Download)
		b_image.pack()
 
		b_texture = Blender.Texture.New(name)
		b_texture.setImage(b_image)
		b_texture.setExtend('ClipCube')