设置photo3不参与建模

This commit is contained in:
youwater committed 2023-10-10 11:53:02 +08:00
1 parent 3f8cef7b1d
commit fd11d0b122
1 file changed
+4
+4
View File
@@ -81,6 +81,10 @@ def detect_markers(psid, pid):
if filename.endswith('_8.xmp'):
# photo3 exist, 设置photo2的xmp文件,不参与贴图
libs.set_photo_join_type(config.workdir, pid, 'photo2', filename.split('_')[0], mesh='1', texture='0')
for filename in os.listdir(os.path.join(config.workdir, pid, 'photo3')):
if filename.endswith('_8.xmp'):
# photo3 exist, 设置photo3的xmp文件,不参与建模
libs.set_photo_join_type(config.workdir, pid, 'photo3', filename.split('_')[0], mesh='0', texture='1')
def cal_reconstruction_region(psid, pid):
def fix_region():