Constructing a BSP Tree

The algorithm to build a BSP tree is very simple:
  1. Select a partitioning plane/facet.
  2. Partition the remaining planes/facets
    according to the side of the
    partioning plane that they fall
    on (+ or -).
  3. Repeat with each of the two new sets.

Partitioning facets:

Partitioning requires testing all facets in the active set to find if they lie entirely on the positive side of the partition plane, entirely on the negative side, or if they cross it. In the case of a crossing facet we clip it into two halves (using our plane-at-a-time clipping alogithm).
Lecture 15   Slide 5   6.837 Fall '00