A visleaf or a leaf is a volume in a map generated from the BSP tree by the VVIS compile tool. Visleafs are used primarily by the Rendering Engine (for each rendered frame) to determine which areas of the map might need to be rendered on screen. When any part of a visleaf is visible from any part of the current visleaf, the entire contents of that leaf are considered for rendering.
Leaves can also be examined from the desktop with the glview tool.
- PVS (Potentially Visible Set) is a localised 'cluster' of visleafs used as a filter in visibility tests.
- PAS (Potentially Audible Set)
- Visleaf generation: