- fbx: texture conversion & UV channel mapping.

This commit is contained in:
Alexander Gessler
2012-07-03 20:41:21 +02:00
parent a0c45f9190
commit c7ee6fd70f
3 changed files with 125 additions and 0 deletions

View File

@@ -221,6 +221,12 @@ void MeshGeometry::ReadVertexData(const std::string& type, int index, const Scop
return;
}
const Element* Name = source["Name"];
uvNames[index] = "";
if(Name) {
uvNames[index] = ParseTokenAsString(GetRequiredToken(*Name,0));
}
ReadVertexDataUV(uvs[index],source,
MappingInformationType,
ReferenceInformationType