Tutorial_42_MeshChunk

Tutorial_42_​Mesh​Chunk

This tutorial generates a static 3D mesh for a terrain chunk.

The MeshChunk API is used to generate a static 3D mesh for a terrain chunk. The input data is the same as for real-time 3D rendering.

  • Vertex buffer (optimal cache-locality)

  • Index buffer (nested triangle strips)

  • Albedo map

  • Normal map

  • Occlusion map

How to use

During initialization, the tutorial generates geometry and texture data for a 3D model that represents a terrain chunk.

This tutorial uses an aggregated Model widget.

Use the standard GUI controls to manipulate the scene.

See Controls for details.