Glossary · 3D basics

Scene graph

In short

A scene graph is the tree structure of a 3D scene: each node has its own position, rotation and scale relative to its parent and can hold a mesh, a camera or further child nodes [1].

Parents, children, transforms

In glTF the elements are called nodes. They form a parent-child hierarchy without cycles; each node has at most one parent [1]. A node's global transform is its parent's global transform multiplied by its own local one [1]. Move the group "lid" and the screws and hinges beneath it move too.

Libraries such as three.js work the same way internally: every object in the scene can have children whose placement is relative to the parent [2].

Why it matters for configurators

A configurator addresses parts through the scene graph. For that to work, the model needs:

  • meaningful names: "side-panel-left" rather than "Body047";
  • sensible groups: everything that is swapped or moved together sits under one node;
  • correct pivots: a door turns on its hinge, a gear on its shaft.

Without this structure every variant, every exploded view and every part swap becomes manual work.

Typical faults in CAD exports

  • Flat structure: thousands of parts hang directly under the root, with no groups.
  • Pivots at the origin: every part turns around the scene origin instead of its hinge.
  • Duplicate or cryptic names: scripts cannot address parts unambiguously.

All of these can be fixed during preparation, but they cost time that clean CAD data saves.

Example

The model of the planetary gearhead (example configurator, fictional product) contains more than 200 nodes with names such as "carrier" or "planet-pin". Each part has its own explode direction and a place in the assembly order, which is what makes the exploded view, cut-away and item numbers controllable.

The guide CAD to web 3D explains how to prepare this structure in CAD.

Related terms

  • glTF

    glTF (GL Transmission Format) is a royalty-free Khronos Group specification for the efficient transmission and loading of 3D scenes and models. In 2022 glTF 2.0 became the international standard ISO/IEC 12113:2022.

  • Exploded view

    An exploded view shows a product with its parts pulled apart along their assembly direction. In the browser each part must be its own movable node in the scene graph. Covered in depth on our [exploded view](/en/exploded-view/) page.

  • 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.

  • Parametric model

    A parametric model is a 3D model whose geometry is calculated from parameters and rules, such as width, height or number of steps. Change a value and the shape is rebuilt rather than edited by hand.

Examples to try

Example configurator · fictional product

Planetary gearhead

A planetary gearhead for sales and training: running drive with adjustable input speed, cut-away and exploded views, item numbers and technical data as sample values.

Industrial cells & machines · Opening and mechanism · Exploded or cut-away view · Notes on the model

More in our guides

Sources

  1. Khronos Group: glTF 2.0 Specification
  2. three.js docs: Object3D

← All terms in the glossary