|
|
@ -94,6 +94,7 @@ def convert_mesh(geo_model, mesh, obj):
|
|
|
|
print("i: %s f_verts: %s uv: %s" % (i, repr(f_verts), repr(uv)))
|
|
|
|
print("i: %s f_verts: %s uv: %s" % (i, repr(f_verts), repr(uv)))
|
|
|
|
gv = GeoVertex(v.co, v.normal, uv[i], weights)
|
|
|
|
gv = GeoVertex(v.co, v.normal, uv[i], weights)
|
|
|
|
geoverts.append(gv)
|
|
|
|
geoverts.append(gv)
|
|
|
|
|
|
|
|
geoverts.reverse()
|
|
|
|
geomesh.addFace(geoverts, texture_name)
|
|
|
|
geomesh.addFace(geoverts, texture_name)
|
|
|
|
|
|
|
|
|
|
|
|
print("face: vertices: %s uvs: %s norms: %s groups: %s" % (verts, uv, norms, weights))
|
|
|
|
print("face: vertices: %s uvs: %s norms: %s groups: %s" % (verts, uv, norms, weights))
|
|
|
|