Visleaf
Jump to navigation
Jump to search
A visleaf, or a leaf, is a type of volume in a map created by the visibility compile tools. When any part of a leaf is visible from any part of the current leaf, the entire contents of that leaf are considered for rendering.
The console variable "mat_leafvis 1
" draws a red wireframe box around the Player's current visleaf, which is redrawn each time a new leaf is entered.
Leaves can also be examined from the desktop with the glview tool.
See also
- PVS (Potentially Visible Set) is a localised 'cluster' of visleafs used as a filter in visibility tests.
- PAS (Potentially Audible Set)
- VVIS compiler.
- Visleaf optimisation: Hint brushes
- Visleaves calculation: Optimization (Geometry)#Visibility
- Controlling Geometry Visibility and Compile Times
- Ralph van Hoorn's excellent explanation of visleafs.