This is the second of the four main compiling programs. It takes the info from the .pt0 file from CSG and makes a .pt1 file for VIS by preparing clip planes, leafs and portals. It also checks for leaks.
More info from DOE, Snowdog:
BSP: The BSP tool is the one that actually converts the .map file data into a useable .bsp file that the game engine can load. Once the BSP tool is run the map is essentially playable with the exception that it will have no visibility matrix and will have no lighting at all. Those crucial features are applied by the next two tools VIS and RAD.
Stands for "Binary Space Partition".
Inputs:
- .bsp file from CSG
- intermediate files from CFG
Processes:
- Check that the "outside" of the level don't "leak" into the "insides"
- Splits up the geometry using the BSP algorithm
- Generates the rest of the structural data for BSP file
- Generates collision data (clip hulls)
Outputs:
- BSP file data added:
- Models, nodes, leafs, clipnodes, faces, vertices, etc.
- Portal file for VIS compiler