Inspiration

The growing use of generative AI in game development has raised important questions about creative ownership, transparency and the role of artists and developers.

At the same time, independent developers face real production problems. Larger studios have established pipelines and dedicated technical teams. Solo developers often have to handle every part of asset creation themselves, and blocking out a first 3D mesh from concept art is slow, repetitive work.

I wanted to explore how AI could help build accessible creative tools that improve production workflows while keeping the creative control with the artist.

Solid Sketch came out of that idea. AI (Kiro) helped me build the tool, but the tool itself uses no AI at all. It cuts down the effort of making a first 3D mesh, while the artist keeps full control over its shape, its design and everything that happens to it afterwards. The reconstruction is deterministic: the same drawings always give the same model, and every part of the shape comes from the artist's own drawings.

What it does

Solid Sketch turns three drawings of the same thing (front, side and top) into a solid 3D base mesh, right in the browser.

  1. Load your PNG or JPEG drawings, or start from a built-in example (head, torso, bottle, mug, crate, chair).
  2. Each drawing becomes a silhouette. Clean it up with threshold, invert, background picking, outline fill, speck removal, flip, mirror, rotate and upscaling for small drawings.
  3. Line the three views up with a frame on each drawing. A check marks the rows where the views disagree.
  4. Pick a look. Angular gives crisp blocky shapes for objects and pixel-style models. Rounded gives smooth shapes for characters. Fine-tune with the surface type, rounded shapes, local depth for separate arms and legs, depth and resolution.
  5. Inspect the model, then download an OBJ and import it into Blender (Forward -Z, Up Y) to sculpt, colour and finish it.

No account, no uploads, no server, no AI. Everything runs on your machine.

How we built it

The method: classic geometry and image processing. Each drawing becomes a mask (thresholding, bilinear upscaling, flood fill, connected-component cleanup). The model space is a grid of voxels, and a voxel is kept only if it falls inside all three silhouettes at once: a visual hull. The Rounded look assumes each horizontal slice is an oval fitted to the front and side widths, builds it as a continuous signed distance field, smooths the field with a Gaussian filter, and extracts the surface with marching cubes. It is written in TypeScript with React and Three.js, runs in a Web Worker, and exports OBJ.

The process: Kiro IDE.

  • Specs. Seven specs (.kiro/specs/), each with EARS requirements, a design and a task list. Every requirement has a property-test idea, and every spec includes the requirement "no AI at runtime".
  • Steering. Seven steering files (.kiro/steering/) hold the rules every agent followed: no runtime AI, the geometry and axis conventions, large readable UI, safe commits with several agents in one repo, and factual DevLog entries.
  • Agent hooks. Five hooks: tests on save, a guard that keeps .kiro/ public, two Windows shell-leak guards, and a DevLog reminder after each task.
  • Workflows. Each task was built by one Kiro agent and checked by a separate reviewer agent. There are 67 review verdicts saved in docs/kiro-workflows/. Workflows stopped at review checkpoints so I could try the app and decide what came next.
  • MCP servers. The Blender MCP built my six test shapes and their true geometry, and checked the exported OBJs back in Blender. The Playwright MCP drove a real browser for checks and screenshots.
  • Testing. 108 property-test assertions with fast-check, 376 unit tests and 41 browser tests.

Challenges we ran into

  • The missing third view. I started with front and side only, because that is what most reference sheets have. Thin blades appeared beside my test head: the side view only knows how deep everything at a given height is, so a narrow ear gets the depth of the whole head. Adding the top view cut the head's extra volume from 36.5% to 15.0%, and the mug's from 49.8% to 1.6%. The full story is in "Why your third drawing matters" (docs/blog/drafts/third-drawing.md).
  • Blocky results. The first rounded models had terraces, ridges and slab-like arms, and a higher resolution only made the steps smaller. I wrote a separate quality spec with measurable gates and an early stop/go checkpoint, ran an offline experiment of my own, and combined the best methods: a continuous rounded field, field smoothing, marching cubes and an optional local depth for separate limbs. The surface angle error on the torso dropped from 60.5° to 34.9° at the 128 grid.
  • Rounding is a bet. Oval slices help heads and torsos, but they cut away about a fifth of a crate or a chair, which the plain method rebuilds exactly. So rounding became a choice (the Angular and Rounded looks), not a default.
  • Keeping the AI on my process. Early on, Kiro packed far too much into the first spec and launched a long spec-drafting workflow I hadn't asked for. It cost a lot of credits, and I ran out and built the editor myself before buying more. After that I kept the workflows short, with a review checkpoint after each stage. I asked Kiro to write the honest account: "What Kiro got wrong on Solid Sketch" (docs/blog/drafts/what-went-wrong.md).
  • Bugs found in real use. When I tested the app myself, I found six bugs, including an all-white image that blanked the whole page. Each one got a test that failed first, a fix and a review.
  • Windows shell leaks from long agent sessions, which I handled with a hook and a cleanup script. And on submission day, itch.io went down mid-upload.

Accomplishments that we're proud of

  • A working tool on itch.io (https://ramsi-k.itch.io/solid-sketch) that goes from three drawings to a Blender-ready OBJ in a couple of clicks.
  • No AI in the product, and every shape traceable to the artist's drawings. Same input, same model, byte for byte.
  • The quality is measured, not guessed: each method was scored against true Blender models for extra volume, missing volume, outline accuracy and surface angle error.
  • Every task was reviewed by a separate agent, and the reviewers caught real bugs before I saw them: a frame that misaligned after rotating, a leaking Escape-key listener, near-equal legs treated differently, and a skipped step that turned out to fix six broken meshes.
  • The whole process is public: specs, steering, hooks, review records and a DevLog that includes what went wrong.

What we learned

  • A third view is worth more than any clever algorithm. Good inputs beat clever processing.
  • Shape assumptions should be visible choices. A shape the drawings don't show should be labelled as an assumption, not hidden in the result.
  • Measure before you decide. A smoother picture or a higher overlap score alone can mislead, so the quality spec used several separate measures and a visual check.
  • With Kiro, the specs were where the real thinking happened. Arguing with a requirements draft is much cheaper than arguing with code.
  • AI is a strong builder and reviewer when it works inside clear rules and short, checkpointed workflows. Without those, it drifts.

What's next for Solid Sketch

  • GLB export alongside OBJ.
  • Vertex colours projected from the drawings, so the model comes into Blender already coloured.
  • Revolve from a single profile, for vases, bottles and other turned objects.
  • Hollow shapes with a wall thickness, for cups and containers.
  • Testing with more real artwork and reference sheets from other artists.

Why Frankenstein

Solid Sketch stitches together parts that were never meant to meet. Flat 2D image processing (thresholds, flood fills, speck removal) feeds a volumetric reconstruction method from computer vision, the visual hull, which carves 3D space from silhouettes. The result goes through signed distance fields and marching cubes, a surface method that came from medical CT and MRI imaging. All of it is wired into a React editor and a real-time Three.js viewer in the browser, and it comes out the other side as an OBJ file for Blender.

Hand-drawn sketches and CAD-style geometry, 2D pixels and 3D volumes, an artist's reference sheet and a scanning algorithm: on their own they don't fit together. Stitched into one app, they turn three drawings into a 3D model in a couple of clicks. And the creature has one more twist: an app built with AI that runs no AI at all.

Built With

Share this project:

Updates

Submission history