Skip to content

bulutonur/NormalMapGenerator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Normal Map Generator

Normal Map Generator is a tool written in Python

Required

  • Python 3
  • numpy
  • matplotlib
  • Pillow
  • scipy
  • opencv-python

See requirements.txt

Usage

Add images ending with _albedo.png or _albedo.jpg to input_folder. For example:

input_folder/bricks_albedo.png

input_folder/bricks_albedo.jpg

python3 normal_map_generator.py input_folder --smooth SMOOTH_VALUE --intensity INTENSITY_VALUE

input_folder

input images folder path

Optional arguments:

-h, --help

Show help message

-sm SMOOTH_VALUE, --smooth SMOOTH_VALUE

Smooth gaussian blur applied on the image.

For example: 0.0

-it INTENSITY_VALUE, --intensity INTENSITY_VALUE

Intensity of the normal map

For example: 4.0

-sz SIZE, --size SIZE

Size of texture. For example : 512

If size is not defined, it will be original size of albedo textures.

About

Normal Map Generator using python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.6%
  • Shell 1.4%