Polygon Soup List: Difference between revisions
Content added Content deleted
m (Smaller * text.) |
(Added example.) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
| name = PolygonSoupList |
| name = PolygonSoupList |
||
| othernames = CollisionMeshData |
| othernames = CollisionMeshData |
||
| example = [[File:Paradise PolygonSoupList Example.png|frameless|300px]]<br />Track unit 203's polygon soup. |
|||
| resourcenames = TRK_COL_*<br />< |
| resourcenames = TRK_COL_*<br /><sup><small>*Track unit ID</small></sup> |
||
| id = 0x43 |
| id = 0x43 |
||
| category = Generic |
| category = Generic |
||
| memdist = Main Memory only |
| memdist = Main Memory only |
||
| importedby = [[ID List]] |
| importedby = [[ID List]] |
||
| editor = Viewer only<br />Use [[Modding/Burnout Paradise|Blender addons]] |
|||
}} |
}} |
||
Line 21: | Line 23: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x20 || [[#CgsGeometric::AxisAlignedBox |
| 0x0 || 0x20 || [[#CgsGeometric::AxisAlignedBox|AxisAlignedBox]] || mOverallAabb || || |
||
|- |
|- |
||
| 0x20 || 0x4 || [[#CgsGeometric::PolygonSoup |
| 0x20 || 0x4 || [[#CgsGeometric::PolygonSoup|PolygonSoup]]** || mpapPolySoups || || |
||
|- |
|- |
||
| 0x24 || 0x4 || [[#CgsGeometric::AxisAlignedBox4 |
| 0x24 || 0x4 || [[#CgsGeometric::AxisAlignedBox4|AxisAlignedBox4]]* || mpaPolySoupBoxes || || |
||
|- |
|- |
||
| 0x28 || 0x4 || int32_t || miNumPolySoups || || |
| 0x28 || 0x4 || int32_t || miNumPolySoups || || |
||
Line 36: | Line 38: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x20 || [[#CgsGeometric::AxisAlignedBox |
| 0x0 || 0x20 || [[#CgsGeometric::AxisAlignedBox|AxisAlignedBox]] || mOverallAabb || || |
||
|- |
|- |
||
| 0x20 || 0x8 || [[#CgsGeometric::PolygonSoup |
| 0x20 || 0x8 || [[#CgsGeometric::PolygonSoup|PolygonSoup]]** || mpapPolySoups || || |
||
|- |
|- |
||
| 0x28 || 0x8 || [[#CgsGeometric::AxisAlignedBox4 |
| 0x28 || 0x8 || [[#CgsGeometric::AxisAlignedBox4|AxisAlignedBox4]]* || mpaPolySoupBoxes || || |
||
|- |
|- |
||
| 0x30 || 0x4 || int32_t || miNumPolySoups || || |
| 0x30 || 0x4 || int32_t || miNumPolySoups || || |
||
Line 65: | Line 67: | ||
| 0xC || 0x4 || float32_t || mfComprGranularity || || |
| 0xC || 0x4 || float32_t || mfComprGranularity || || |
||
|- |
|- |
||
| 0x10 || 0x4 || [[#CgsGeometric::PolygonSoupPoly |
| 0x10 || 0x4 || [[#CgsGeometric::PolygonSoupPoly|PolygonSoupPoly]]* || mpaPolygons || || |
||
|- |
|- |
||
| 0x14 || 0x4 || [[#CgsGeometric::PolygonSoupVertex |
| 0x14 || 0x4 || [[#CgsGeometric::PolygonSoupVertex|PolygonSoupVertex]]* || mpaVertices || || |
||
|- |
|- |
||
| 0x18 || 0x2 || uint16_t || mu16DataSize || || |
| 0x18 || 0x2 || uint16_t || mu16DataSize || || |
||
Line 77: | Line 79: | ||
| 0x1C || 0x1 || uint8_t || mu8NumVertices || || |
| 0x1C || 0x1 || uint8_t || mu8NumVertices || || |
||
|- |
|- |
||
| 0x1D || 0x3 || || || |
| 0x1D || 0x3 || || || Padding || |
||
|} |
|} |
||
Line 88: | Line 90: | ||
| 0xC || 0x4 || float32_t || mfComprGranularity || || |
| 0xC || 0x4 || float32_t || mfComprGranularity || || |
||
|- |
|- |
||
| 0x10 || 0x8 || [[#CgsGeometric::PolygonSoupPoly |
| 0x10 || 0x8 || [[#CgsGeometric::PolygonSoupPoly|PolygonSoupPoly]]* || mpaPolygons || || |
||
|- |
|- |
||
| 0x18 || 0x8 || [[#CgsGeometric::PolygonSoupVertex |
| 0x18 || 0x8 || [[#CgsGeometric::PolygonSoupVertex|PolygonSoupVertex]]* || mpaVertices || || |
||
|- |
|- |
||
| 0x20 || 0x2 || uint16_t || mu16DataSize || || |
| 0x20 || 0x2 || uint16_t || mu16DataSize || || |
||
Line 100: | Line 102: | ||
| 0x24 || 0x1 || uint8_t || mu8NumVertices || || |
| 0x24 || 0x1 || uint8_t || mu8NumVertices || || |
||
|- |
|- |
||
| 0x25 || 0xB || || || |
| 0x25 || 0xB || || || Padding || |
||
|} |
|} |
||
Latest revision as of 08:34, 4 October 2023
PolygonSoupList | |||
---|---|---|---|
aka CollisionMeshData | |||
Track unit 203's polygon soup. | |||
Resource names | TRK_COL_* *Track unit ID | ||
Type ID | 0x43 | ||
Category | Generic | ||
Memory distribution |
Main Memory only | ||
Imported by | ID List | ||
Editor available? |
Viewer only Use Blender addons |
Polygon Soup List resources contain collision data for track units. They are also linked to roads, AI behaviour, and respawn locations.
This resource type supersedes the Clustered Mesh type.
Note: The PS4 version of the game contains more polygons in its resources.
Structures
CgsGeometric::PolygonSoupList
32-bit
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 |
64-bit
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
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x10 | Vector3 | mMin | ||
0x10 | 0x10 | Vector3 | mMax |
CgsGeometric::PolygonSoup
32-bit
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 |
64-bit
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
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
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x2 | uint16_t | mu16X | ||
0x2 | 0x2 | uint16_t | mu16Y | ||
0x4 | 0x2 | uint16_t | mu16Z |
CgsGeometric::AxisAlignedBox4
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 |