WalkScene
function · terrain · orchestration
- Address
0x682fa0· 150 bytes, up to0x683035- Signature
void __thiscall (float *this)- Meaning
- Walks one rectangle over the 32 depth bands: entities, doodad defs, map objects, liquid layers, chunks
- Confidence
- verified, proof one
- Finding
- terrain/scene#scene-walk
- Test
terrain::viewport_gate_difftest
Finding: Scene walk in terrain: scene
0x682fa0 walks one rectangle. It returns for a rectangle that is not wider and taller than 0.01,
pushes and builds the frustum volume for the rectangle, and visits the 32 depth bands front to
back. Per band: entities, doodad defs, map objects, liquid layers 1, 0 and 2, then terrain chunks.
After the bands it pops the volume and tail-jumps to the low-detail tile walk.
The derivation is in the doc.
Callers 1
- DrawWorldScene terrain
Callees 9
- PushFrustum terrain
- BuildFrustumVolume terrain
- PopFrustum terrain
- CullLowDetailTiles terrain
- CullEntityList terrain
- CullDoodadDefList terrain
- CullLiquidLayer terrain
- CullSceneChunks terrain
- CullExteriorMapObjects terrain
Calls and jumps by a bare address, from tables/calls.tsv.