VISI (MREA Section): Difference between revisions
→Leaf Nodes
imported>Jackoalan |
imported>Jackoalan |
||
Line 112: | Line 112: | ||
Instead of child pointers, leaf nodes contain byte-packed bits indicating visibility. | Instead of child pointers, leaf nodes contain byte-packed bits indicating visibility. | ||
The bits are arranged from LSB to MSB per-byte. First are the bits relating static MREA geometry | The bits are arranged from LSB to MSB per-byte. First are the bits relating static MREA geometry | ||
in-order of the first MREA | 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. Following these is another | Finally are the bits relating lights in order of the BABEDEAD section of the MREA. Following these is another | ||
set of bits for each light indicating if it's in-bounds of the octree or not. | set of bits for each light indicating if it's in-bounds of the octree or not. |