QBSP
Rust crate for parsing, and operating with Quake 1 BSP files.
Features
- Parsing
.bspfiles with the BSP29 and BSP2 formats. - Structured easy access to the bsp data.
- BSP raycasting.
- Mesh generation.
- Lightmap atlas generation either per-style or per-slot (
.litsupported). - BSPX support, including built-in structures for the
RGBLIGHTING,LIGHTGRID_OCTREE, andBRUSHLISTlumps.
How to use
use *;
parse;
Future plans
- More flexible meshing API
- BSP writing