Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrglaster/normalmapsgenerator
Python scripts generating normal map(s) for texture(s)
https://github.com/mrglaster/normalmapsgenerator
converter games generator maker normalmap texture
Last synced: about 1 month ago
JSON representation
Python scripts generating normal map(s) for texture(s)
- Host: GitHub
- URL: https://github.com/mrglaster/normalmapsgenerator
- Owner: mrglaster
- Created: 2022-02-02T12:07:36.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-09T09:44:50.000Z (over 2 years ago)
- Last Synced: 2023-04-20T10:05:53.411Z (over 1 year ago)
- Topics: converter, games, generator, maker, normalmap, texture
- Language: Python
- Homepage:
- Size: 24.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NormalMapsGenerator
Python scripts generating normal map(s) for texture(s)## Example results
![Иллюстрация к проекту](https://github.com/mrglaster/NormalMapsGenerator/blob/master/example_result.png)
## Usage
### Step 1: Install required libraries
```
pip install requirements.txt
```or
```
pip install numpy==1.22.1
pip install onnx==1.10.2
pip install onnxoptimizer==0.2.6
pip install onnxruntime==1.10.0
pip install Pillow==9.0.0```
### Step 2: run the python script:
```
python nmaps_maker.py --input my_image.png --overlap small
```## Command-line arguments:
``` -input ``` path to image or folder with images. List of supported image formats you can finde here: https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html
``` --overlap ``` overlap parameter of result normal map. allowed values: ``` small, medium, large```
## Links
Project uses code and AI model of DeepBump tool by HugoTini. Link to repository: https://github.com/HugoTini/DeepBump