MREA (Metroid Prime): Difference between revisions
Jump to navigation
Jump to search
no edit summary
>Aruki No edit summary |
>Aruki No edit summary |
||
Line 212: | Line 212: | ||
{{main|AROT (MREA Section)}} | {{main|AROT (MREA Section)}} | ||
The AROT section stores the area's octree, accelerating back-to-front rendering of contained meshes | The AROT section stores the area's octree, accelerating back-to-front rendering of contained meshes. It is also used for spacial queries such as collision. | ||
=== Script Layers === | === Script Layers === | ||
{{todo| | {{todo|Format known, needs documentation written up.}} | ||
The SCLY section contains data for objects. | The SCLY section contains data for objects. | ||
Line 222: | Line 222: | ||
=== Collision === | === Collision === | ||
{{todo| | {{todo|Format known, needs documentation written up.}} | ||
=== Unknown Section === | === Unknown Section === | ||
This one is sandwiched between collision and lights, and usually just contains a single 32-bit "1". Purpose is unknown. | This one is sandwiched between collision and lights, and usually just contains a single 32-bit "1". Purpose is unknown. In the Prime 3/DKCR MREA format, this section is labelled <code>LLTE</code>. | ||
=== Lights === | === Lights === | ||
This section is for dynamic lights | This section is for dynamic lights. See the [[Lights_(Metroid_Prime)|Light]] article for details. | ||
=== Visibility Tree === | === Visibility Tree === | ||
This section is labeled "VISI". | This section is labeled "VISI". Some areas don't have visibility trees; in that case this section will be completely empty and listed with a size of 0. | ||
=== Path === | === Path === | ||
This is the final section in the file; | This is the final section in the file; its only value is a single [[PATH (File Format)|PATH]] file ID. | ||
{| class="wikitable" | |||
! Offset | |||
! Type | |||
! Name | |||
|- | |||
| 0x0 | |||
| Asset ID | |||
| '''Area PATH Resource''' | |||
|- | |||
| 0x4 | |||
| colspan=2 {{unknown|End of section}} | |||
|} | |||
[[Category:File Formats]] | [[Category:File Formats]] | ||
[[Category:Metroid Prime]] | [[Category:Metroid Prime]] |