Beverage can in 3D: flavour designs, varnish, condensation and multipacks
How a can viewer cross-fades flavour designs, renders matt and gloss varnish, adds condensation and slides cans into a multipack, with a working demo.
Short answer: a can viewer has few options, but each needs its own technique. Flavour designs are prepared artworks that the viewer cross-fades between; matt and gloss are values for roughness and clear coat; condensation is a separate layer that fades in; packs are models of their own into which the cans slide. On top come rules about which states go together, for example that a can in a multipack is never shown open.
Which options does the can in our example configurator have?
The demo shows a 330 ml can of a fictional brand. Every value is an example value; no manufacturer commissioned or reviewed the demo.
| Control | Values | Default | Technique |
|---|---|---|---|
| Flavour | Cucumber & mint, blood orange & rosemary, elderflower & lemon | Cucumber & mint | Cross-fade between prepared artworks |
| Varnish | Matt, gloss | Gloss | Roughness and clear coat of the surface |
| Condensation | On, off | Off | Separate layer with droplets, faded in |
| Pack | Single can, 4-pack, 6-pack | Single can | Models of their own; cans slide in |
| Turntable | On, off | Off | Rotating display |
| Open can | On, off | Off | Animated opening of tab and panel |
| Reset view | Action | Camera back to the start view |
How does the can switch flavour?
Each flavour is a finished artwork on the can's wrap, with a mask that sets where bare metal shows and how rough the surface is. On a change the demo cross-fades between two artworks instead of cutting hard. The tab colour and the colour of the drink, visible when the can is open, change with it.
For your project that means a new flavour is a new artwork with its mask on the same shape. Shape, lighting and varnish values stay. What matters is that all flavours are delivered on the same wrap template and at the same resolution. How print data is prepared for this is covered in implementing packaging in 3D.
How do matt and gloss differ?
Varnish is not an image in the rendering; it is a material property. In the demo the gloss can has low roughness and a full, very smooth clear coat. The matt can has high roughness and only a weak, rough clear coat. On a change the values blend into each other.
glTF, the format in which web 3D models are usually delivered, describes such a clear coat through its own extension [1]; the demo's can model uses it. How a varnish really looks on your can depends on the scene's lighting, which is why photos of real samples under the same light belong in the material we match the values against.
The demo's code also contains a comparison state with two cans side by side, labelled matt and gloss. It is reachable only through a link parameter, not from the control bar.
How is the condensation made?
Condensation is a separate shell around the can that fades in when switched on. It is only drawn while visible, so it costs no rendering time in the normal state. For marketing it is a visual device; it says nothing about the can.
How do the cans get into the multipack?
The 4-pack and the 6-pack each have their own model, with artwork per flavour. When the viewer picks a pack, the cans slide in two rows from the open end into the pack, back row first. When switching back they slide out before the new state is set up. The camera then moves to a view of the whole pack.
This is a rule that matters in every packaging project: states exclude each other. In the demo:
- In a multipack, every can is closed.
- If the viewer chooses "Open can" while a multipack is shown, the demo switches to the single can and then opens it.
- The opening takes about 1.3 seconds: the tab lifts, the panel breaks open, the tab settles back. The tab pushes the panel down so it is never drawn passing through the metal.
Rules like these are in no print file. They are agreed with you before the model is built.
How does the demo handle motion?
If the device has "reduce motion" switched on, the demo skips the transitions: pack, condensation and opening jump straight to the target state [2]. The turntable is off at the start and does not keep turning when reduced motion is set. When the viewer stops it, the can turns back to the nearest full rotation so the front faces forward again.
Can a specific state be linked?
Only to a limited extent, and not as a visitor feature. The demo's embed page reads a technical link parameter for prepared states, for example 6-pack, 4-pack, condensation, open can or three flavours side by side; there is no button for it. That allows fixed start views to be linked for a presentation or an article. Freely chosen states cannot be saved as a link in the demo; that would be a project feature. How such links can help in sales and approval is covered in packaging in 3D: approval, samples and sales.
Example configurator · fictional product
Beverage can 330 ml
A beverage can with three flavour designs, matt or gloss finish, condensation, single can, 4-pack or 6-pack – to turn and open.
What is the end result?
The demo ends at the view. It has no enquiry form and no basket. In a project, the selection of flavour, varnish and pack could be handed to an enquiry or a shop, by email or webhook. Who a can viewer is for is covered in 3D viewer for beverage cans.
Frequently asked questions
How many flavours can a viewer handle?
Technically many, but each flavour brings an artwork that has to load. Beyond a handful it is worth loading artworks only when they are selected, so the start stays fast. Load time is one of the topics on our 3D product viewer page.
Can trays or crates be added?
Yes, each as its own model with its own artwork and its own rule for which can states it allows.
How we build viewers and configurators: custom 3D configurator development.
Sources
- Khronos Group: KHR_materials_clearcoat, glTF 2.0 extension, read 14 November 2026: github.com/KhronosGroup/glTF
- MDN Web Docs: prefers-reduced-motion, read 14 November 2026: developer.mozilla.org
- Demo features and values: the Beverage can 330 ml library page and the demo source code (can.js, flavours.js, embed), read 14 November 2026


