BuildChunkMeshTables
function · terrain · primitive
- Address
0x6aef50· 639 bytes, up to0x6af1ce- Signature
void __cdecl (void)- Meaning
- Builds the 145-vertex texture coordinate tables and each level's remapped copies and batches
- Confidence
- verified, proof one
- Finding
- terrain/lod#chunk-mesh-tables
- Test
terrain::chunk_mesh_tables
Finding: Chunk mesh tables in terrain: lod
At start-up 0x6aef50 builds the 145-entry texture coordinate tables in the vertices' order: at
0xcac860 an outer vertex (j, i) gets (i, j) and an inner one (i + 0.5, j + 0.5); at 0xcac3c8
the same over 8, in [0, 1]. It then fills, for each of the four levels, remapped copies of both
tables and the level's batch descriptor from the static index lists at 0x86b540.
The derivation is in the doc.
Callers 1
- InitMapChunkStatics terrain
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.