Cyberpunk 2077:meshMeshParamCloth

From Modding Wiki
Revision as of 09:27, 23 February 2025 by Seberoth (talk | contribs) (Created page with "==File Structure== {| class="wikitable" width="100%" ! width="20%" | Name ! width="20%" | Type/Size ! width="60%" | Info |- | lodChunkIndices || uint16[][] || First dimension = lod, second dimension = corresponding chunk. |- | chunks || meshPhxClothChunkData[] || See specification of meshPhxClothChunkData below. |- | drivers || uint16[][][] || Unknown. |- | capsules || handle:physicsclothClothCapsuleExportData || Unknown. Capsules used for coll...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

File Structure

Name Type/Size Info
lodChunkIndices uint16[][] First dimension = lod, second dimension = corresponding chunk.
chunks meshPhxClothChunkData[] See specification of meshPhxClothChunkData below.
drivers uint16[][][] Unknown.
capsules handle:physicsclothClothCapsuleExportData Unknown. Capsules used for collision checks?

meshPhxClothChunkData

Name Type/Size Info
positions DataBuffer Array of (VEC3, FLOAT)
indices DataBuffer Array of uint16[3]
skinWeights DataBuffer Array of (VEC4, FLOAT)
skinIndices DataBuffer Array of (VEC4, UNSIGNED_BYTE)
skinWeightsExt DataBuffer Array of (VEC4, FLOAT)
skinIndicesExt DataBuffer Array of (VEC4, UNSIGNED_BYTE)
cookedData DataBuffer WIP. See cookedData below.
normals DataBuffer Array of (VEC3, FLOAT)