joeyballentine/Material-Map-Generator
소개
Easily create AI generated Normal maps, Displacement maps, and Roughness maps.
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalMaterial Map Generator
Easily create AI generated Normal maps, Displacement maps, and Roughness maps.
| Input | Output | Output | Output |
|---|---|---|---|
| Diffuse Texture | Normal Map | Displacement Map | Roughness Map |
![]() |
![]() |
![]() |
![]() |
Before you begin, make sure you have numpy, opencv-python, and pytorch installed (pip install torch --index-url https://download.pytorch.org/whl/cu117).
To run, put images in the input folder, and type python generate.py. Output images will then be placed in the output folder, with the type of map appended to the file name.
To run on CPU instead of GPU (not recommended) use the --cpu flag.
If you run out of VRAM while generating the maps, try decreasing the tile size by using the --tile_size flag. --tile size 512 is the default. You can also increase this if your GPU has a lot of VRAM.
To avoid seams and other artifacts that can be created, there are 3 optional flags included: --seamless, --mirror, and --replicate for creating different kinds of seamlessness or padding.
To create material maps in the format used by Ishiiruka Dolphin, use the --ishiiruka flag. These can then be converted using Ishiiruka's texture tool. If you want to skip having to use the texture tool, you can use the --ishiiruka_texture_tool flag instead, and it will generate the textures in that format instead.
Thanks to Xinntao for the ESRGAN architecture used to train these models. The included models are lighter than regular ones and therefore require less VRAM to process the images with.
관련 프로젝트 살펴보기
불러오는 중…



