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

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

src/s/y/sylphis3d-HEAD/runtime/src/exporters/blendersmf/smf_export.py   sylphis3d(Download)
 
			print >> file, "begin", fixTextureName(getTextureName(material))
			have_uv = mesh.hasFaceUV()
			verts = [] # list of (position, normal, [uv]) triplets
			vdict = {} # (index, normal, uv) -> new index
					v = f.v[i]
					index = v.index
					if mesh.hasFaceUV():
						uv = f.uv[i]
					elif mesh.hasVertexUV():