VFX Mesh Collection: Difference between revisions
Content added Content deleted
(Created page.) |
(Added field descriptions, added infobox, and normalized some content.) |
||
Line 1: | Line 1: | ||
{{ParadiseResourceTypeInfobox |
|||
| name = VFXMeshCollection |
|||
| othernames = BrnVFXMeshCollection |
|||
| resourcenames = highres_debris_02.rf3<br />lowres_debris.rf3<br />Glass_debris.rf3 |
|||
| id = 0x100019 |
|||
| category = Game-specific<br />(Burnout Paradise) |
|||
| memdist = Collection in Main Memory<br />Mesh in [[Bundle 2/Burnout Paradise#Memory types|secondary]] |
|||
}} |
|||
The VFXMeshCollection resource type contains particle meshes. |
The VFXMeshCollection resource type contains particle meshes. |
||
Line 7: | Line 16: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || uint32_t || muVersion || || 2 |
| 0x0 || 0x4 || uint32_t || muVersion || Version number || 2 |
||
|- |
|- |
||
| 0x4 || 0x80 || float32_t[32] || mafRadius || || |
| 0x4 || 0x80 || float32_t[32] || mafRadius || Radius || |
||
|- |
|- |
||
| 0x84 || 0x4 || [[#renderengine::MeshHelper|MeshHelper]]* || mpMeshHelper || || |
| 0x84 || 0x4 || [[#renderengine::MeshHelper|MeshHelper]]* || mpMeshHelper || Buffer information || |
||
|- |
|- |
||
| 0x88 || 0x4 || uint32_t || muNumIndices || || |
| 0x88 || 0x4 || uint32_t || muNumIndices || Number of indices || |
||
|- |
|- |
||
| 0x8C || 0x4 || uint32_t || muNumVertices || || |
| 0x8C || 0x4 || uint32_t || muNumVertices || Number of vertices || |
||
|- |
|- |
||
| 0x90 || 0x4 || [[#BrnParticle::VFXMeshCollection::Material|Material]] || mMaterial || || |
| 0x90 || 0x4 || [[#BrnParticle::VFXMeshCollection::Material|Material]] || mMaterial || Material name || |
||
|} |
|} |
||
Line 24: | Line 33: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || uint32_t || muVersion || || 2 |
| 0x0 || 0x4 || uint32_t || muVersion || Version number || 2 |
||
|- |
|- |
||
| 0x4 || 0x80 || float32_t[32] || mafRadius || || |
| 0x4 || 0x80 || float32_t[32] || mafRadius || Radius || |
||
|- |
|- |
||
| 0x84 || 0x4 || || || |
| 0x84 || 0x4 || || || Padding || |
||
|- |
|- |
||
| 0x88 || 0x8 || [[#renderengine::MeshHelper|MeshHelper]]* || mpMeshHelper || || |
| 0x88 || 0x8 || [[#renderengine::MeshHelper|MeshHelper]]* || mpMeshHelper || Buffer information || |
||
|- |
|- |
||
| 0x90 || 0x4 || uint32_t || muNumIndices || || |
| 0x90 || 0x4 || uint32_t || muNumIndices || Number of indices || |
||
|- |
|- |
||
| 0x94 || 0x4 || uint32_t || muNumVertices || || |
| 0x94 || 0x4 || uint32_t || muNumVertices || Number of vertices || |
||
|- |
|- |
||
| 0x98 || 0x8 || [[#BrnParticle::VFXMeshCollection::Material|Material]] || mMaterial || || |
| 0x98 || 0x8 || [[#BrnParticle::VFXMeshCollection::Material|Material]] || mMaterial || Material name || |
||
|} |
|} |
||
=== renderengine::MeshHelper === |
=== renderengine::MeshHelper === |
||
{{todo|Document buffer format.}} |
|||
==== 32-bit ==== |
==== 32-bit ==== |
||
{| class="wikitable" |
{| class="wikitable" |
||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || uint32_t || m_numIndexBuffers || || |
| 0x0 || 0x4 || uint32_t || m_numIndexBuffers || Number of index buffers || |
||
|- |
|- |
||
| 0x4 || 0x4 || uint32_t || m_numVertexBuffers || || |
| 0x4 || 0x4 || uint32_t || m_numVertexBuffers || Number of vertex buffers || |
||
|- |
|- |
||
| 0x8 || 0x4 || void*[1] || m_buffers || || |
| 0x8 || 0x4 || void*[1] || m_buffers || Index buffers, then vertex buffers || See [[Renderable]] for IndexBuffer and VertexBuffer details |
||
|} |
|} |
||
Line 57: | Line 64: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || uint32_t || m_numIndexBuffers || || |
| 0x0 || 0x4 || uint32_t || m_numIndexBuffers || Number of index buffers || |
||
|- |
|- |
||
| 0x4 || 0x4 || uint32_t || m_numVertexBuffers || || |
| 0x4 || 0x4 || uint32_t || m_numVertexBuffers || Number of vertex buffers || |
||
|- |
|- |
||
| 0x8 || 0x8 || void*[1] || m_buffers || || |
| 0x8 || 0x8 || void*[1] || m_buffers || Index buffers, then vertex buffers || See [[Renderable]] for IndexBuffer and VertexBuffer details |
||
|} |
|} |
||
Line 78: | Line 85: | ||
| 0x0 || 0x8 || char* || mpTextureName || Null-terminated texture name || |
| 0x0 || 0x8 || char* || mpTextureName || Null-terminated texture name || |
||
|} |
|} |
||
[[Category:To do]] |
Latest revision as of 19:43, 4 October 2023
VFXMeshCollection | |
---|---|
aka BrnVFXMeshCollection | |
Resource names | highres_debris_02.rf3 lowres_debris.rf3 Glass_debris.rf3 |
Type ID | 0x100019 |
Category | Game-specific (Burnout Paradise) |
Memory distribution |
Collection in Main Memory Mesh in secondary |
Editor available? |
No |
The VFXMeshCollection resource type contains particle meshes.
Structures
BrnParticle::VFXMeshCollection
32-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | muVersion | Version number | 2 |
0x4 | 0x80 | float32_t[32] | mafRadius | Radius | |
0x84 | 0x4 | MeshHelper* | mpMeshHelper | Buffer information | |
0x88 | 0x4 | uint32_t | muNumIndices | Number of indices | |
0x8C | 0x4 | uint32_t | muNumVertices | Number of vertices | |
0x90 | 0x4 | Material | mMaterial | Material name |
64-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | muVersion | Version number | 2 |
0x4 | 0x80 | float32_t[32] | mafRadius | Radius | |
0x84 | 0x4 | Padding | |||
0x88 | 0x8 | MeshHelper* | mpMeshHelper | Buffer information | |
0x90 | 0x4 | uint32_t | muNumIndices | Number of indices | |
0x94 | 0x4 | uint32_t | muNumVertices | Number of vertices | |
0x98 | 0x8 | Material | mMaterial | Material name |
renderengine::MeshHelper
32-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | m_numIndexBuffers | Number of index buffers | |
0x4 | 0x4 | uint32_t | m_numVertexBuffers | Number of vertex buffers | |
0x8 | 0x4 | void*[1] | m_buffers | Index buffers, then vertex buffers | See Renderable for IndexBuffer and VertexBuffer details |
64-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | m_numIndexBuffers | Number of index buffers | |
0x4 | 0x4 | uint32_t | m_numVertexBuffers | Number of vertex buffers | |
0x8 | 0x8 | void*[1] | m_buffers | Index buffers, then vertex buffers | See Renderable for IndexBuffer and VertexBuffer details |
BrnParticle::VFXMeshCollection::Material
32-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | char* | mpTextureName | Null-terminated texture name |
64-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | char* | mpTextureName | Null-terminated texture name |