Series AI-Collab 3D Icon Pipeline Training Log

~4 min read

Fifteen 3D Icons Made with AI, and Why They Are On Hold

Fifteen 3D icons for the design system, built entirely in code with an AI agent: bpy procedural modeling, Cycles prerendering, the join() coordinate-space trap, the betrayal of Euler order. A full record of the trial and error. Verdict up front: quality falls short of production, so deployment is on hold, but the pipeline remains, to be upgraded alongside AI until it ships.

TrainingAIBlender3DThree.jsDesign System

Departure — Can Icons Be Generated Instead of Drawn?

I needed a set of 3D icons to use across the web and app. This site already has a Blender-to-web pipeline, so rendering wasn't the worry. The problem was assets. Modeling fifteen icons (a starship, LLM, RAG, a compass, a gear…) by hand would eat days.

So this time I set out to check whether, working with an AI agent (Claude Code), everything from asset creation to web integration could be done in code.

The web side came first. To use 3D icons on every screen, you can't give each one its own WebGL canvas. Browsers cap WebGL contexts at 8–16 per page. So I designed a static-first hybrid.

  • lib/icons3d.ts is a single registry mapping a name to glb, image and label
  • <Icon3D name="llm" /> shows a prerendered static image by default. It is SSR-safe with no count limit
  • <IconSet3D> is live WebGL reserved for hero spots. Many models share one canvas
  • A prerender pipeline turns each glb into a transparent PNG

Gate 1 — Where Do the Assets Come From?

Plan A was AI text-to-3D (Tripo, Meshy, Hunyuan3D-2). I even built the fifteen-prompt set. Abstract concepts need metaphors. LLM became "a brain of connected nodes" and XAI "a transparent brain with visible gears." Execution then hit access walls. I also searched free asset libraries. The famous 3D icon set had gone paid, and CC0 repositories rarely had the shapes I needed.

The remaining road was to procedurally generate all fifteen with Blender's Python API (bpy). It turned out to be the road that fit this project best.

AI generationbpy script
Style consistencyprompt gachaguaranteed by code
Brand color #00DF82approximateexact
Revisionsregenerate & prayone line → rerun
Sizehundreds of K polyslow-poly 5–185KB

I also learned that pip install bpy runs Blender headless even on a server. Generation (make_icons.py) through Cycles rendering (render_icons.py) completes without a UI.

Gate 2 — The join() Coordinate Trap

The first batch was half a success. All fifteen came out of cylinders, spheres and tori, but the sticky note rendered as a diamond rotated 45° and the compass looked up from below. No 45 appeared anywhere in the code.

The culprit was Blender's join(). It merges into the active object's local space, and bpy.data.objects is ordered alphabetically by name rather than by creation. Among the note's parts, "Cone" (the fold ornament, rotated 45°) preceded "Cube," became active, and its inverse rotation soaked into the merged geometry. The moment the pose step overwrote the object rotation, that residue got baked in.

# Bake every part's rotation into its vertices BEFORE join —
# then it no longer matters which object is active
bpy.ops.object.transform_apply(rotation=True, scale=True)
bpy.ops.object.join()

The second trap was quieter. Objects imported from glTF arrive with rotation mode QUATERNION, so assigning rotation_euler does nothing. There is no error either. I found it while building the external-asset converter, and the fix was one line: rotation_mode = "XYZ".

Gate 3 — The Betrayal of Euler Order

The longest detour in the pose system was rotation itself. To lay the starship into a top-down quarter view I gave it X 48° (pitch) and Z 150° (yaw), and got a view from below.

Blender's XYZ Euler applies X → Y → Z. The pitch that tilts a shape toward the camera gets swung to the opposite side by the yaw that follows. If the intent is "turn first (yaw), then tilt toward camera (pitch)," the order must be reversed.

obj.rotation_mode = "ZYX"   # Z (yaw) first → X (pitch) after
obj.rotation_euler = (radians(82), 0, radians(150))

Some icons need the opposite order. To show a book's thickness you stand it up first (pitch), then turn it (yaw). That is XYZ. The same three numbers produce entirely different poses depending on order. The pose table now carries the rotation order explicitly.

Gate 4 — Quality Is Half Lighting, Half Simplification

Swapping the three.js prerender for Blender Cycles (soft three-point studio and a mint rim light) and baking angle-limited bevels into every icon changed the mood. The XAI icon, gears refracting inside a glass sphere, benefited most from the raytracer.

The bigger lesson, though, was simplification. The icons that looked good (gear, poi, trophy) were all few-element and chunky. The weak ones (rag, compass, map) were the fiddly ones. So I set four principles and went another lap.

  1. Keep one or two key elements per icon. RAG went from four elements to two: "database + magnifier"
  2. Use chunky proportions. Thicker and fatter
  3. Use one viewpoint. The camera is locked frontal and every flat shape faces it squarely
  4. Balance the set. Bounding-sphere framing was replaced with camera_fit_coords vertex fitting so all fifteen fill the frame at the same ratio
3D 아이콘 로딩 중…

The Result, and an Honest Verdict

Fifteen icons are done. Unified frontal viewpoint, equal frame coverage, brand mint/charcoal, 5–185KB each. Everything is code, so fixing a function and rerunning is all it takes.

Still, production use is on hold. The limits of primitive composition (modeling detail, the organic sense of proportion) weren't fully covered by lighting and simplification. Against professional 3D icon sets, the density isn't there. The tool (Blender) is not the problem. Sculptural judgment is the bottleneck, and that didn't yield to a few more lines of code.

Course Plan — The Pipeline Stays

The real gain from this work isn't the icons but the pipeline.

  • make_icons.py builds the fifteen procedurally. The shape definition is the code
  • render_icons.py renders any glb under the same studio lighting. Style stays unified regardless of origin
  • import_asset.py recolors external or AI-generated models into brand materials and adds them to the set
  • <Icon3D> and <IconSet3D> are the static-first hybrid web components

Structurally, shape origin and style are decoupled. Swap in better shapes and everything else keeps working. So this work is not filed as a failure but kept in progress. The plan is to keep upgrading this pipeline as AI text-to-3D quality climbs, and to take it to production the moment generative models produce production-grade shapes. All that will take is passing a new glb through import_asset.py.