|
|
Line 560: |
Line 560: |
| | Position of this component within vertex stride | | | Position of this component within vertex stride |
| |} | | |} |
| | |
| | Vertex formats with bone data support multiple bone assignment. In this case, the sum of all bone weights is 0x64. |
|
| |
|
| Vertex component types: | | Vertex component types: |
Line 624: |
Line 626: |
| | float | | | float |
| |} | | |} |
|
| |
| Observed sample vertex formats:
| |
|
| |
| {| class="wikitable"
| |
| |-
| |
| ! Vertex stride
| |
| ! Description
| |
| |-
| |
| | 0xA
| |
| | X (short), Y (short), Z (short), U (short), V (short)
| |
| |-
| |
| | 0xC
| |
| | X (float), Y (float), Z (float)
| |
| |-
| |
| | 0x10
| |
| | X (short), Y (short), Z (short), ... ?
| |
| |-
| |
| | 0x14
| |
| | X (float), Y (float), Z (float), U (float), V (float)
| |
| |-
| |
| | 0x18
| |
| | X (float), Y (float), Z (float), Unk (u32?), U (float), V (float)
| |
| |-
| |
| | 0x20
| |
| | X (float), Y (float), Z (float), NX (float), NY (float), NZ (float), U (float), V (float)
| |
| |-
| |
| | 0x28v1
| |
| | X (float), Y (float), Z (float), NX (float), NY (float), NZ (float), U (float), V (float), (local) Bone IDs (4*u8), Bone weights (4*u8)
| |
| |-
| |
| | 0x28v2
| |
| | X (float), Y (float), Z (float), NX (float), NY (float), NZ (float), U (float), V (float), Unk1 (u32), (local) Bone IDs (2*u8), Bone weights (2*u8)
| |
| |}
| |
|
| |
| Vertex formats with bone data support multiple bone assignment. In this case, the sum of all bone weights is 0x64.
| |
|
| |
|
| == TXOB == | | == TXOB == |