VISI (MREA Section): Difference between revisions
no edit summary
imported>Jackoalan (→Layout) |
imported>Jackoalan No edit summary |
||
Line 32: | Line 32: | ||
| u32 | | u32 | ||
| Light count | | Light count | ||
| | | Total number of area lights encoded in octree leaves. | ||
|- | |- | ||
| u32 | | u32 | ||
| | | 2nd Layer Light Count | ||
| | | Lights within total that are in the 2nd BABEDEAD layer. | ||
|- | |- | ||
| u32 | | u32 | ||
Line 56: | Line 56: | ||
| u8[lightVisibilityNodeCount][leafSize] | | u8[lightVisibilityNodeCount][leafSize] | ||
| Light visibility node array | | Light visibility node array | ||
| Array of [[#Leaf Nodes|leaf node data]] indicating visibility of other objects from light's perspective. | | Array of [[#Leaf Nodes|leaf node data]] indicating visibility of other objects from light's perspective. 2nd layer lights are listed first. | ||
|- | |- | ||
| float[2][3] | | float[2][3] | ||
Line 114: | Line 114: | ||
in-order of the first MREA sections. Next are bits relating the scripted entities in the VISI entities table. | in-order of the first MREA sections. Next are bits relating the scripted entities in the VISI entities table. | ||
Finally are the bits relating lights in order of the BABEDEAD section of the MREA. Each light encodes 2-bits apiece, | Finally are the bits relating lights in order of the BABEDEAD section of the MREA. The 2nd layer lights are related first. Each light encodes 2-bits apiece, | ||
with the following enum represented: | with the following enum represented: | ||