Environment Keyframe: Difference between revisions
Content added Content deleted
The Shotty (talk | contribs) |
(Added infobox and normalized some content.) |
||
Line 1: | Line 1: | ||
{{ParadiseResourceTypeInfobox |
|||
| name = EnvironmentKeyframe |
|||
| id = 0x10012 |
|||
| category = Game-specific<br />(Burnout Paradise) |
|||
| memdist = Main Memory only |
|||
| imports = [[Colour Cube]] |
|||
}} |
|||
Keyframe resources are the primary way to control the environment lighting and effects such as tint and bloom. |
Keyframe resources are the primary way to control the environment lighting and effects such as tint and bloom. |
||
Line 9: | Line 17: | ||
| 0x0 || 0x4 || uint32_t || muVersion || || 8 |
| 0x0 || 0x4 || uint32_t || muVersion || || 8 |
||
|- |
|- |
||
| 0x4 || 0xC || || || |
| 0x4 || 0xC || || || Padding || |
||
|- |
|- |
||
| 0x10 || 0x20 || [[#BrnEffects::BloomData |
| 0x10 || 0x20 || [[#BrnEffects::BloomData|BloomData]] || mBloomData || || |
||
|- |
|- |
||
| 0x30 || 0x50 || [[#BrnEffects::VignetteData |
| 0x30 || 0x50 || [[#BrnEffects::VignetteData|VignetteData]] || mVignetteData || || |
||
|- |
|- |
||
| 0x80 || 0x4 || [[#BrnEffects::TintData |
| 0x80 || 0x4 || [[#BrnEffects::TintData|TintData]] || mTintData || || |
||
|- |
|- |
||
| 0x84 || 0xC || || || |
| 0x84 || 0xC || || || Padding || |
||
|- |
|- |
||
| 0x90 || 0xB0 || [[#BrnWorld::EnvironmentSettings::ScatteringData |
| 0x90 || 0xB0 || [[#BrnWorld::EnvironmentSettings::ScatteringData|ScatteringData]] || mScatteringData || || |
||
|- |
|- |
||
| 0x140 || 0x90 || [[#BrnWorld::EnvironmentSettings::LightingData |
| 0x140 || 0x90 || [[#BrnWorld::EnvironmentSettings::LightingData|LightingData]] || mLightingData || || |
||
|- |
|- |
||
| 0x1D0 || 0x70 || [[#BrnWorld::EnvironmentSettings::CloudsData |
| 0x1D0 || 0x70 || [[#BrnWorld::EnvironmentSettings::CloudsData|CloudsData]] || mCloudsData || || |
||
|} |
|} |
||
Line 32: | Line 40: | ||
| 0x0 || 0x4 || uint32_t || muVersion || || 8 |
| 0x0 || 0x4 || uint32_t || muVersion || || 8 |
||
|- |
|- |
||
| 0x4 || 0xC || || || |
| 0x4 || 0xC || || || Padding || |
||
|- |
|- |
||
| 0x10 || 0x20 || [[#BrnEffects::BloomData |
| 0x10 || 0x20 || [[#BrnEffects::BloomData|BloomData]] || mBloomData || || |
||
|- |
|- |
||
| 0x30 || 0x50 || [[#BrnEffects::VignetteData |
| 0x30 || 0x50 || [[#BrnEffects::VignetteData|VignetteData]] || mVignetteData || || |
||
|- |
|- |
||
| 0x80 || 0x8 || [[#BrnEffects::TintData |
| 0x80 || 0x8 || [[#BrnEffects::TintData|TintData]] || mTintData || || |
||
|- |
|- |
||
| 0x88 || 0x8 || || || |
| 0x88 || 0x8 || || || Padding || |
||
|- |
|- |
||
| 0x90 || 0xB0 || [[#BrnWorld::EnvironmentSettings::ScatteringData |
| 0x90 || 0xB0 || [[#BrnWorld::EnvironmentSettings::ScatteringData|ScatteringData]] || mScatteringData || || |
||
|- |
|- |
||
| 0x140 || 0x90 || [[#BrnWorld::EnvironmentSettings::LightingData |
| 0x140 || 0x90 || [[#BrnWorld::EnvironmentSettings::LightingData|LightingData]] || mLightingData || || |
||
|- |
|- |
||
| 0x1D0 || 0x70 || [[#BrnWorld::EnvironmentSettings::CloudsData |
| 0x1D0 || 0x70 || [[#BrnWorld::EnvironmentSettings::CloudsData|CloudsData]] || mCloudsData || || |
||
|} |
|} |
||
Line 57: | Line 65: | ||
| 0x4 || 0x4 || float32_t || mfThreshold || || |
| 0x4 || 0x4 || float32_t || mfThreshold || || |
||
|- |
|- |
||
| 0x8 || 0x8 || || || |
| 0x8 || 0x8 || || || Padding || |
||
|- |
|- |
||
| 0x10 || 0x10 || [[Vector4]] || mv4Scale || || |
| 0x10 || 0x10 || [[Vector4]] || mv4Scale || || |
||
Line 70: | Line 78: | ||
| 0x4 || 0x4 || float32_t || mfSharpness || || |
| 0x4 || 0x4 || float32_t || mfSharpness || || |
||
|- |
|- |
||
| 0x8 || 0x8 || || || |
| 0x8 || 0x8 || || || Padding || |
||
|- |
|- |
||
| 0x10 || 0x10 || [[Vector2]] || mv2Amount || || |
| 0x10 || 0x10 || [[Vector2]] || mv2Amount || || |
||
Line 86: | Line 94: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x4 || [[Colour Cube |
| 0x0 || 0x4 || [[Colour Cube|ColourCube]]* || mpColourCube || || |
||
|} |
|} |
||
Line 93: | Line 101: | ||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
||
| 0x0 || 0x8 || [[Colour Cube |
| 0x0 || 0x8 || [[Colour Cube|ColourCube]]* || mpColourCube || || |
||
|} |
|} |
||
Line 118: | Line 126: | ||
| 0x44 || 0x4 || float32_t || mfSkySunBleedPow || || |
| 0x44 || 0x4 || float32_t || mfSkySunBleedPow || || |
||
|- |
|- |
||
| 0x48 || 0x8 || || || |
| 0x48 || 0x8 || || || Padding || |
||
|- |
|- |
||
| 0x50 || 0x10 || [[Vector3]] || mv3ScattTopColour || || |
| 0x50 || 0x10 || [[Vector3]] || mv3ScattTopColour || || |
||
Line 144: | Line 152: | ||
| 0xA4 || 0x4 || float32_t || mfScattCap || || |
| 0xA4 || 0x4 || float32_t || mfScattCap || || |
||
|- |
|- |
||
| 0xA8 || 0x8 || || || |
| 0xA8 || 0x8 || || || Padding || |
||
|} |
|} |
||
Line 169: | Line 177: | ||
| 0x80 || 0x4 || float32_t || mfAmbientIrradianceScale || || |
| 0x80 || 0x4 || float32_t || mfAmbientIrradianceScale || || |
||
|- |
|- |
||
| 0x84 || 0xC || || || |
| 0x84 || 0xC || || || Padding || |
||
|} |
|} |
||
Line 192: | Line 200: | ||
| 0x68 || 0x4 || float32_t || mfDirectionAngle || || |
| 0x68 || 0x4 || float32_t || mfDirectionAngle || || |
||
|- |
|- |
||
| 0x6C || 0x4 || || || |
| 0x6C || 0x4 || || || Padding || |
||
|} |
|} |
Latest revision as of 09:42, 4 October 2023
EnvironmentKeyframe | |||
---|---|---|---|
Type ID | 0x10012 | ||
Category | Game-specific (Burnout Paradise) | ||
Memory distribution |
Main Memory only | ||
Imports | Colour Cube | ||
Editor available? |
No |
Keyframe resources are the primary way to control the environment lighting and effects such as tint and bloom.
Structures
BrnWorld::EnvironmentSettings::Keyframe
32-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | muVersion | 8 | |
0x4 | 0xC | Padding | |||
0x10 | 0x20 | BloomData | mBloomData | ||
0x30 | 0x50 | VignetteData | mVignetteData | ||
0x80 | 0x4 | TintData | mTintData | ||
0x84 | 0xC | Padding | |||
0x90 | 0xB0 | ScatteringData | mScatteringData | ||
0x140 | 0x90 | LightingData | mLightingData | ||
0x1D0 | 0x70 | CloudsData | mCloudsData |
64-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | muVersion | 8 | |
0x4 | 0xC | Padding | |||
0x10 | 0x20 | BloomData | mBloomData | ||
0x30 | 0x50 | VignetteData | mVignetteData | ||
0x80 | 0x8 | TintData | mTintData | ||
0x88 | 0x8 | Padding | |||
0x90 | 0xB0 | ScatteringData | mScatteringData | ||
0x140 | 0x90 | LightingData | mLightingData | ||
0x1D0 | 0x70 | CloudsData | mCloudsData |
BrnEffects::BloomData
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | float32_t | mfLuminance | ||
0x4 | 0x4 | float32_t | mfThreshold | ||
0x8 | 0x8 | Padding | |||
0x10 | 0x10 | Vector4 | mv4Scale |
BrnEffects::VignetteData
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | float32_t | mfAngle | ||
0x4 | 0x4 | float32_t | mfSharpness | ||
0x8 | 0x8 | Padding | |||
0x10 | 0x10 | Vector2 | mv2Amount | ||
0x20 | 0x10 | Vector2 | mv2Centre | ||
0x30 | 0x10 | Vector4 | mv4InnerColour | ||
0x40 | 0x10 | Vector4 | mv4OuterColour |
BrnEffects::TintData
32-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | ColourCube* | mpColourCube |
64-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | ColourCube* | mpColourCube |
BrnWorld::EnvironmentSettings::ScatteringData
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x10 | Vector3 | mv3SkyTopColour | ||
0x10 | 0x10 | Vector3 | mv3SkyHorColour | ||
0x20 | 0x10 | Vector3 | mv3SkySunColour | ||
0x30 | 0x4 | float32_t | mfSkyHorPow | ||
0x34 | 0x4 | float32_t | mfSkySunPow | ||
0x38 | 0x4 | float32_t | mfSkyDrk | ||
0x3C | 0x4 | float32_t | mfSkyHorBleedScl | ||
0x40 | 0x4 | float32_t | mfSkyHorBleedPow | ||
0x44 | 0x4 | float32_t | mfSkySunBleedPow | ||
0x48 | 0x8 | Padding | |||
0x50 | 0x10 | Vector3 | mv3ScattTopColour | ||
0x60 | 0x10 | Vector3 | mv3ScattHorColour | ||
0x70 | 0x10 | Vector3 | mv3ScattSunColour | ||
0x80 | 0x4 | float32_t | mfScattHorPow | ||
0x84 | 0x4 | float32_t | mfScattSunPow | ||
0x88 | 0x4 | float32_t | mfScattDrk | ||
0x8C | 0x4 | float32_t | mfScattHorBleedScl | ||
0x90 | 0x4 | float32_t | mfScattHorBleedPow | ||
0x94 | 0x4 | float32_t | mfScattSunBleedPow | ||
0x98 | 0x8 | float32_t[2] | mafScattDist | ||
0xA0 | 0x4 | float32_t | mfScattPow | ||
0xA4 | 0x4 | float32_t | mfScattCap | ||
0xA8 | 0x8 | Padding |
BrnWorld::EnvironmentSettings::LightingData
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x10 | Vector3 | mv3KeyLightColour | ||
0x10 | 0x10 | Vector3 | mv3SpecularColour | ||
0x20 | 0x10 | Vector3 | mv3KeyFillColour | ||
0x30 | 0x10 | Vector3 | mv3ShadowFillColour | ||
0x40 | 0x10 | Vector3 | mv3RightFillColour | ||
0x50 | 0x10 | Vector3 | mv3LeftFillColour | ||
0x60 | 0x10 | Vector3 | mv3UpFillColour | ||
0x70 | 0x10 | Vector3 | mv3DownFillColour | ||
0x80 | 0x4 | float32_t | mfAmbientIrradianceScale | ||
0x84 | 0xC | Padding |
BrnWorld::EnvironmentSettings::CloudsData
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x20 | Vector3[2] | mav3LayerLiteColour | ||
0x20 | 0x20 | Vector3[2] | mav3LayerDarkColour | ||
0x40 | 0x8 | float32_t[2] | mafLayerDensity | ||
0x48 | 0x8 | float32_t[2] | mafLayerFeathering | ||
0x50 | 0x8 | float32_t[2] | mafLayerOpacity | ||
0x58 | 0x8 | float32_t[2] | mafLayerSpeed | ||
0x60 | 0x8 | float32_t[2] | mafLayerScale | ||
0x68 | 0x4 | float32_t | mfDirectionAngle | ||
0x6C | 0x4 | Padding |