What happens
Picture the surface of a model being cut open and laid flat, like a sewing pattern. Every point in the UV map corresponds to a vertex of the mesh, every face in the map to a face of the model [1]. The letters U and V name the two image axes so they are not confused with X, Y and Z in space.
In glTF, UV coordinates are a separate attribute per vertex (TEXCOORD_0, TEXCOORD_1 and so on) [2]. Without them no texture can sit cleanly on the model.
Why a configurator needs UVs
- Wood grain, fabric, brushed metal: the grain has to run the right way, or it will cross a rail at an odd angle.
- Logos, labels, printed artwork: artwork must not be distorted. For packaging this is the whole point of the view.
- Normal maps: fine surface structure also depends on the UVs, see texture maps.
- Baking: if you bake light or shadow into a texture, you need a UV map as the target [3].
CAD data and UVs
CAD exports rarely carry usable UV coordinates. They are created during preparation, for example in Blender. Good seams sit where nobody looks: on edges, underneath, in joints.
An example from our library is the beverage can (example configurator, fictional product): its model uses several colour and normal textures that sit on the can body and lid through UV coordinates. The guide CAD to web 3D covers the whole preparation process.