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/p/y/PyPRP-HEAD/PyPRP/prp_MatClasses.py   PyPRP(Download)
                    if (mtex.tex.type == Blender.Texture.Types.BLEND or
                        mtex.tex.type == Blender.Texture.Types.NONE or
                        mtex.tex.type == Blender.Texture.Types.IMAGE or
                        mtex.tex.type == Blender.Texture.Types.NOISE or
                        mtex.tex.type == Blender.Texture.Types.ENVMAP):
                pass
            #mtex type IMAGE
            elif(tex.type == Blender.Texture.Types.IMAGE):
                # find or create the mipmap
 
 
                # PATCH by Tachzusamm - set kBlendAlphaTestHigh to remove alpha edge artifacts
                if(tex.type == Blender.Texture.Types.IMAGE):
                    if(tex.image):
                        if(tex.image.premul):

src/b/l/Blender-Exporter-HEAD/org.xml3d.exporter.blender/src/2.49/xml3d_exporter.py   Blender-Exporter(Download)
                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")
                    img = doc.createImgElement(None, Blender.sys.basename(mtex.tex.image.filename))