Why 3D benefits in particular
A 3D view brings several heavy pieces: a JavaScript library, the model file, textures and shader compilation. If all of that starts on page load, it competes with text, images and navigation. MDN describes lazy loading as a strategy of loading non-critical resources only when needed, shortening the critical rendering path [1].
Two triggers
| Trigger | How | Suits |
|---|---|---|
| Visibility | load as the view scrolls into range, using the Intersection Observer [2] | 3D further down the page |
| Click or tap | poster with a start button, 3D only after the action | 3D near the top, large models, mobile pages |
Getting the poster right
- A real image: images are candidates for Largest Contentful Paint, the canvas element is not [3]. A good poster is therefore what your loading measurement sees.
- Fixed dimensions: width and height on the image, or a fixed aspect ratio, reserve the space so nothing jumps when 3D takes over [4].
- A clear start button: plainly labelled and reachable by keyboard.
- Failure case: if 3D cannot start, the image stays, with a notice.
From our library
Pages in our library show a poster with fixed dimensions and a "start live configurator" button first; only then does the configurator load. Examples are the planetary gearhead and the spiral stair (fictional products).
The 3D product viewer page shows how this fits on a product page.