Skip to content

HugoTini/DeepBump

Repository files navigation


DeepBump

DeepBump is a machine-learning driven tool to generate normal & height maps from single pictures. See this blog post for an introduction.

Installation

  1. Download DeepBump as a ZIP.

  2. In Blender, go to Edit -> Preferences -> Add-ons -> Top right arrow -> Install from disk and select the downloaded ZIP file. Then enable the add-on.

  3. In the add-on preference, click the 'Install dependencies' button (this requires an internet connection and might take a while). In case of error, try running Blender as administrator for this step.

By installing those dependencies, be aware of Microsoft conditions. This add-on uses available APIs to disable telemetry.

Usage

Check the blog post first video.

In the Shader Editor, in the side bar under the DeepBump tab:


Tools

Color (albedo) → Normals

Select a color image node in the shader editor, then click Generate Normal Map.

Normals → Height (displacement)

Select the generated normal map image node in the shader editor, then click Generate Height Map.

Normals → Curvature

Select the generated normal map image node in the shader editor, then click Generate Curvature Map.

Low res -> High res (upscale)

Select a color image node in the shader editor, then click Upscale.


Command line

For command-line usage, see cli.md.

License

This repo is under the GPL license. The training code is currently not available.