Vehicle Graphics: Difference between revisions
Content added Content deleted
(Change captions to headers) |
(Added infobox and normalized some content.) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ParadiseResourceTypeInfobox |
|||
⚫ | |||
⚫ | |||
| othernames = VehicleGraphics |
|||
| example = [[File:Paradise VehicleGraphics Example.png|frameless|270px]]<br />The Ikusa GT's graphics viewed in Blender. |
|||
| resourcenames = *_Graphics<br /><sup><small>*Vehicle ID, e.g. PUSMC01</small></sup> |
|||
| id = 0x10006 |
|||
| category = Game-specific<br />(Burnout Paradise) |
|||
| memdist = Main Memory only |
|||
| imports = [[Model]] |
|||
| importedby = [[Graphics Stub]]<br />(traffic only) |
|||
| editor = Viewer only<br />Use [[Modding/Burnout Paradise|Blender addons]] |
|||
⚫ | |||
{{subpage|Development|text=Information on development versions of the Vehicle Graphics resource.}} |
|||
⚫ | |||
Although the version number remains <code>3</code> in all known variants of the resource, it was updated at least once between February and October 2007. |
Although the version number remains <code>3</code> in all known variants of the resource, it was updated at least once between February and October 2007. |
||
= |
= Structures = |
||
⚫ | |||
⚫ | |||
=== |
==== 32-bit ==== |
||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
Line 14: | Line 28: | ||
| 0x4 || 0x4 || uint32_t || muPartsCount || || |
| 0x4 || 0x4 || uint32_t || muPartsCount || || |
||
|- |
|- |
||
| 0x8 || 0x4 || Model** || mppPartsModels || |
| 0x8 || 0x4 || [[Model]]** || mppPartsModels || Imports indices || 8-bit integers aligned 4 |
||
|- |
|- |
||
| 0xC || 0x4 || uint32_t || muShatteredGlassPartsCount || || |
| 0xC || 0x4 || uint32_t || muShatteredGlassPartsCount || || |
||
|- |
|- |
||
| 0x10 || 0x4 || ShatteredGlassPart* || mpShatteredGlassParts || |
| 0x10 || 0x4 || [[#BrnVehicle::ShatteredGlassPart|ShatteredGlassPart]]* || mpShatteredGlassParts || Imports indices || |
||
|- |
|- |
||
| 0x14 || 0x4 || Matrix44Affine* || mpPartLocators || || |
| 0x14 || 0x4 || [[Matrix44Affine]]* || mpPartLocators || || |
||
|- |
|- |
||
| 0x18 || 0x4 || uint8_t* || mpPartVolumeIDs || || |
| 0x18 || 0x4 || uint8_t* || mpPartVolumeIDs || || |
||
Line 26: | Line 40: | ||
| 0x1C || 0x4 || uint8_t* || mpNumRigidBodiesForPart || || |
| 0x1C || 0x4 || uint8_t* || mpNumRigidBodiesForPart || || |
||
|- |
|- |
||
| 0x20 || 0x4 || Matrix44Affine** || mppRigidBodyToSkinMatrixTransforms || || |
| 0x20 || 0x4 || [[Matrix44Affine]]** || mppRigidBodyToSkinMatrixTransforms || || |
||
|} |
|} |
||
=== |
==== 64-bit ==== |
||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Offset !! Length !! Type !! Name !! Description !! Comments |
|||
|- |
|||
| 0x0 || 0x4 || Model* || mpModel || || |
|||
|- |
|||
| 0x4 || 0x4 || uint32_t || muBodyPartIndex || || |
|||
|- |
|||
| 0x8 || 0x4 || uint32_t || muBodyPartType || || |
|||
⚫ | |||
== Final (64-bit) == |
|||
⚫ | |||
{| class="wikitable" |
|||
|- |
|||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
Line 51: | Line 51: | ||
| 0x4 || 0x4 || uint32_t || muPartsCount || || |
| 0x4 || 0x4 || uint32_t || muPartsCount || || |
||
|- |
|- |
||
| 0x8 || 0x8 || Model** || mppPartsModels || |
| 0x8 || 0x8 || [[Model]]** || mppPartsModels || Imports indices || 8-bit integers aligned 8 |
||
|- |
|- |
||
| 0x10 || 0x4 || uint32_t || muShatteredGlassPartsCount || || |
| 0x10 || 0x4 || uint32_t || muShatteredGlassPartsCount || || |
||
|- |
|- |
||
| 0x14 || 0x4 || |
| 0x14 || 0x4 || || || Padding || |
||
|- |
|- |
||
| 0x18 || 0x8 || ShatteredGlassPart* || mpShatteredGlassParts || |
| 0x18 || 0x8 || [[#BrnVehicle::ShatteredGlassPart|ShatteredGlassPart]]* || mpShatteredGlassParts || Imports indices || |
||
|- |
|- |
||
| 0x20 || 0x8 || Matrix44Affine* || mpPartLocators || || |
| 0x20 || 0x8 || [[Matrix44Affine]]* || mpPartLocators || || |
||
|- |
|- |
||
| 0x28 || 0x8 || uint8_t* || mpPartVolumeIDs || || |
| 0x28 || 0x8 || uint8_t* || mpPartVolumeIDs || || |
||
Line 65: | Line 65: | ||
| 0x30 || 0x8 || uint8_t* || mpNumRigidBodiesForPart || || |
| 0x30 || 0x8 || uint8_t* || mpNumRigidBodiesForPart || || |
||
|- |
|- |
||
| 0x38 || 0x8 || Matrix44Affine** || mppRigidBodyToSkinMatrixTransforms || || |
| 0x38 || 0x8 || [[Matrix44Affine]]** || mppRigidBodyToSkinMatrixTransforms || || |
||
|} |
|} |
||
=== ShatteredGlassPart === |
=== BrnVehicle::ShatteredGlassPart === |
||
⚫ | |||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || |
| 0x0 || 0x4 || [[Model]]* || mpModel || || |
||
|- |
|- |
||
| |
| 0x4 || 0x4 || uint32_t || muBodyPartIndex || || |
||
|- |
|- |
||
| |
| 0x8 || 0x4 || uint32_t || muBodyPartType || || |
||
|} |
|} |
||
== |
==== 64-bit ==== |
||
⚫ | |||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || |
| 0x0 || 0x8 || [[Model]]* || mpModel || || |
||
|- |
|- |
||
| |
| 0x8 || 0x4 || uint32_t || muBodyPartIndex || || |
||
|- |
|- |
||
| |
| 0xC || 0x4 || uint32_t || muBodyPartType || || |
||
|- |
|||
| 0xC || 0x4 || Matrix44Affine* || mpPartLocators || || |
|||
|- |
|||
| 0x10 || 0x4 || uint8_t* || mpPartVolumeIDs || || |
|||
|- |
|||
| 0x14 || 0x4 || uint8_t* || mpNumRigidBodiesForPart || || |
|||
|- |
|||
| 0x18 || 0x4 || Matrix44Affine** || mppRigidBodyToSkinMatrixTransforms || || |
|||
|} |
|} |
Latest revision as of 08:31, 4 October 2023
GraphicsSpec | |||
---|---|---|---|
aka VehicleGraphics | |||
The Ikusa GT's graphics viewed in Blender. | |||
Resource names | *_Graphics *Vehicle ID, e.g. PUSMC01 | ||
Type ID | 0x10006 | ||
Category | Game-specific (Burnout Paradise) | ||
Memory distribution |
Main Memory only | ||
Imports | Model | ||
Imported by | Graphics Stub (traffic only) | ||
Editor available? |
Viewer only Use Blender addons |
Development Information on development versions of the Vehicle Graphics resource. |
The Graphics resource is the central part of vehicle graphics bundles, superseded only by the GraphicsStub resource in the event a GraphicsStub exists. Its primary purpose is to import Model resources and set them up as vehicle parts.
Although the version number remains 3
in all known variants of the resource, it was updated at least once between February and October 2007.
Structures
BrnVehicle::GraphicsSpec
32-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | muVersion | Spec version | 3 |
0x4 | 0x4 | uint32_t | muPartsCount | ||
0x8 | 0x4 | Model** | mppPartsModels | Imports indices | 8-bit integers aligned 4 |
0xC | 0x4 | uint32_t | muShatteredGlassPartsCount | ||
0x10 | 0x4 | ShatteredGlassPart* | mpShatteredGlassParts | Imports indices | |
0x14 | 0x4 | Matrix44Affine* | mpPartLocators | ||
0x18 | 0x4 | uint8_t* | mpPartVolumeIDs | ||
0x1C | 0x4 | uint8_t* | mpNumRigidBodiesForPart | ||
0x20 | 0x4 | Matrix44Affine** | mppRigidBodyToSkinMatrixTransforms |
64-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | muVersion | Spec version | 3 |
0x4 | 0x4 | uint32_t | muPartsCount | ||
0x8 | 0x8 | Model** | mppPartsModels | Imports indices | 8-bit integers aligned 8 |
0x10 | 0x4 | uint32_t | muShatteredGlassPartsCount | ||
0x14 | 0x4 | Padding | |||
0x18 | 0x8 | ShatteredGlassPart* | mpShatteredGlassParts | Imports indices | |
0x20 | 0x8 | Matrix44Affine* | mpPartLocators | ||
0x28 | 0x8 | uint8_t* | mpPartVolumeIDs | ||
0x30 | 0x8 | uint8_t* | mpNumRigidBodiesForPart | ||
0x38 | 0x8 | Matrix44Affine** | mppRigidBodyToSkinMatrixTransforms |
BrnVehicle::ShatteredGlassPart
32-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | Model* | mpModel | ||
0x4 | 0x4 | uint32_t | muBodyPartIndex | ||
0x8 | 0x4 | uint32_t | muBodyPartType |
64-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | Model* | mpModel | ||
0x8 | 0x4 | uint32_t | muBodyPartIndex | ||
0xC | 0x4 | uint32_t | muBodyPartType |