Environment Keyframe: Difference between revisions
Added infobox and normalized some content.
(Created page with "=== Keyframe === {| class="wikitable" ! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments |- | 0x0 || 0x4 || uint32_t || muVersion || || 8 || |- | 0x4 || 0xC || || || padding || || |- | 0x10 || 0x20 || BloomData || mBloomData || || BloomData format || |- | 0x30 || 0x50 || VignetteData || mVignetteData || || VignetteData format || |- | 0x80 || 0x4 || TintData || mTintData || || TintData format || |- | 0x84 || 0xC || || || padding...") |
(Added infobox and normalized some content.) |
||
(5 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.
= Structures =
=== BrnWorld::EnvironmentSettings::Keyframe ===
==== 32-bit ====
{| class="wikitable"
! Offset !!
|-
| 0x0 || 0x4 || uint32_t || muVersion || || 8
|-
| 0x4 || 0xC || || ||
|-
| 0x10 || 0x20 || [[#BrnEffects::BloomData|BloomData]] || mBloomData ||
|-
| 0x30 || 0x50 || [[#BrnEffects::VignetteData|VignetteData]] || mVignetteData ||
|-
| 0x80 || 0x4 || [[#BrnEffects::TintData|TintData]] || mTintData ||
|-
| 0x84 || 0xC || || ||
|-
| 0x90 || 0xB0 || [[#BrnWorld::EnvironmentSettings::ScatteringData|ScatteringData]] || mScatteringData ||
|-
| 0x140 || 0x90 || [[#BrnWorld::EnvironmentSettings::LightingData|LightingData]] || mLightingData ||
|-
| 0x1D0 || 0x70 || [[#BrnWorld::EnvironmentSettings::CloudsData|CloudsData]] || mCloudsData ||
|}
====
{| class="wikitable"
! Offset !!
|-
| 0x0 || 0x4 ||
|-
| 0x4 ||
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|}
===
{| class="wikitable"
! Offset !!
|-
|
|-
|
|-
|
|-
|
|}
===
{| class="wikitable"
! Offset !!
|-
| 0x0 ||
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|}
===
==== 32-bit ====
{| class="wikitable"
! Offset !!
|-
|
|}
====
{| class="wikitable"
! Offset !!
|-
| 0x0 ||
|}
=== BrnWorld::EnvironmentSettings::ScatteringData ===
{| class="wikitable"
! Offset !!
|-
| 0x0 ||
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|}
=== BrnWorld::EnvironmentSettings::LightingData ===
{| class="wikitable"
! Offset !!
|-
| 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 || || ||
|}
=== BrnWorld::EnvironmentSettings::CloudsData ===
{| class="wikitable"
! Offset !!
|-
| 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 || || ||
|}
|