Environment Track Data: Difference between revisions
m
no edit summary
AcuteSyntax (talk | contribs) (Created page with "The '''Environment Slice''' is a container format used to store environment lighting/weather values and skybox textures. It uses the filename <code>ENVIRO.DAT</code>. = Layou...") |
AcuteSyntax (talk | contribs) mNo edit summary |
||
(35 intermediate revisions by 3 users not shown) | |||
Line 1:
''Not to be confused with [[Burnout Game Data (Takedown-Dominator)#Environment Slice|Environment Slice]], a subtype of [[Burnout Game Data (Takedown-Dominator)|Burnout Game Data]].''
{{todo|<small>Document version 0x04.</small>}}
The '''Environment Data''' format is used to store lighting/weather values and skybox textures for a given track environment. It uses the filename <code>ENVIRO.DAT</code>.
= Versions =
{| class="wikitable"
! rowspan="2" |
! colspan="3" | Version
|-
! 0x02 || 0x03 || 0x04
|-
| Date || Jul 2004 || Jun 2005 || Jan 2007
|-
| Games || Takedown<br>Revenge<br>Dominator<sup>(PS2)</sup> || Legends || Dominator<sup>(PSP)</sup>
|}
= Layout (Version 0x02) =
{|class="wikitable"
|-
! Offset
!
! Type
! Value
!
|-
| 0x00 || Minimum environment info || Environment Info || ||
|-
| 0x30 || Maximum environment info || Environment Info || ||
|-
| 0x60 || Specular color || [[Common Data Types#GtRGB|GtRGB]] || ||
|-
| 0x70 || Sun color || GtRGB || ||
|-
| 0x80 || Sun position || [[Common Data Types#GtV3d|GtV3d]] || ||
|-
| 0x90 || Sun corona radius || float || ||
|-
|
|-
|
|-
|
|-
| 0xA0 || Cloud environment map texture || GtTexture* || ||
|-
| 0xA4 || Sun/moon texture || GtTexture* || ||
|-
|
|-
| 0xAC || File size (bytes) || uint || || Is unused in Revenge/Dominator.
|}
==== Environment Info ====
{|class="wikitable"
|-
! Offset
! Name
! Type
! Value
! Notes
|-
| 0x00 || Fog color || GtRGB || ||
|-
| 0x10 || Fog distance || float || ||
|-
| 0x14 || World fog intensity || float || ||
|-
| 0x18 || Sky fog intensity || float || ||
|-
| 0x1C || Specular lighting intensity || float || ||
|-
| 0x20 || Sun corona intensity || float || ||
|-
| 0x24 || Precipitation || float || ||
|-
| 0x28 || Star intensity || float || ||
|-
| 0x2C || Overall brightness || float || ||
|-
|}
= Layout (Version 0x03) =
{|class="wikitable"
|-
! Offset
! Name
! Type
! Value
! Notes
|-
| 0x00 || Unused data || float<br>int || ||
|-
| 0x98 || Texture offsets || GtTexture*[6] || ||
|-
| 0xB0 || Draw fog || bool || ||
|-
| 0xB4 || Fog start distance || float || ||
|-
| 0xB8 || Fog end distance || float || ||
|-
| 0xC0 || Fog color || GtRGB || ||
|-
| 0xD0 || Light position || GtV3d || ||
|-
| 0xE0 || Ambient lighting color || GtRGB || ||
|-
| 0xF0 || Diffuse lighting color || GtRGB || ||
|-
| 0x100 || Specular lighting color || GtRGB || ||
|-
| 0x110 || Ambient lighting color (tunnel) || GtRGB || || All values from here to 0x138</tt> (as well as 0x144</tt>'s value) are<br> only applied to the vehicle when it has entered a tunnel or overpass.
|-
|
|-
|
|-
| 0x140 || Specular lighting coefficient || float || || Intensity of the specular lighting applied to the vehicle.
|-
|
|-
|
|-
|
|-
|
|-
| 0x154 || Bloom blur factor || float || ||
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
| 0x1A4 || Sun corona X-size || float || ||
|-
|
|-
| 0x1B0 || Sun corona color || GtRGB || ||
|-
| 0x1C0 || Enable/disable sun blur occlusion || bool || ||
|-
| 0x1C4 || Sun blur offset || float || ||
|-
|
|-
| 0x1CC || File size (bytes) || uint || ||
|}
[[Category:Formats_(Takedown-Dominator)]]
|