Renderable Mesh: Difference between revisions
(Note imports using static addresses.) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
| category = Generic |
| category = Generic |
||
| memdist = Main Memory only |
| memdist = Main Memory only |
||
| imports = [[Draw |
| imports = [[Draw Indexed Parameters]]<br />[[Mesh State]]<br />[[Vertex Descriptor]] |
||
| importedby = [[Renderable]] |
| importedby = [[Renderable]] |
||
}} |
}} |
||
Line 12: | Line 12: | ||
= Structures = |
= Structures = |
||
'''Note: Structures may have varied from platform to platform''' like the most recent version does. This can't be determined for certain without samples. |
'''Note: Structures may have varied from platform to platform''' like the most recent version does. This can't be determined for certain without samples.<br /> |
||
'''Note: Import fields contain a static memory address''', as with other resources types of this era. It is possible this is unused and instead set at runtime. |
'''Note: Import fields contain a static memory address''', as with other resources types of this era. It is possible this is unused and instead set at runtime. |
||
Line 29: | Line 29: | ||
| 0x7C || 0x4 || [[Mesh State|MeshState]]* || ? || Imported mesh state resource || |
| 0x7C || 0x4 || [[Mesh State|MeshState]]* || ? || Imported mesh state resource || |
||
|- |
|- |
||
| 0x80 || 0x4 || [[Draw |
| 0x80 || 0x4 || [[Draw Indexed Parameters|DrawIndexedParameters]]* || ? || Imported draw index parameters resource || |
||
|} |
|} |
Latest revision as of 10:44, 7 October 2023
RenderableMesh | |||
---|---|---|---|
aka Renderable | |||
Type ID | 0x2 | ||
Category | Generic | ||
Memory distribution |
Main Memory only | ||
Imports | Draw Indexed Parameters Mesh State Vertex Descriptor | ||
Imported by | Renderable | ||
Editor available? |
No |
Renderable meshes are the earliest known variant of the RenderableMesh structure used in modern renderables. Their only known use is in Black 2 (2006-06-29 build); the type was deprecated by the time Burnout 5 (2006-11-13 build) was built.
Structures
Note: Structures may have varied from platform to platform like the most recent version does. This can't be determined for certain without samples.
Note: Import fields contain a static memory address, as with other resources types of this era. It is possible this is unused and instead set at runtime.
RenderableMesh
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x40 | Matrix44 | ? | Bounding box | |
0x40 | 0x34 | float[13] | ? | Possibly 3 vectors and a single float | |
0x74 | 0x4 | uint32_t | ? | Possibly a hash, or just padding | |
0x78 | 0x4 | VertexDesc* | ? | Imported vertex descriptor resource | |
0x7C | 0x4 | MeshState* | ? | Imported mesh state resource | |
0x80 | 0x4 | DrawIndexedParameters* | ? | Imported draw index parameters resource |