How Quake squeezed its visibility data down to 20KB... Quake had to know what yo...

@ChrisPirillo@mastodon.social

How Quake squeezed its visibility data down to 20KB...

Quake had to know what you could not see, and storing that was a problem. In Fabien Sanglard's breakdown of the engine, the precomputed visibility data came to "about 5Mb, way too much for PC in 1996," and a simple trick brought it down to 20kB.

The data is the potentially visible set, or PVS. Michael Abrash's Graphics Programming Black Book says "after the BSP tree is built, the potentially visible set (PVS) for each leaf is calculated."