fixmint
EN

How to turn a photo into a 3D model or an STL you can print

One photo can become a 3D model in a few seconds. Open Photo to 3D, drop the picture, switch View to Model, and a depth model on your device raises the scene into a relief you can turn. Save it as a GLB with the photo on it, for Blender, a game engine or a web viewer, or as an STL for a 3D printer. Nothing is uploaded, and there is no account.

Photo to 3DPhoto looks flatDo it free

What the model is, and what it is not

A photo holds colour, not distance. The tool runs Depth Anything V2 Small, an open depth estimation model, on your device. For every point of the picture it judges how near that point is, from the same clues a person uses: what hides what, how things shrink with distance, how far hills fade. The result is a depth map, a grey picture where light means near.

The Model view turns that map into geometry. The photo is laid on a grid of up to 65,000 points and each point is pushed forward by its depth. What you get is a relief: the front of the scene seen from where the camera stood, like a carved wooden panel or a coin. It is not a full object. The back of a cup, the far side of a head and anything hidden behind something else were never in the photo, so they are not in the model. Turned within about 30 degrees it reads as real depth; turned further, the sides show stretched colour where surfaces meet.

The depth is relative. The model knows the cup is in front of the wall, not that it is 40 centimetres in front. Use the result for pictures, prints and scenes, never to measure.

Which photos make good models

PhotoAs a model
A person, pet or object in front of a plain backgroundBest: one clear raised shape
A room, a street, a product on a tableGood: depth runs from near to far
A landscape with hills and skyGood for a relief panel; the sky stays flat
A close-up that fills the frameLittle depth to show
Glass, mirrors, water, thin wire, hairUnreliable: holes, spikes or smears

Crop to the part you want first with Crop image: the grid spends its points on what is left, so the subject gets more detail. A busy background can be removed with Remove background and the cutout placed on a plain colour before you make the model.

Save a GLB for Blender, games and the web

3D model (GLB) saves one file holding the mesh, its normals and the photo as a JPEG texture. GLB is the binary form of glTF 2.0, the open format most 3D tools read today. The model is one metre on its long side and centred on the origin, with Y up.

  • Blender: File, Import, glTF 2.0. The photo arrives as the material's base colour.
  • Game engines: Godot imports glTF files directly; other engines read them through their glTF importers.
  • Web: viewers built on three.js or the model-viewer element load it as it is.

The material is double-sided, so the back of the relief is not invisible if the model is turned all the way round, but it shows the same picture in mirror image.

Save an STL for a 3D printer

STL for 3D printing saves a closed solid: the relief on top, four walls, and a flat bottom. It is 100 mm on its long side, the base is 2 mm thick, and near parts rise up to 16 mm above it at full Strength. Every edge is shared by exactly two triangles, so slicers accept it without a repair step. STL has no colour, so the photo itself is not in this file, only its shape.

To print it:

  1. Open the file in your slicer (Cura, PrusaSlicer, Bambu Studio and others read STL).
  2. Lay it on its flat base, face up. Scale it if you want another size.
  3. Use a fine layer height, 0.12 to 0.2 mm, so the slopes do not step.
  4. Print without supports; nothing overhangs.

A relief is not a lithophane. A lithophane is a thin plate whose thickness follows the brightness of the photo, so the picture appears when light shines through. This file follows depth instead: the shape of the scene.

Choosing the depth

Strength sets how deep both files come out, and the Model view shows the result live. Low values give a gentle panel that prints fast and looks like a medal. High values pull the subject far forward, which is striking for a portrait but stretches the edges where the subject meets the background. Turn the model sideways in the view to see those edges before you save.

Where it goes wrong

  • Spikes or pits in odd places. The model misread a reflection, a shadow or fine texture. Check the Depth map view; if the error is there, try another photo of the same thing.
  • The background bulges. A textured wall or grass gets small bumps. Remove the background first, or lower Strength.
  • The STL is large. It holds about 130,000 triangles, around 6 MB. Slicers handle that easily; to share it, zip it.
  • The face looks flat. Faces have less depth than the space around them. Crop close so the face fills more of the picture, then raise Strength.

Know someone with the same problem? Send them this article.

Comments

    No comments yet. Be the first.

    Your rating (optional)
    0 / 300

    Your email is never shown or kept.

    Cover of AI-Era Starter ShelfAI-Era Starter Shelf

    Three practical ebooks on AI, work and how machine learning came to be, bundled for less than buying them one by one.

    $9.99Get it on Gumroad