Update obj2tiles, fix lat/lon/alt

pull/1603/head
Piero Toffanin 2023-02-14 09:58:24 -05:00
rodzic f72e9cc259
commit 0d6d2e6631
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
set(_proj_name obj2tiles)
set(_SB_BINARY_DIR "${SB_BINARY_DIR}/${_proj_name}")
set(OBJ2TILES_VERSION v1.0.7)
set(OBJ2TILES_VERSION v1.0.11)
set(OBJ2TILES_EXT "")
set(OBJ2TILES_ARCH "Linux64")

Wyświetl plik

@ -64,7 +64,7 @@ def build_textured_model(input_obj, output_path, reference_lla = None, model_bou
'lon': lon,
'alt': alt,
}
system.run('Obj2Tiles "{input}" "{output}" --divisions {divisions} '.format(**kwargs))
system.run('Obj2Tiles "{input}" "{output}" --divisions {divisions} --lat {lat} --lon {lon} --alt {alt} '.format(**kwargs))
except Exception as e:
log.ODM_WARNING("Cannot build 3D tiles textured model: %s" % str(e))