RWWorld (0x000B)
The RWWorld section stores header information for the world geometry and is the root section of BSP files. The format was described by kabbi.
| Size |
Type |
Description |
| 4b |
bool |
rootIsWorldSector |
| 12b |
Vector |
invWorldOrigin |
| 4b |
float |
ambient |
| 4b |
float |
specular |
| 4b |
float |
diffuse |
| 4b |
uint |
total count of triangles |
| 4b |
uint |
total count of plane sectors |
| 4b |
uint |
total count of world sectors |
| 4b |
uint |
colSectorSize |
| 4b |
enum |
format (see below) |
| Name |
Value |
| Tristrip |
0x00000001 |
| Positions |
0x00000002 |
| Textured |
0x00000004 |
| Prelit |
0x00000008 |
| Normals |
0x00000010 |
| Light |
0x00000020 |
| ModulateMaterialColor |
0x00000040 |
| Textured2 |
0x00000080 |
| Native |
0x01000000 |
| NativeInstance |
0x02000000 |
| SectorsOverlap |
0x40000000 |
Possible child sections