CSG Compiler Last edited 10 months ago2023-12-18 11:31:16 UTC

This is the first of the main compiling programs that takes the info from the .map file produced by WorldCraft and prepares a .pt0 file for the BSP compiler to use. It checks WADs, and stores them, and checks for invalid brushes and invalid face planes.

More info from DOE, Snowdog:
CSG: This tool effectively slices/breaks up complex brushes into simpler polygons so the BSP tool can do its job effeciently and correctly. Think of it as a preprocessor for the BSP tool.

Stands for "Constructive Solid Geometery".

Input/process/output

Input:
  • .map file
Processes:
  • Combines brushes into solid geometries. For this it does the following:
    • Check for invalid brushes
    • Check for invalid face planes
  • Read WAD textures
Outputs:
  • BSP file [incomplete] containing:
    • Entities
      • Updates existing BSP file's data with -onlyents argument
    • Texture data, which can be either references to external WADs or embedded
      • Controlled with -wadinclude or -nowadtextures arguments, among others
  • Intermediate files for BSP compiler (compiler tool-specific) containing geometry data
Compilation programs
  1. CSG
  2. BSP
  3. VIS
  4. RAD

Comments

You must log in to post a comment. You can login or register a new account.