Beispiel #1
0
def _run_load(mesh_data, boundsInfo, texture_data, modelslug):
    with base.print_exc_onerror():
        return open3dhub.load_into_bamfile(mesh_data, boundsInfo, {'atlas.jpg': texture_data}, modelslug)
def _run(atlas_hash, levelinfo, modelslug):
    with base.print_exc_onerror():
        texture_data = open3dhub.hashfetch(atlas_hash, httprange=(levelinfo['offset'], levelinfo['length']))
        return open3dhub.load_into_bamfile(None, None, texture_data, modelslug)