Environment Keyframe: Difference between revisions

Added infobox and normalized some content.
(Fix namespaces)
(Added infobox and normalized some content.)
 
(2 intermediate revisions by 2 users not shown)
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.
 
Line 9 ⟶ 17:
| 0x0 || 0x4 || uint32_t || muVersion || || 8
|-
| 0x4 || 0xC || || || paddingPadding ||
|-
| 0x10 || 0x20 || [[#BrnEffects::BloomData | BloomData]] || mBloomData || ||
|-
| 0x30 || 0x50 || [[#BrnEffects::VignetteData | VignetteData]] || mVignetteData || ||
|-
| 0x80 || 0x4 || [[#BrnEffects::TintData | TintData]] || mTintData || ||
|-
| 0x84 || 0xC || || || paddingPadding ||
|-
| 0x90 || 0xB0 || [[#BrnWorld::EnvironmentSettings::ScatteringData | ScatteringData]] || mScatteringData || ||
|-
| 0x140 || 0x90 || [[#BrnWorld::EnvironmentSettings::LightingData | LightingData]] || mLightingData || ||
|-
| 0x1D0 || 0x70 || [[#BrnWorld::EnvironmentSettings::CloudsData | CloudsData]] || mCloudsData || ||
|}
 
Line 32 ⟶ 40:
| 0x0 || 0x4 || uint32_t || muVersion || || 8
|-
| 0x4 || 0xC || || || paddingPadding ||
|-
| 0x10 || 0x20 || [[#BrnEffects::BloomData | BloomData]] || mBloomData || ||
|-
| 0x30 || 0x50 || [[#BrnEffects::VignetteData | VignetteData]] || mVignetteData || ||
|-
| 0x80 || 0x8 || [[#BrnEffects::TintData | TintData]] || mTintData || ||
|-
| 0x88 || 0x8 || || || paddingPadding ||
|-
| 0x90 || 0xB0 || [[#BrnWorld::EnvironmentSettings::ScatteringData | ScatteringData]] || mScatteringData || ||
|-
| 0x140 || 0x90 || [[#BrnWorld::EnvironmentSettings::LightingData | LightingData]] || mLightingData || ||
|-
| 0x1D0 || 0x70 || [[#BrnWorld::EnvironmentSettings::CloudsData | CloudsData]] || mCloudsData || ||
|}
 
Line 57 ⟶ 65:
| 0x4 || 0x4 || float32_t || mfThreshold || ||
|-
| 0x8 || 0x8 || || || paddingPadding ||
|-
| 0x10 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3Plus/Vector4 | Vector4]] || mv4Scale || ||
|}
 
Line 70 ⟶ 78:
| 0x4 || 0x4 || float32_t || mfSharpness || ||
|-
| 0x8 || 0x8 || || || paddingPadding ||
|-
| 0x10 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector2 | Vector2]] || mv2Amount || ||
|-
| 0x20 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector2 | Vector2]] || mv2Centre || ||
|-
| 0x30 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3Plus/Vector4 | Vector4]] || mv4InnerColour || ||
|-
| 0x40 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3Plus/Vector4 | Vector4]] || mv4OuterColour || ||
|}
 
Line 86 ⟶ 94:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || [[Colour Cube | ColourCube]]* || mpColourCube || ||
|}
 
Line 93 ⟶ 101:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[Colour Cube | ColourCube]]* || mpColourCube || ||
|}
 
Line 100 ⟶ 108:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3SkyTopColour || ||
|-
| 0x10 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3SkyHorColour || ||
|-
| 0x20 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3SkySunColour || ||
|-
| 0x30 || 0x4 || float32_t || mfSkyHorPow || ||
Line 118 ⟶ 126:
| 0x44 || 0x4 || float32_t || mfSkySunBleedPow || ||
|-
| 0x48 || 0x8 || || || paddingPadding ||
|-
| 0x50 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3ScattTopColour || ||
|-
| 0x60 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3ScattHorColour || ||
|-
| 0x70 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3ScattSunColour || ||
|-
| 0x80 || 0x4 || float32_t || mfScattHorPow || ||
Line 144 ⟶ 152:
| 0xA4 || 0x4 || float32_t || mfScattCap || ||
|-
| 0xA8 || 0x8 || || || paddingPadding ||
|}
 
=== BrnWorld::EnvironmentSettings::LightningDataLightingData ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3KeyLightColour || ||
|-
| 0x10 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3SpecularColour || ||
|-
| 0x20 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3KeyFillColour || ||
|-
| 0x30 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3ShadowFillColour || ||
|-
| 0x40 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3RightFillColour || ||
|-
| 0x50 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3LeftFillColour || ||
|-
| 0x60 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3UpFillColour || ||
|-
| 0x70 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]] || mv3DownFillColour || ||
|-
| 0x80 || 0x4 || float32_t || mfAmbientIrradianceScale || ||
|-
| 0x84 || 0xC || || || paddingPadding ||
|}
 
Line 176 ⟶ 184:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x20 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]][2] || mav3LayerLiteColour || ||
|-
| 0x20 || 0x20 || [[Common Data Types (Burnout Paradise)#Vector3 | Vector3]][2] || mav3LayerDarkColour || ||
|-
| 0x40 || 0x8 || float32_t[2] || mafLayerDensity || ||
Line 192 ⟶ 200:
| 0x68 || 0x4 || float32_t || mfDirectionAngle || ||
|-
| 0x6C || 0x4 || || || paddingPadding ||
|}