Skip to content

Chaosinism/NormalMapTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

NormalMapTool

Script: Convert a Normal Map to a Height (Displacement) Map

Dependencies: Python3, Numpy, Scipy

Usage:

python N2H.py [Number of iterations] [NormalMapFile] [MaskFile (optional)]
  • Number of iterations: An integer, increasing the precision of generated height map, while requiring more execution time.

  • NormalMapFile: A PNG or JPG image

  • MaskFile: A PNG or JPG image, optional. If not provided, the script generates a mask based on the alpha channel of the normal map.

Description:

This is an unofficial implementation of the methods proposed in the following paper:

Hudon, Matis, et al. "Augmenting Hand-Drawn Art with Global Illumination Effects through Surface Inflation." European Conference on Visual Media Production. 2019.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages