Browse Source

设置photo3不参与建模

master
youwater 2 years ago
parent
commit
fd11d0b122
  1. 4
      main_step1.py

4
main_step1.py

@ -81,6 +81,10 @@ def detect_markers(psid, pid):
if filename.endswith('_8.xmp'): if filename.endswith('_8.xmp'):
# photo3 exist, 设置photo2的xmp文件,不参与贴图 # photo3 exist, 设置photo2的xmp文件,不参与贴图
libs.set_photo_join_type(config.workdir, pid, 'photo2', filename.split('_')[0], mesh='1', texture='0') 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 cal_reconstruction_region(psid, pid):
def fix_region(): def fix_region():

Loading…
Cancel
Save