Image to STL: Reduce 3D Model Triangles With Snapshapy

Image to STL: Reduce 3D Model Triangles With Snapshapy

Image to STL, Snapshapy Tutorial, Snapshapy

After an image to stl workflow, this Snapshapy tutorial shows how to reduce a textured model’s triangles and prepare it for use in a browser game.

I took a 1.5-million-triangle mushroom cottage and asked for a 10,000-triangle web-game version with 1024 px textures. It came back in seconds at 11,618 triangles and 5.6 MB instead of 89.6 MB, and the reduction itself cost nothing.

A model built from a picture is usually far too heavy for a browser game. The cottage I had made earlier in the same chat with Snapshapy had almost 1.5 million triangles and three 4K textures, which is fine for a render and hopeless for a web scene. Here is how I cut it down in the same chat, what the numbers looked like afterwards, and the one thing that did not go the way I asked.

What you need

  • A finished textured model in a Snapshapy chat. Mine was a mushroom cottage that cost 11 credits to make (8 for four concept images, 3 for the 3D build).
  • A triangle budget and a texture size for your target. I picked 10,000 triangles and 1024 px textures for a web game.
  • That's all. The reduction runs in the chat, and its tool row says "Remesh · free".

Step 1 — Start from the finished model card

The source model sat in the chat as a 3D MODEL card marked "Ready", with Open, Use in chat and Export buttons. When a model card is the latest thing in the chat, the message box shows it as the attached context, so a new request applies to that model without any extra clicking.

The source: a textured cottage card, ready to export or to work on further.

Before asking for anything I downloaded the original GLB to have a baseline: 89.6 MB, 1,496,696 triangles, 877,197 vertices and three 4096 × 4096 textures.

Step 2 — Ask for the triangle budget in plain words

I typed exactly this: "Reduce this model to 10,000 triangles for a web game, keep the textures, 1024 textures".

The reply was refreshingly upfront. It said the reduction was free and would take about 30 seconds, that the textures would be kept and shrunk to 1024 px, and that keeping textures means the cut can't cross the texture seams, so it might stop a little above 10,000. It promised to report the real number.

My request, the reply, and the finished REMESHED card: "12k triangles · from 1.5M · textures kept · seams stopped it above 10k".

The job itself took 7.2 seconds. The card read "12k triangles · from 1.5M · textures kept · seams stopped it above 10k". So it did what it said it might: it got close, not exactly there, and it told me so on the card rather than hiding it.

Step 3 — Export the reduced GLB

The reduced card has its own Export button with the same list as any model: GLB, STL, OBJ (a zip with textures), 3MF and USDZ. There is also a "Remesh for print" button on this card; that is the separate route for a printable version, which I did not need here.

The top of the Export menu on the reduced card. GLB is the one to take for a web or game engine.

I took the GLB. It downloaded in 3.3 seconds, compared with about 84 seconds for the 89.6 MB original.

Step 4 — Check what you actually got

I measured the file instead of trusting the "12k" label:

  • File size: 5.6 MB (down from 89.6 MB, about 16× smaller)
  • Triangles: 11,618 (down from 1,496,696, under 1% of the original)
  • Vertices: 17,112
  • Textures: three maps at 1024 × 1024 (colour, normal, metal/roughness), so the texture request was honoured exactly
  • UVs: kept; one mesh, one material
  • Proportions: same as the source (the bounding box barely moved)

Then I rendered both files from the same camera.

My render of the original GLB (left) next to the reduced one (right), same camera and lighting.

At game-camera distance the reduced cottage still reads as the same building: the door in its stone arch, the round windows, the chimney and the leaves are all there. Up close you can see the cost. The edge of the cap is made of straight segments instead of a smooth curve, there are a few green and brown smears on the cap where the texture got stretched, the stepping stones are smudged, and the round puffs of smoke became a flat twisted ribbon.

The reduced model alone: fine for a small prop on screen, visibly simplified on the cap.

The wireframe shows where the triangles went: large flat triangles across the cap, and dense clusters around the door, the windows, the leaves and the chimney, which is where the detail is.

Wireframe of the 11,618-triangle version: big faces on the cap, dense detail around the window and chimney.

Step 5 — What happened when I pushed for 10,000

Since the agent had offered to go lower, I asked: "12k is close. Can you take it down to 10,000 or below? Keep the textures at 1024."

It explained that it would redo the reduction from the original textured model with a 9,000-triangle target, to leave room to land under 10,000. The job took 9.6 seconds. The new card said "12k triangles · … · seams stopped it above 9.0k", and the downloaded file had 11,622 triangles. In other words, on this model the texture seams put a floor at roughly 11,600 triangles, and asking for a lower number does not get past it.

The second attempt with a 9,000 target: still about 12k, and the card says why.

Tips and limits

  • Expect to land above the target when you keep textures. The agent warned me and the card reports it. For this cottage the floor was about 11.6k triangles. If your budget is hard, plan for a margin, or pick a simpler concept with fewer separate parts.
  • Read the card, not the reply. The reply states the goal, and the card states the result. For budgets, quote the card or, better, measure the file.
  • Name the texture size. I asked for 1024 and got exactly 1024 × 1024 maps. Big textures are often a bigger share of a web download than the mesh.
  • Detail survives where it matters, round shapes suffer. Smooth curved surfaces such as the cap and the smoke lose the most. Busy areas keep more triangles.
  • Reductions are free, so try a couple. Each of my two runs took under 10 seconds and cost 0 credits, so testing a budget costs only a minute.

FAQ

Does reducing triangles cost credits? Not in my runs. Both reductions showed "Remesh · free" and nothing was added to the chat's spent counter, which stayed at the 11 credits the model itself had cost.

Can I get exactly 10,000 triangles? Not with textures kept on this model. The first try gave 11,618 and the second, aimed at 9,000, gave 11,622.

Will the reduced model keep its colours? Yes. The textures were kept and resized to the 1024 px I asked for, and the UVs came through. Expect some smearing on large smooth areas.

Is the original lost? No. The reduced model is a new card in the chat. The 1.5-million-triangle original stays where it was, and the second run was even built from it again.

Wrap-up

One sentence in the chat turned an 89.6 MB, 1.5-million-triangle model into a 5.6 MB, 11,618-triangle GLB with 1K textures, in under ten seconds and for no credits. It did not hit my 10,000 number, but it said so before and after, and the result is a usable web-game prop. If you are starting from scratch, the 3D Agent chat is where you can build the model and reduce it in one conversation.