NI-Tex introduces a novel approach to non-isometric garment texture generation by utilizing a physically simulated dataset, 3D Garment Videos, which provides consistent geometry and material supervision across diverse deformations. The method employs Nano Banana for high-quality non-isometric image editing, enabling reliable cross-topology texture generation. Additionally, an iterative baking process guided by uncertainty-driven view selection merges multi-view predictions into seamless, production-ready PBR textures. This results in versatile, spatially aligned garment materials, advancing industry-level 3D garment design. πππ
git clone --recursive https://github.com/SII-Hui/NI-Tex.git
cd NI-Tex
conda env create -f environment.yml
conda activate NI-Tex
pip install basicsr==1.4.2 gfpgan==1.3.8 realesrgan==0.3.0 --no-deps
pip install torch-scatter torch-sparse torch-cluster torch-spline-conv torch-geometric -f https://data.pyg.org/whl/torch-2.5.1+cu124.html
pip install custom_rasterizer/.
You need to manually download the RealESRGAN weight to the ckpt folder using the following command:
wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ckpt
Download the pre-trained weights from Hugging Face: NI-Tex and place them in the ./MODEL_CHECKPOINTS/ directory.
To get started quickly, place your custom data into a newly created folder under the asset/cases directory. Please ensure your files follow this specific naming convention:
mesh.glb.image_prompt.png.π Example Directory Structure:
asset/
βββ cases/
βββ your_custom_folder/
βββ mesh.glb
βββ image_prompt.png
βοΈ Configuration & Tuning:
--orth_scale: Controls the Stage 1 object size, which directly affects Stage 2 multi-view generation. Fine-tune this value for optimal results.resume_from (in inference.yml): We recommend MODEL_CHECKPOINTS/step_100K.ckpt for most cases. Use step_200K.ckpt for extreme or challenging inputs.cd NI-Tex
python inference.py --name "GeneratedMesh_shirt" --base cfgs/inference.yml --orth_scale 1.35 --output_dir InferenceResults/
Our dataset rendering pipeline is inspired by MaterialAnything, utilizing assets from Objaverse π, Texverse π, and BEDLAM π.
We edited the BEDLAM data using Nano Banana π and rendered this massive dataset via Blender Python across a cluster of 48 RTX 4090 GPUs π₯οΈ.
To support future research, we plan to open-source our entire training dataset at Hugging Face: NI-Tex Dataset(to our knowledge, the first of its kind). As data preparation takes time, we will release it in the following order:
Bedlam_edited_by_NanoBanana β¨BEDLAM (Rendered) πTexverse (Rendered) πObjaverse (Rendered) πpython train.py --base cfgs/hunyuan-paint-pbr.yaml --name overfit --logdir training_logs/ --gpus 0,



We have intensively borrow codes and dataset from the following repositories. Many thanks to the authors for sharing.
If you find this repository useful in your project, please cite the following work. :)
@article{shan2025ni,
title={NI-Tex: Non-isometric Image-based Garment Texture Generation},
author={Shan, Hui and Li, Ming and Yang, Haitao and Zheng, Kai and Zheng, Sizhe and Fu, Yanwei and Huang, Xiangru},
journal={arXiv preprint arXiv:2511.18765},
year={2025}
}
17 commits
Python
85.4%
C++
12.6%
Cuda
1.8%
NI-Tex introduces a novel approach to non-isometric garment texture generation by utilizing a physically simulated dataset, 3D Garment Videos, which provides consistent geometry and material supervision across diverse deformations. The method employs Nano Banana for high-quality non-isometric image editing, enabling reliable cross-topology texture generation. Additionally, an iterative baking process guided by uncertainty-driven view selection merges multi-view predictions into seamless, production-ready PBR textures. This results in versatile, spatially aligned garment materials, advancing industry-level 3D garment design. πππ
git clone --recursive https://github.com/SII-Hui/NI-Tex.git
cd NI-Tex
conda env create -f environment.yml
conda activate NI-Tex
pip install basicsr==1.4.2 gfpgan==1.3.8 realesrgan==0.3.0 --no-deps
pip install torch-scatter torch-sparse torch-cluster torch-spline-conv torch-geometric -f https://data.pyg.org/whl/torch-2.5.1+cu124.html
pip install custom_rasterizer/.
You need to manually download the RealESRGAN weight to the ckpt folder using the following command:
wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ckpt
Download the pre-trained weights from Hugging Face: NI-Tex and place them in the ./MODEL_CHECKPOINTS/ directory.
To get started quickly, place your custom data into a newly created folder under the asset/cases directory. Please ensure your files follow this specific naming convention:
mesh.glb.image_prompt.png.π Example Directory Structure:
asset/
βββ cases/
βββ your_custom_folder/
βββ mesh.glb
βββ image_prompt.png
βοΈ Configuration & Tuning:
--orth_scale: Controls the Stage 1 object size, which directly affects Stage 2 multi-view generation. Fine-tune this value for optimal results.resume_from (in inference.yml): We recommend MODEL_CHECKPOINTS/step_100K.ckpt for most cases. Use step_200K.ckpt for extreme or challenging inputs.cd NI-Tex
python inference.py --name "GeneratedMesh_shirt" --base cfgs/inference.yml --orth_scale 1.35 --output_dir InferenceResults/
Our dataset rendering pipeline is inspired by MaterialAnything, utilizing assets from Objaverse π, Texverse π, and BEDLAM π.
We edited the BEDLAM data using Nano Banana π and rendered this massive dataset via Blender Python across a cluster of 48 RTX 4090 GPUs π₯οΈ.
To support future research, we plan to open-source our entire training dataset at Hugging Face: NI-Tex Dataset(to our knowledge, the first of its kind). As data preparation takes time, we will release it in the following order:
Bedlam_edited_by_NanoBanana β¨BEDLAM (Rendered) πTexverse (Rendered) πObjaverse (Rendered) πpython train.py --base cfgs/hunyuan-paint-pbr.yaml --name overfit --logdir training_logs/ --gpus 0,



We have intensively borrow codes and dataset from the following repositories. Many thanks to the authors for sharing.
If you find this repository useful in your project, please cite the following work. :)
@article{shan2025ni,
title={NI-Tex: Non-isometric Image-based Garment Texture Generation},
author={Shan, Hui and Li, Ming and Yang, Haitao and Zheng, Kai and Zheng, Sizhe and Fu, Yanwei and Huang, Xiangru},
journal={arXiv preprint arXiv:2511.18765},
year={2025}
}
17 commits
Python
85.4%
C++
12.6%
Cuda
1.8%