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

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

src/b/l/Blender-Exporter-HEAD/org.xml3d.exporter.blender/src/2.49/xml3d_exporter.py   Blender-Exporter(Download)
            if mtex == None:
                continue
            if mtex.texco == Blender.Texture.TexCo.UV and mtex.mapto == Blender.Texture.MapTo.COL:
                if mtex.tex.type == Blender.Texture.Types.IMAGE:
                    texture = doc.createTextureElement(None, "diffuseTexture", wrapS_ = "repeat", wrapT_ = "repeat")

src/p/y/PyPRP-HEAD/PyPRP/prp_Wizards.py   PyPRP(Download)
                                #DEBUG
                                print "Created texture",newTex.getName(),"for object",obj.getName()
                            mat.setTexture(0,newTex,Blender.Texture.TexCo.UV,Blender.Texture.MapTo.COL)
                            numTexCreated += 1
                    for tex in mat.getTextures():

src/b/l/blender-smooth-slides-HEAD/odp_importer.py   blender-smooth-slides(Download)
		b_texture.setImage(b_image)
		b_material = Blender.Material.New(name)
		b_material.setTexture(0, b_texture , Blender.Texture.TexCo.UV , Blender.Texture.MapTo.COL)
		if (img.mode == 'RGBA') :
			b_material.mode |= Blender.Material.Modes.ZTRANSP

src/b/l/blender-smooth-slides-HEAD/odp_blenderize.py   blender-smooth-slides(Download)
		b_texture.setImageFlags('UseAlpha','MipMap')
		b_material = Blender.Material.New(name)
		b_material.setTexture(0, b_texture , Blender.Texture.TexCo.UV , Blender.Texture.MapTo.COL)
		if (use_alpha and img.mode == 'RGBA') :
			b_material.mode |= Blender.Material.Modes.ZTRANSP