Skip to content

Our paper "Directional Texture Editing for 3D Models" has been accepted by Computer Graphics Forum (CGF), 2024

License

Notifications You must be signed in to change notification settings

shengqiliu1/ITEM3D

Repository files navigation

Directional Texture Editing for 3D Models

Computer Graphics Forum (CGF), 2024

Introduction

This repository contains the official implementation of Directional Texture Editing for 3D Models(ITEM3D). Our ITEM3D model presents an efficient solution to the challenging task of texture editing for 3D models. By leveraging the knowledge from diffusion models, ITEM3D is capable to optimize the texture and environment map under the guidance of text prompts. More results can be viewed on our Project Page.

Installation

Create the environment by conda.

conda create -n item3d python=3.9
conda activate item3d
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html
pip install ninja imageio PyOpenGL glfw xatlas gdown
pip install git+https://github.com/NVlabs/nvdiffrast/
pip install --global-option="--no-networks" git+https://github.com/NVlabs/tiny-cuda-nn#subdirectory=bindings/torch
imageio_download_bin freeimage
pip install -r requirements.txt

Demo

In this section, we present an example to edting 3D model. First, generate the mlp texture.

sh run/texture.sh

Then, edit 3D model's texuture.

sh run/direction_edit.sh

Acknowledgement

Thanks to NVdiffrec, Stable-DreamFusion and Fantasia3D, our code is partially borrowing from them.

Citation

If you find our work useful, please consider citing:

@article{https://doi.org/10.1111/cgf.15196,
author = {Liu, Shengqi and Chen, Zhuo and Gao, Jingnan and Yan, Yichao and Zhu, Wenhan and Lyu, Jiangjing and Yang, Xiaokang},
title = {Directional Texture Editing for 3D Models},
journal = {Computer Graphics Forum},
volume = {43},
number = {6},
pages = {e15196},
doi = {https://doi.org/10.1111/cgf.15196},
url = {https://onlinelibrary.wiley.com/doi/abs/10.1111/cgf.15196},
eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1111/cgf.15196},
year = {2024}
}

About

Our paper "Directional Texture Editing for 3D Models" has been accepted by Computer Graphics Forum (CGF), 2024

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published