RWAtomicSection (0x0009)¶
This section is used to define a piece of the world geometry, it is usually child of a RWPlaneSection and propagated through other RWPlaneSection to a RWWorld section.
The format of this section was decrypted by kabbi.
Structure format¶
| Size | Type | Description | 
|---|---|---|
| 4b | uint | materialIdBase | 
| 4b | uint | triangleCount | 
| 4b | uint | vertexCount | 
| 12b | Vector | bbox1 | 
| 12b | Vector | bbox1 | 
| 4b | uint | unused1 | 
| 4b | uint | unused2 | 
| Vector[] | vertices | |
| Normal[] | normals (1 per vector) optional only if world flags contain Normals | |
| 4b | uint[] | colors (1 per vector) optional only if world flags contain Prelit | 
| TexCoord[] | texCoords1 (1 per vector) optional only if world flags contain Textured or Textured2 | |
| TexCoord[] | texCoords2 (1 per vector) optional only if world flags contain Textured2 | |
| Triangle[] | triangles | 
Normal¶
| Size | Type | Description | 
|---|---|---|
| 1b | uint | x | 
| 1b | uint | y | 
| 1b | uint | z | 
| 1b | int | p | 
TexCoord¶
| Size | Type | Description | 
|---|---|---|
| 4b | float | u | 
| 4b | float | v | 
Triangle¶
| Size | Type | Description | 
|---|---|---|
| 2b | uint | m | 
| 2b | uint | v1 | 
| 2b | uint | v2 | 
| 2b | uint | v3 |