IsBoxCulled
function · terrain · orchestration
- Address
0x682f40· 30 bytes, up to0x682f5d- Signature
uint32_t __thiscall (void *this)- Meaning
- Returns nonzero when the scene frustum rejects a box
- Confidence
- verified, proof one
- Finding
- terrain/cull#chunk-visibility
Finding: Chunk visibility in terrain: cull
0x683bf0 walks the frame's candidate chunks: a chunk whose holes word is 0xffff, whose box fails
the frustum, or which the horizon hides, is dropped. With world flag 0x20, a visible chunk
without holes becomes an occluder candidate; the candidates whose view depth lies in
[0xc7b66c, 0xc7d278) add their rows to the horizon, and all join the draw list. Without the
flag every visible chunk joins the draw list directly.
The derivation is in the doc.
Callers 5
- CullLowDetailTiles terrain
- CullLiquidLayer terrain
- CullSceneChunks terrain
- CullExteriorMapObjects terrain
- IsGroupBatchCulled terrain
Callees 1
- TestBoxPlanes terrain
Calls and jumps by a bare address, from tables/calls.tsv.