-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
39 lines (34 loc) · 1.24 KB
/
main.py
File metadata and controls
39 lines (34 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import logging
from blender_runner import BlenderRunner
logging.basicConfig(level=logging.INFO)
def main():
runner = BlenderRunner()
runner.postprocess(
base_state_mesh_path="data/IMG2025021_2025-04-06_13-10-15-299_reconstruct.obj",
eyes_full_mesh_path="data/IMG2025021_2025-04-06_13-10-15-299_reconstruct_eyes_full.obj",
eyes_half_mesh_path="data/IMG2025021_2025-04-06_13-10-15-299_reconstruct_eyes_half.obj",
emotion_meshes_paths=[
"data/Blink.obj",
"data/Sad.obj",
"data/Smile.obj",
"data/Lipsync_agk.obj",
"data/Lipsync_bm.obj",
"data/Lipsync_dtn.obj",
"data/Lipsync_e.obj",
"data/Lipsync_ii.obj",
"data/Lipsync_l.obj",
"data/Lipsync_okh.obj",
"data/Lipsync_r.obj",
"data/Lipsync_u.obj",
"data/Lipsync_vf.obj",
"data/Lipsync_zc.obj",
"data/Lipsync_zhchshsht.obj",
"data/Postmorph.obj",
"data/Happy.obj",
],
texture_path="data/processed_texture.png",
eyes_texture_path="data/processed_eye_texture.png",
output_file_path="results/result.fbx",
)
if __name__ == "__main__":
main()