Glossary · 3D basics

Level of detail (LOD)

In short

Level of detail (LOD) means keeping several versions of an object at different detail levels and drawing the one that suits the camera distance: the fine one close up, the coarse one far away [1].

How LOD works

Each detail level is a separate mesh, and rendering switches between them at set distances. The three.js documentation describes the typical pattern of three versions: far with little detail, mid range, and close up with high detail [1].

The simplified levels are usually made by decimation: a tool reduces vertices and faces with as little change to the shape as possible [2]. The command-line tool gltfpack, for example, can simplify meshes towards a target share of the original triangles [3].

When LOD helps in a configurator

  • Large scenes: halls, outdoor sites or exhibition stands with many repeated parts, where the camera pulls far back.
  • Surroundings: trees, neighbouring buildings or background furniture need not be as fine as the product.
  • Weaker devices: on older phones every triangle saved counts.

When it adds little

For a single product that always fills roughly the same part of the frame, the level hardly changes. A well-reduced model from the start is usually the better choice. LOD also multiplies maintenance: every variant needs several versions, and the switch must not visibly pop.

What matters in practice

In three.js a dedicated LOD object groups the levels and picks the right one by distance when drawing [1]. For configurators, every level must share the same part names, pivots and materials. Otherwise the configuration logic loses its target when the level switches, and a chosen colour suddenly disappears.

In our example configurators we rely mainly on reduced geometry, instancing for repeated parts and rendering only when needed rather than on LOD. The pillar page 3D configurator shows how these pieces fit together in a project.

Related terms

  • Polygon mesh

    A polygon mesh describes the surface of a 3D object as a network of vertices, edges and faces. In the end, graphics cards draw surfaces as triangles, and glTF stores surfaces as triangles too.

  • Decimation (polygon reduction)

    Decimation (polygon reduction) lowers the vertex and face count of a mesh with as little change to its shape as possible, for example with Blender's Decimate modifier or gltfpack. Useful on large flat areas; edges and radii should keep their triangles.

  • Draw calls

    A draw call is a single drawing command sent to the graphics card, such as "draw this mesh with this material". Each call carries overhead, so a few large calls are generally faster than many small ones.

  • three.js

    three.js is an open-source JavaScript library for 3D graphics in the browser. It handles the scene, camera, lighting, materials and model loading, and renders through WebGL or WebGPU.

Sources

  1. three.js docs: LOD
  2. Blender Manual: Decimate Modifier
  3. meshoptimizer: gltfpack

← All terms in the glossary