Skip to content
DepthCarve

Fundamentals

Depth map vs height map: same grayscale, different promise

Both look like grayscale images, but a depth map measures distance from a camera while a height map defines elevation above a reference plane for CNC relief, laser engraving, or PBR displacement. DepthCarve previews and shapes depth free in the browser, with 1-credit 16-bit PNG + 32-bit EXR + watertight STL bundles from $12 (30 credits) or $39 (150 credits).

DepthCarve3 minute readProduct guide
Try the free preview

Start with an image or the sample. No account needed for the preview.

A CNC router carving a wooden relief portrait
Distance from a camera and elevation from a surface are different questions.Illustration, not a documented customer result.

Side-by-side: depth map vs height map vs DEM vs normal map (2026)

Before importing a grayscale image into Vectric Aspire, VCarve, LightBurn, Blender, or a 3D slicer, verify which geometric contract the file represents. DepthCarve outputs camera-relative depth for free previews and converts shaped reliefs into verified 16-bit heightmaps and watertight STLs in one production bundle.

Depth map vs height map vs GIS terrain DEM vs normal map comparison
Map TypeReference OriginBit Depth & ScaleCreates Physical Geometry?Best Workflow & DepthCarve Path
Depth map (monocular)Distance from camera lens along view raysRelative normalized or 16-bit / 32-bit float EXROnly after flattening background & setting base thicknessVFX bokeh/parallax, masks, and starting field for photo relief on DepthCarve
Height map (relief / PBR)Elevation perpendicular to a flat plane or UV surfaceTrue 16-bit PNG (65,536 levels) or 32-bit EXRYes — drives CNC Z-height, 3D fiber laser passes, and mesh displacementCNC plaques, coin relief, lithophanes; DepthCarve 1-credit production bundle ($0.26–$0.40/job)
GIS / DEM terrain mapReal-world sea level / geographic datum (meters)GeoTIFF / 32-bit float with CRS projectionYes — survey-accurate landscape terrainGeographic mapping and LiDAR topography (requires DEM survey data, not a photo)
Normal map (tangent RGB)Per-pixel XYZ surface tilt vector (no elevation)8-bit or 16-bit RGB (OpenGL +Y or DirectX -Y)No — fakes lighting highlights in real-time shaders onlyGame engines (Unity/Unreal/Blender); DepthCarve /normal-map-generator

Verified 2026 DepthCarve bundle pricing: $0 free browser shaping + preview exports; $12 Maker (30 credits, $0.40/job), $39 Shop (150 credits, $0.26/job), $29/mo Workshop (250 credits), or $99/mo Production (1,500 credits + API).

Try the workflow

Preview your image before spending a credit

Choose an image, inspect its source checks and preview, then test a free export. A production job is a separate approval that uses a credit; a preview is not a guarantee of a successful print or carve.

Live manufacturing workbench

Upload a photo. Preview the depth. Download your file.

Three free AI previews per day. Source checks, editing, 3D preview, and compatibility exports are free.

Sample relief depth preview

What happens to an ordinary photo (no login required):

Ordinary camera photograph before depth conversion
1. Ordinary photo
Smooth 16-bit AI grayscale heightmap without shadow artifacts
2. 16-bit depth map
Watertight 3D bas-relief STL mesh ready for CNC or printing
3. Watertight STL

Camera shadows get separated from true 3D height—ready for CNC ball-nose finishing, LightBurn 3D Sliced laser, or resin/FDM printing.

Choose a source image to begin.

A depth map belongs to a camera view

Each depth pixel corresponds to a pixel in the source view and estimates how far the visible surface is from the camera. Change the camera and the map changes because new surfaces appear, occlusions move, and distance relationships shift. Monocular AI usually returns relative or scale-ambiguous depth unless the model and calibration explicitly support metric output.

Depth maps are useful for depth of field, atmospheric effects, masks, parallax, view-conditioned reconstruction, and as a starting field for front-facing relief. They naturally encode the visible scene, including background distance. That same background can be undesirable when the goal is a shallow plaque, which is why range remapping and cropping are important.

A height map belongs to a surface or world plane

A height map assigns elevation above or below a reference plane. Terrain height maps may carry real geographic elevation and coordinates. PBR and displacement height maps describe surface relief in texture space. CNC height fields describe the shape to manufacture. None of those meanings requires a camera, although an image-derived field may be projected onto a plane.

A valid height map should match the downstream scale and boundary assumptions. A terrain generator needs geographic data, not estimated photographic depth. A tileable material needs edge continuity. A relief needs a stable base and manufacturable slope. Simply renaming a depth PNG does not meet those contracts, but remapping and constraining the field can make it a useful starting point.

Convert by defining the new reference

To use depth as relief height, first decide which visible surface becomes the low plane. Crop or flatten the background, set the useful near and far range, choose inversion, and map normalized values to a physical relief height. Add side walls and a bottom when a solid mesh is required. This creates a 2.5D object tied to the original view, not a complete sculpture.

To create PBR displacement, decide how the texture coordinates, neutral level, amplitude, and edges work. To create terrain, obtain a digital elevation source with the required projection and resolution. These are product decisions, not encoding tricks. A 16-bit file can carry the result more smoothly, but it does not decide what the values mean.

Choose the page that matches the actual job

Use the depth map generator when the source is a photo and the immediate need is camera-relative scene structure. Use the image-to-height-map page when the target is relief or displacement and you understand that the field is image-derived. Use a GIS heightmap tool for real-world terrain. Use the normal-map generator when the target needs surface orientation rather than distance or elevation.

Write the meaning beside the file: near-is-white or far-is-white, normalized or metric, camera-relative or surface-relative, dimensions, bit depth, and coordinate convention. This small record prevents a later team member from inferring the wrong contract based on a grayscale thumbnail. It also makes tests reproducible across tools and versions.

Before the file moves forward

Final checklist

  • The file's values are defined as camera distance or surface elevation.
  • Relative, normalized, or metric scale is stated explicitly.
  • Near/high direction and neutral level are documented.
  • The target needs photo depth, relief, PBR displacement, or true terrain data.
  • Boundaries, aspect ratio, and coordinate convention match the receiver.
  • Conversion decisions are recorded with the project file.

Straight answers

Questions this workflow raises

Can I use a depth map directly as a height map in CNC or 3D software?

Only after defining the surface reference: flatten or crop background distance, confirm whether white should represent high or low elevation, remap the useful range, and verify dimensions in your target tool.

Does an image-derived height map work for real-world GIS terrain?

No. A single photo contains camera-relative ordering without geographic coordinates or survey elevation, so real terrain models require DEM or LiDAR elevation data instead.

When should I choose a normal map instead of a height map?

Choose a normal map when a real-time shader only needs per-pixel lighting direction without moving mesh vertices, and choose a height map or STL when physical geometry or displacement must actually rise from a base.

Why does documenting white-is-near or white-is-high matter across tools?

Different compositors, slicers, and CAM packages assume opposite grayscale directions; recording the chosen polarity alongside bit depth and millimeter dimensions prevents inverted carves and wasted stock.

No-login product advisor · Grounded in live export specs

Questions before exporting? Get straight answers on 16-bit depth, CAM & billing

Why does true 16-bit PNG matter for CNC wood relief and fiber laser engraving?

Standard 8-bit grayscale has only 256 height steps, which produces visible stair-stepping bands across faces and shallow curves. One DepthCarve production credit decodes raw floating-point EXR depth into 65,536-level true 16-bit forward and inverse PNGs plus a verified watertight STL.