Polygon Soup List resources contain collision data for track units. They are also linked to roads, AI behaviour, and respawn locations.
Note: The PS4 version of the game contains more polygons in its resources.
CgsGeometric::PolygonSoupList[edit | edit source]
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x20 |
AxisAlignedBox |
mOverallAabb |
|
|
0x20 |
0x4 |
PolygonSoup** |
mpapPolySoups |
|
|
0x24 |
0x4 |
AxisAlignedBox4* |
mpaPolySoupBoxes |
|
|
0x28 |
0x4 |
int32_t |
miNumPolySoups |
|
|
0x2C |
0x4 |
int32_t |
miDataSize |
|
|
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x20 |
AxisAlignedBox |
mOverallAabb |
|
|
0x20 |
0x8 |
PolygonSoup** |
mpapPolySoups |
|
|
0x28 |
0x8 |
AxisAlignedBox4* |
mpaPolySoupBoxes |
|
|
0x30 |
0x4 |
int32_t |
miNumPolySoups |
|
|
0x34 |
0x4 |
int32_t |
miDataSize |
|
|
CgsGeometric::AxisAlignedBox[edit | edit source]
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x10 |
Vector3 |
mMin |
|
|
0x10 |
0x10 |
Vector3 |
mMax |
|
|
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0xC |
int32_t[3] |
maiVertexOffsets |
|
|
0xC |
0x4 |
float32_t |
mfComprGranularity |
|
|
0x10 |
0x4 |
PolygonSoupPoly* |
mpaPolygons |
|
|
0x14 |
0x4 |
PolygonSoupVertex* |
mpaVertices |
|
|
0x18 |
0x2 |
uint16_t |
mu16DataSize |
|
|
0x1A |
0x1 |
uint8_t |
mu8TotalNumPolys |
|
|
0x1B |
0x1 |
uint8_t |
mu8NumQuads |
|
|
0x1C |
0x1 |
uint8_t |
mu8NumVertices |
|
|
0x1D |
0x3 |
|
|
padding |
|
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0xC |
int32_t[3] |
maiVertexOffsets |
|
|
0xC |
0x4 |
float32_t |
mfComprGranularity |
|
|
0x10 |
0x8 |
PolygonSoupPoly* |
mpaPolygons |
|
|
0x18 |
0x8 |
PolygonSoupVertex* |
mpaVertices |
|
|
0x20 |
0x2 |
uint16_t |
mu16DataSize |
|
|
0x22 |
0x1 |
uint8_t |
mu8TotalNumPolys |
|
|
0x23 |
0x1 |
uint8_t |
mu8NumQuads |
|
|
0x24 |
0x1 |
uint8_t |
mu8NumVertices |
|
|
0x25 |
0xB |
|
|
padding |
|
CgsGeometric::PolygonSoupPoly[edit | edit source]
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x4 |
uint32_t |
muCollisionTag |
|
|
0x4 |
0x4 |
uint8_t[4] |
mau8VertexIndices |
|
|
0x8 |
0x4 |
uint8_t[4] |
mau8EdgeCosines |
|
|
CgsGeometric::PolygonSoupVertex[edit | edit source]
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x2 |
uint16_t |
mu16X |
|
|
0x2 |
0x2 |
uint16_t |
mu16Y |
|
|
0x4 |
0x2 |
uint16_t |
mu16Z |
|
|
CgsGeometric::AxisAlignedBox4[edit | edit source]
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x10 |
Vector4 |
mAabbMinX |
|
|
0x10 |
0x10 |
Vector4 |
mAabbMinY |
|
|
0x20 |
0x10 |
Vector4 |
mAabbMinZ |
|
|
0x30 |
0x10 |
Vector4 |
mAabbMaxX |
|
|
0x40 |
0x10 |
Vector4 |
mAabbMaxY |
|
|
0x50 |
0x10 |
Vector4 |
mAabbMaxZ |
|
|
0x60 |
0x10 |
Mask4 |
mValidMasks |
|
|