yfeng95 / DECA

DECA: Detailed Expression Capture and Animation (SIGGRAPH 2021)
Other
2.15k stars 427 forks source link

Rendering #123

Open shanshan111111 opened 2 years ago

shanshan111111 commented 2 years ago

I've just started learning,Why my 3D models only have faces rendered?What code does this have to do with?If anyone can provide an answer thank you very much. 1650028946(1)

wandeder commented 2 years ago

I have this problem, too. I use --useTex True --extractTex False, but it don’t work. Can you help me?

Снимок экрана 2022-08-17 в 11 15 04

.

815056753qqcom commented 2 years ago

change config decalib\utils\config.py

cfg.model.tex_type = 'FLAME' and cfg.model.flame_tex_path = os.path.join(cfg.deca_dir, 'data', 'FLAME_texture.npz')

FLAME_texture.npz download from https://flame.is.tue.mpg.de/index.html

wandeder commented 2 years ago

change config decalib\utils\config.py

cfg.model.tex_type = 'FLAME' and cfg.model.flame_tex_path = os.path.join(cfg.deca_dir, 'data', 'FLAME_texture.npz')

FLAME_texture.npz download from https://flame.is.tue.mpg.de/index.html

Great, it’s work! Thank you! And, can you say, how rendering hair on the 3D-model in demo-version?

815056753qqcom commented 2 years ago

change config decalib\utils\config.py cfg.model.tex_type = 'FLAME' and cfg.model.flame_tex_path = os.path.join(cfg.deca_dir, 'data', 'FLAME_texture.npz') FLAME_texture.npz download from https://flame.is.tue.mpg.de/index.html

Great, it’s work! Thank you! And, can you say, how rendering hair on the 3D-model in demo-version?

haha,I don't know about 3D models. I'm a python developer 203EC177

charleswg commented 2 years ago

The FLAME texture is 512 right? Any success to export a 512 x 512 uv file apart from changing the 256x256 mask files, FLAME texture forward without interpolate to 256x256 etc.?

chengzihua commented 2 years ago

change config decalib\utils\config.py

cfg.model.tex_type = 'FLAME' and cfg.model.flame_tex_path = os.path.join(cfg.deca_dir, 'data', 'FLAME_texture.npz')

FLAME_texture.npz download from https://flame.is.tue.mpg.de/index.html

Where to download the FLAME_texture.npz file, why can't I find the link

wandeder commented 2 years ago

change config decalib\utils\config.py cfg.model.tex_type = 'FLAME' and cfg.model.flame_tex_path = os.path.join(cfg.deca_dir, 'data', 'FLAME_texture.npz') FLAME_texture.npz download from https://flame.is.tue.mpg.de/index.html

Where to download the FLAME_texture.npz file, why can't I find the link

You need to sing in (or registration) and on page "Download" you find the link.

chengzihua commented 2 years ago

change config decalib\utils\config.py cfg.model.tex_type = 'FLAME' and cfg.model.flame_tex_path = os.path.join(cfg.deca_dir, 'data', 'FLAME_texture.npz') FLAME_texture.npz download from https://flame.is.tue.mpg.de/index.html

Where to download the FLAME_texture.npz file, why can't I find the link

You need to sing in (or registration) and on page "Download" you find the link. I know. I sign in,but I didn't find “FLAME_texture.npz” in the models download module, I don't know which link you downloaded from which model

wandeder commented 2 years ago

change config decalib\utils\config.py cfg.model.tex_type = 'FLAME' and cfg.model.flame_tex_path = os.path.join(cfg.deca_dir, 'data', 'FLAME_texture.npz') FLAME_texture.npz download from https://flame.is.tue.mpg.de/index.html

Where to download the FLAME_texture.npz file, why can't I find the link

You need to sing in (or registration) and on page "Download" you find the link. I know. I sign in,but I didn't find “FLAME_texture.npz” in the models download module, I don't know which link you downloaded from which model

You need to download model "FLAME texture space", of course.