Mesh
A mesh is a discrete geometric representation composed of interconnected vertices, edges, and faces or other elements covering a shape or region.
Geometry for Programmers
A discrete geometric representation composed of connected elements such as vertices, edges, and faces.
- How it is used
- Uses triangle meshes as a practical surface representation for geometric processing, SDF conversion, and fabrication.
- How deep it goes
- Explains indexed storage, topology limits, approximation trade-offs, triangle distances, and SDF conversion rather than general mesh algorithms.
- Examples
- Uses an indexed cube in Wavefront OBJ and computes point-to-triangle distances through planes, edges, and vertices.
- What you can do after
- Evaluate/understand mesh storage, resolution, topology, and conversion choices for geometric modeling tasks.
Digital Twins in Action
A mesh-based 3D model represents complex shapes as networks of points and connecting lines or polygonal elements for efficient rendering.
- How it is used
- Provides efficient, navigable 3D visualization of large physical assets in browser-based digital twins.
- How deep it goes
- Defines mesh primitives and walks through a manually specified OBJ cube, then addresses fidelity and performance without detailing rendering internals.
- Examples
- Uses a hand-written OBJ cube and a city-scale Melbourne model to show mesh structure and visualization at different scales.
- What you can do after
- Build it from scratch as a small OBJ mesh and evaluate its suitability for an interactive digital-twin view.
Related concepts
- boundary representationkind of · Boundary representation is a solid-modeling scheme that defines an object through its bounding faces, edges, vertices, and their connectivity.
- marching cubesproduced by · Marching cubes is an isosurface extraction algorithm that approximates a three-dimensional implicit surface with triangles from scalar samples on a grid.
- dual contouringproduced by · Dual contouring is an isosurface extraction algorithm that places one optimized vertex in each active grid cell and connects neighboring vertices across sign-changing edges.
- voxelcontrasts with · A voxel is a discrete volumetric element, typically cubical, used to represent spatial data or occupancy in a three-dimensional grid.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

