qbsp-0.7.2 has been yanked.
QBSP
Rust crate for parsing, and operating with Quake 1, 2, and GoldSrc BSP files.
Features
- Parsing
.bspfiles with the BSP29 BSP2, BSP30, and BSP38 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,BRUSHLIST, andDECOUPLED_LMlumps.
Quickstart
use *;
let _ = parse;
Feature wishlist
I might work on these at a later date, but if anyone wants to help out or just give some ideas, they're more than welcome to!
- More flexible meshing API
- BSP writing