All guides

How to Carve a Photo Relief on a CNC

Choose photos, relief depth and bits for CNC carving. Learn which height map or STL to export for Aspire, Carveco or VCarve, plus finishing stepovers.

Depth Map Generator
A framed wooden relief of a man’s portrait

A photo carved in relief is one of the most asked-for CNC projects: a portrait, a pet or a family's house in walnut or maple. The work splits into two halves. The first is turning a flat photo into heights, which is what a depth map does. The second is carving those heights cleanly, which comes down to depth, bits and stepover.

Choose a photo for CNC carving

A carving shows shape, not color, so the photo has to have shape to give.

  • One clear subject. A face, a dog, a horse's head, a lighthouse. Busy scenes turn into texture.
  • Light from one side. Side light shows the form of a face; a flash straight on flattens it.
  • The subject large in the frame. Detail smaller than your finishing bit's tip will not survive, so a head that fills half the photo carves far better than a figure across a field.
  • Sharp where it matters. If the eyes are soft in the photo, they will be soft in the wood.

From photo to height map

A depth model estimates how far every part of the photo is from the camera. In Depth Map Generator that becomes a height map: near things high, far things low. Three settings shape it into something a carver would recognize:

  • Bas-relief lowers the jumps between near and far parts, so a nose does not tower over the cheeks and the background does not drop away like a cliff. Raise it for portraits.
  • Background drops what is behind the subject to a flat field, so the bit does not spend an hour carving a blurry wall.
  • Frame and lettering add a beveled, rounded or stepped border and a name or dates, as part of the same height map, so they carve in the same toolpaths.

AI relief, the default, sculpts faces, hair and fur crisply, which shows on larger plaques. An HD depth map, under Image, keeps the photo's measured distances instead.

Use the depth map editor to adjust the levels or retouch an existing grayscale map before carving.

Set the relief depth

About 6 mm (¼ in) of relief is a good start for a 5 × 7 in plaque in hardwood, on a base thick enough to stay flat. Deeper reliefs show more shape but need a longer bit, more passes and more time, and very steep walls catch shadows that hide detail. The height map stores shape, not depth, so you can set the final depth in your software.

Import the height map or STL into CAM

  • Aspire turns a grayscale image into a 3D component with Create Component from Bitmap. Use the 16-bit PNG, where white is highest. An 8-bit image has only 256 height steps and carves in visible terraces; 16 bits keeps the slopes smooth.
  • Carveco builds a relief from a grayscale image too (Relief › Import, or Create Relief from a bitmap layer), with the same 16-bit PNG.
  • VCarve, MeshCAM and other CAM take the STL. Depth Map Generator exports it at the size you set, in millimeters, as one closed mesh with a flat back.

In Depth Map Generator, pick Vectric · Carveco in Export for the PNG, or 3D printing for the STL; both come out at the size shown. If you already have a grayscale file and your CAM requires a mesh, convert your depth map to STL.

Bits and stepover

Two passes do most photo reliefs:

  1. Roughing with a ¼ in ball nose at about 40% stepover clears the bulk of the wood, leaving a little material for the finish.
  2. Finishing with a tapered ball nose (a 1/16 or 1/32 in tip) at 8–10% stepover. A smaller tip and a tighter stepover show more detail and need less sanding, at the cost of time; a raster along the grain usually leaves the cleanest surface.

Run a small test on an offcut of the same board before committing a large piece.

Wood and finish

Close-grained woods hold fine detail: maple, cherry and walnut, or basswood for practice. Open-grained oak and ash break up small features such as eyes. After carving, a light pass with a brass brush or fine abrasive pad cleans up fuzz without rounding the detail; an oil finish deepens the shadows that make a relief read.

Generate a depth map from a photo for the source height map, or make a CNC relief to set the carving depth and export for your CAM software.

Turn a photo into a depth map

Try a sample for free without signing in. Sign in to generate a map from your own photo.