CMapAreaLow::Draw
function · terrain · orchestration
- Address
0x6bd780· 319 bytes, up to0x6bd8be- Signature
void __thiscall (CMapAreaLow *this)- Meaning
- Draws a low-detail tile with culling off, filling its buffer once
- Confidence
- verified, proof one
- Finding
- terrain/lod#low-detail-tile-draw
Finding: Low-detail tile draw in terrain: lod
0x6bd780 draws a tile with culling and lighting off, the fog start 0, the fog end 1.0 and the fog colour
from the light state's +0x70, depth test mode 3, and a 545-vertex buffer it fills once through
0x6bd8c0. It draws 3072 indices (16 by 16 quads of four triangles) as a triangle list with the highest
vertex 0x220. With culling off the tile shows from below (render#face-culling).
The derivation is in the doc.
Callers 1
- DrawFarBand terrain
Callees 14
- GxRsSetWord gx
- GxRsSetFloat gx
- GxRsSet gx
- GxRsPush gx
- GxRsPop gx
- 0x58a010 gx
- GxBufCreate gx
- GxVertexBufBind gx
- PassBufferToDevice gx
- GxPrimRenderOne gx
- FVBBList::Ensure terrain
- CMapAreaLow::FillVertices terrain
- FillLowDetailIndices terrain
- GetLightState lighting
Calls and jumps by a bare address, from tables/calls.tsv.