aws-samples / aws-iot-twinmaker-samples

Apache License 2.0
97 stars 77 forks source link

add model converter utils #22

Closed panjintian closed 2 years ago

panjintian commented 2 years ago

Issue #, if available: Matterport model cannot be directly displayed in the scene composer.

Description of changes: Add script to support matterport model converting. The script is doing the following things.

1. Pull model related data and files(i.e. metadata, jpg file, .obj file) from matterport and convert it to glb file.
 Meanwhile, calling TwinMaker API to create scene for the converted model.
  1. Generate scene files for the converted model
  2. Upload model file(.glb), scene file(.json) and material files .jpg to customer s3 bucket.
  3. Output the TwinMaker scene console link.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.