Environment Keyframe: Difference between revisions

Formatted for wiki display.
(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...")
 
(Formatted for wiki display.)
Line 1:
Keyframe resources are the primary way to control the environment lighting and effects such as tint and bloom.
=== Keyframe ===
 
= Structures =
=== BrnWorld::EnvironmentSettings::Keyframe ===
==== 32-bit ====
{| class="wikitable"
! Offset !! SizeLength !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x4 || uint32_t || muVersion || || 8 ||
|-
| 0x4 || 0xC || || || padding || ||
|-
| 0x10 || 0x20 || [[#BrnEffects::BloomData || mBloomDataBloomData]] || mBloomData || BloomData format ||
|-
| 0x30 || 0x50 || [[#BrnEffects::VignetteData || mVignetteDataVignetteData]] || mVignetteData || VignetteData format ||
|-
| 0x80 || 0x4 || [[#BrnEffects::TintData || mTintDataTintData]] || mTintData || TintData format ||
|-
| 0x84 || 0xC || || || padding || ||
|-
| 0x90 || 0xB0 || [[#BrnEffects::ScatteringData || mScatteringDataScatteringData]] || mScatteringData || ScatteringData format ||
|-
| 0x140 || 0x90 || [[#BrnEffects::LightingData || mLightingDataLightingData]] || mLightingData || LightingData format ||
|-
| 0x1D0 || 0x70 || [[#BrnEffects::CloudsData || mCloudsDataCloudsData]] || mCloudsData || CloudsData format ||
|}
 
==== BloomData64-bit ====
 
{| class="wikitable"
! Offset !! SizeLength !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x4 || float32_t || mfLuminanceuint32_t || muVersion || || 8
|-
| 0x4 || 0x40xC || float32_t || mfThreshold || || padding ||
|-
| 0x80x10 || 0x80x20 || [[#BrnEffects::BloomData || BloomData]] || paddingmBloomData || ||
|-
| 0x100x30 || 0x100x50 || Vector4[[#BrnEffects::VignetteData || mv4ScaleVignetteData]] || mVignetteData || ||
|}
 
=== VignetteData ===
 
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x00x80 || 0x40x8 || float32_t[[#BrnEffects::TintData || mfAngleTintData]] || mTintData || ||
|-
| 0x40x88 || 0x40x8 || float32_t || mfSharpness || || padding ||
|-
| 0x80x90 || 0x80xB0 || [[#BrnEffects::ScatteringData || ScatteringData]] || paddingmScatteringData || ||
|-
| 0x100x140 || 0x100x90 || Vector2[[#BrnEffects::LightingData || mv2AmountLightingData]] || mLightingData || ||
|-
| 0x200x1D0 || 0x100x70 || Vector2[[#BrnEffects::CloudsData || mv2CentreCloudsData]] || mCloudsData || ||
|-
| 0x30 || 0x10 || Vector4 || mv4InnerColour || || ||
|-
| 0x40 || 0x10 || Vector4 || mv4OuterColour || || ||
|}
 
=== TintDataBrnEffects::BloomData ===
 
{| class="wikitable"
! Offset !! SizeLength !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x4 || ColourCube * || mpColourCube || || ||
|}
 
=== ScatteringData ===
 
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! 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 || || ||
|-
| 0x980x0 || 0x80x4 || float32_t[2] || mafScattDist || mfLuminance || ||
|-
| 0xA00x4 || 0x4 || float32_t || mfScattPow || mfThreshold || ||
|-
| 0xA40x8 || 0x40x8 || float32_t || mfScattCap || || padding ||
|-
| 0xA80x10 || 0x80x10 || [[Common Data Types (Burnout Paradise)#Vector3Plus/Vector4 || Vector4]] || paddingmv4Scale || ||
|}
 
=== LightningDataBrnEffects::VignetteData ===
{| class="wikitable"
! Offset !! SizeLength !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x100x4 || Vector3 || mv3KeyLightColourfloat32_t || mfAngle || ||
|-
| 0x100x4 || 0x100x4 || Vector3 || mv3SpecularColourfloat32_t || mfSharpness || ||
|-
| 0x200x8 || 0x100x8 || Vector3 || mv3KeyFillColour || || padding ||
|-
| 0x300x10 || 0x10 || Vector3[[Common Data Types (Burnout Paradise)#Vector2 || mv3ShadowFillColourVector2]] || mv2Amount || ||
|-
| 0x400x20 || 0x10 || Vector3[[Common Data Types (Burnout Paradise)#Vector2 || mv3RightFillColourVector2]] || mv2Centre || ||
|-
| 0x500x30 || 0x10 || Vector3[[Common Data Types (Burnout Paradise)#Vector3Plus/Vector4 || mv3LeftFillColourVector4]] || mv4InnerColour || ||
|-
| 0x600x40 || 0x10 || Vector3[[Common Data Types (Burnout Paradise)#Vector3Plus/Vector4 || mv3UpFillColourVector4]] || mv4OuterColour || ||
|-
| 0x70 || 0x10 || Vector3 || mv3DownFillColour || || ||
|-
| 0x80 || 0x4 || float32_t || mfAmbientIrradianceScale || || ||
|-
| 0x84 || 0xC || || || padding || ||
|}
 
=== CloudsDataBrnEffects::TintData ===
==== 32-bit ====
 
{| class="wikitable"
! Offset !! SizeLength !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x200x4 || Vector3[2][Colour Cube || mav3LayerLiteColourColourCube]]* || mpColourCube || ||
|-
| 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 || ||
|}
 
==== PS464-bit ====
=== Keyframe ===
{| class="wikitable"
! Offset !! SizeLength !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x40x8 || uint32_t[[Colour Cube || muVersionColourCube]]* || mpColourCube || 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 || ||
|-
| 0x90 || 0xB0 || ScatteringData || mScatteringData || || ScatteringData format ||
|-
| 0x140 || 0x90 || LightingData || mLightingData || || LightingData format ||
|-
| 0x1D0 || 0x70 || CloudsData || mCloudsData || || CloudsData format ||
|}
 
=== BloomData ===
=== BrnEffects::ScatteringData ===
{| class="wikitable"
! Offset !! SizeLength !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x40x10 || float32_t[[Common Data Types (Burnout Paradise)#Vector3 || mfLuminanceVector3]] || mv3SkyTopColour || ||
|-
| 0x40x10 || 0x40x10 || float32_t[[Common Data Types (Burnout Paradise)#Vector3 || mfThresholdVector3]] || mv3SkyHorColour || ||
|-
| 0x80x20 || 0x80x10 || [[Common Data Types (Burnout Paradise)#Vector3 || Vector3]] || paddingmv3SkySunColour || ||
|-
| 0x100x30 || 0x100x4 || Vector4 || mv4Scalefloat32_t || mfSkyHorPow || ||
|}
=== VignetteData ===
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x00x34 || 0x4 || float32_t || mfAngle || mfSkySunPow || ||
|-
| 0x40x38 || 0x4 || float32_t || mfSharpness || mfSkyDrk || ||
|-
| 0x80x3C || 0x80x4 || float32_t || || paddingmfSkyHorBleedScl || ||
|-
| 0x100x40 || 0x100x4 || Vector2 || mv2Amountfloat32_t || mfSkyHorBleedPow || ||
|-
| 0x200x44 || 0x100x4 || Vector2 || mv2Centrefloat32_t || mfSkySunBleedPow || ||
|-
| 0x300x48 || 0x100x8 || Vector4 || mv4InnerColour || || padding ||
|-
| 0x400x50 || 0x10 || Vector4[[Common Data Types (Burnout Paradise)#Vector3 || mv4OuterColourVector3]] || mv3ScattTopColour || ||
|}
=== TintData ===
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x00x60 || 0x80x10 || ColourCube[[Common *Data Types (Burnout Paradise)#Vector3 || mpColourCubeVector3]] || mv3ScattHorColour || ||
|}
=== ScatteringData ===
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x00x70 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 || mv3SkyTopColourVector3]] || mv3ScattSunColour || ||
|-
| 0x100x80 || 0x100x4 || Vector3 || mv3SkyHorColourfloat32_t || mfScattHorPow || ||
|-
| 0x200x84 || 0x100x4 || Vector3 || mv3SkySunColourfloat32_t || mfScattSunPow || ||
|-
| 0x300x88 || 0x4 || float32_t || mfSkyHorPow || mfScattDrk || ||
|-
| 0x340x8C || 0x4 || float32_t || mfSkySunPow || mfScattHorBleedScl || ||
|-
| 0x380x90 || 0x4 || float32_t || mfSkyDrk || mfScattHorBleedPow || ||
|-
| 0x3C0x94 || 0x4 || float32_t || mfSkyHorBleedScl || mfScattSunBleedPow || ||
|-
| 0x400x98 || 0x40x8 || float32_t[2] || mfSkyHorBleedPow || mafScattDist || ||
|-
| 0x440xA0 || 0x4 || float32_t || mfSkySunBleedPow || mfScattPow || ||
|-
| 0x480xA4 || 0x80x4 || float32_t || || paddingmfScattCap || ||
|-
| 0x500xA8 || 0x100x8 || Vector3 || mv3ScattTopColour || || padding ||
|-
| 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 || ||
|}
 
=== LightningData ===
=== BrnEffects::LightningData ===
{| class="wikitable"
! Offset !! SizeLength !! Type !! Name !! Description !! More Information !! Comments
|-
| 0x0 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 || mv3KeyLightColourVector3]] || mv3KeyLightColour || ||
|-
| 0x10 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 || mv3SpecularColourVector3]] || mv3SpecularColour || ||
|-
| 0x20 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 || mv3KeyFillColourVector3]] || mv3KeyFillColour || ||
|-
| 0x30 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 || mv3ShadowFillColourVector3]] || mv3ShadowFillColour || ||
|-
| 0x40 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 || mv3RightFillColourVector3]] || mv3RightFillColour || ||
|-
| 0x50 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 || mv3LeftFillColourVector3]] || mv3LeftFillColour || ||
|-
| 0x60 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 || mv3UpFillColourVector3]] || mv3UpFillColour || ||
|-
| 0x70 || 0x10 || [[Common Data Types (Burnout Paradise)#Vector3 || mv3DownFillColourVector3]] || mv3DownFillColour || ||
|-
| 0x80 || 0x4 || float32_t || mfAmbientIrradianceScale || || ||
|-
| 0x84 || 0xC || || || padding || ||
|}
 
=== CloudsData ===
=== BrnEffects::CloudsData ===
{| class="wikitable"
! Offset !! SizeLength !! Type !! Name !! Description !! More Information !! 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 || || ||
|-
| 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 || ||
|}