A heightmap is already the model
Every image to STL conversion works the same way: brightness becomes height. That means a greyscale heightmap — the kind a terrain generator, a displacement map or a laser scan exports — is already the thing you want to print. You just need it turned into triangles.
Drop the greyscale image in the panel above. White becomes the top of the range, black becomes the base, and the result is a solid with a flat back.
What counts as a heightmap here
- Terrain and topography exported from a GIS tool or a game map generator.
- Displacement maps from Blender, ZBrush or Substance — save the 8-bit greyscale version, not the floating-point one.
- Scan depth maps from a structured-light or LiDAR sensor.
- Bump and texture maps you want to feel rather than see.
16-bit PNGs are read as 8 bit by the browser's canvas, so a 16-bit terrain map loses fine steps. If the terrain has long gentle slopes you will see banding in the print; convert a narrower area, or apply a little blur to smooth the steps before converting.
Scale: the part heightmaps hide
A heightmap has no units. Width in millimetres sets the footprint, and the model height follows your image's aspect ratio. The vertical scale is separate: max relief height sets how tall the brightest point stands above the base.
That means the same map can print as a subtle relief or as a mountain range — and terrain in particular looks wrong if the vertical scale is off. Real terrain is much flatter than it feels: 1 mm of height per 10 mm of ground is already dramatic. Start at 5 mm of relief on a 100 mm wide map.
Typical settings
- Terrain: 120–150 mm wide, 1.2 mm base, 5–8 mm relief, detail 300 px if the source allows it.
- Displacement detail for a model: 60–100 mm wide, 0.6 mm base, 3 mm relief.
- Bump texture: 40–80 mm wide, 0.4–0.6 mm base, 1–2 mm relief — enough to be felt.
What this cannot do
It cannot read a 16-bit heightfield with real elevation data, and it does not preserve georeferencing. If you need vertical exaggeration measured in real metres, scale it in a mesh editor after converting — the STL is in millimetres, so a uniform scale is all you need.
Want the general converter instead? It lives on the home page and does photographs, logos and drawings with the same engine.