ImageTool.cc

3D workflow · 10 min read

How to Create an AI Height Map for 3D Relief and Materials

Published 2026-10-20

How to Create an AI Height Map for 3D Relief and Materials

A height map is a grayscale description of elevation: bright areas are treated as high and dark areas as low. AI depth inference can provide a useful starting point from an ordinary image, but the best results come from understanding what the map represents and refining it for the final 3D use.

What a height map can and cannot describe

A height map stores one elevation value per pixel. It does not contain a complete 3D model, hidden surfaces, or material identity. A photo with clear lighting and a distinct subject can produce a convincing relief starting point, while transparent, reflective, or heavily occluded scenes may need manual cleanup.

For a material, broad gradients create rounded volume and smaller variations create surface detail. For CNC or 3D printing, avoid treating every texture change as physical depth; otherwise the result can become noisy and difficult to machine.

Digital 3D surface shown in a dark viewport

Illustrative workflow image for this guide.

Step-by-step: from photo to usable map

The first AI run may download and cache a quantized depth model. That initial wait is expected; later runs can reuse the cached model.

  1. Choose a source image with a clear subject, readable silhouette, and moderate lighting.
  2. Open ImageTool.cc AI Grayscale Heightmap Generator and upload the image.
  3. Start with local processing for a quick preview, or choose AI inference for a photo-based depth estimate.
  4. Generate the candidate maps and compare broad forms before judging fine texture.
  5. Adjust depth and smoothing so the relief matches the scale of the final object.
  6. Download a PNG and test it as a displacement or height input in your 3D software.
Abstract depth and surface forms for a 3D material workflow

Illustrative workflow image for this guide.

Real example: a CNC wall plaque

Suppose you want to create a shallow relief from a portrait or animal photograph. Generate several candidates, choose the version with the cleanest silhouette, then reduce the displacement range before sending it to a CAM workflow. Add a border and flatten the back in the 3D application so the toolpath has a stable base.

The map is a starting point, not a finished toolpath. Check minimum feature size, cutter diameter, material grain, and the physical depth your machine can reproduce.

Workshop tools and material for CNC relief making

Illustrative workflow image for this guide.

Improve the result in the target application

  • Use levels or curves to reserve enough midtone range for rounded forms.
  • Blur isolated speckles instead of increasing global smoothing too far.
  • Invert the map if your software interprets black as high.
  • Test a small preview before committing to a full-size print or cut.
  • Keep the original image and generated candidates so you can iterate without starting over.