The starting point
Each logo came with its own colors, size and treatment instructions. Some regions needed to remain flat, while others needed a thinner or more pronounced raised effect.

The starting point: artwork displayed as a flat SVG on the cap.
The approach
Inkscape is an application for creating and editing vector graphics. Ink/Stitch is an extension for designing embroidery. We used them behind a Python API to convert prepared SVG artwork into a stitch plan, previews and materials for the 3D editor.
The client’s guide identifies the regions to raise. We apply the treatment to the specified area while preserving the artwork’s colors and physical dimensions.
The material maps
The base-color map carries the logo’s visible colors. Normal and height maps add thread detail and relief, while the remaining maps describe how the surface should respond to light and where it is visible.

An example logo’s base color and accompanying material maps.
A few problems we solved
Logos arrived in different sizes, so we normalized their dimensions in millimeters while retaining their proportions. Disconnected letters could create unwanted travel lines; trimming between regions helped avoid them.
A realistic-looking preview also did not behave correctly when used as a single 3D texture. Separating color, height and surface properties made the result work better under the editor’s lighting.

Embroidery applied to a cap in the editor.
The output
Along with the previews and material maps, the workflow generated editable artwork, stitch data and a DST file. One documented delivery batch covered 60 teams, 120 front and rear logo placements, and 720 material maps.
Back to the case study ↗