Created
May 12, 2021 01:29
-
-
Save aryelgois/51f09812b23244cb0abba3360794ff21 to your computer and use it in GitHub Desktop.
Convert .glb to .usdz with docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -eu | |
cd "$(dirname "$1")" | |
input=$(basename "$1") | |
output=${input%.glb}.usdz | |
exec docker run -it --rm \ | |
-v "$PWD":/usr/app \ | |
marlon360/usd-from-gltf:latest \ | |
"$input" "$output" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Image: https://hub.docker.com/r/marlon360/gltf-to-usdz-service
Github: marlon360/gltf-to-usdz-service