mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 23:09:56 +02:00
.
This commit is contained in:
parent
56f01cb7bd
commit
9518aa9ed0
1 changed files with 0 additions and 14 deletions
|
@ -1482,14 +1482,6 @@ bool GLTFSerializer::buildGeometry(HFMModel& hfmModel, const hifi::VariantHash&
|
|||
mesh.clusterWeights.push_back(0);
|
||||
}
|
||||
|
||||
#if 0
|
||||
int prevMeshClusterIndexCount = mesh.clusterIndices.count();
|
||||
for (int c = 0; c < clusterJoints.size(); ++c) {
|
||||
mesh.clusterIndices[prevMeshClusterIndexCount + c] =
|
||||
originalToNewNodeIndexMap[_file.skins[node.skin].joints[clusterJoints[c]]];
|
||||
}
|
||||
#endif
|
||||
|
||||
// normalize and compress to 16-bits
|
||||
int prevMeshClusterWeightCount = mesh.clusterWeights.count();
|
||||
for (int i = 0; i < numVertices; ++i) {
|
||||
|
@ -1510,12 +1502,6 @@ bool GLTFSerializer::buildGeometry(HFMModel& hfmModel, const hifi::VariantHash&
|
|||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (primitive.defined["material"]) {
|
||||
part.materialID = materialIDs[primitive.material];
|
||||
}
|
||||
#endif
|
||||
|
||||
mesh.parts.push_back(part);
|
||||
|
||||
// populate the texture coordinates if they don't exist
|
||||
|
|
Loading…
Reference in a new issue