Skip to content

Instantly share code, notes, and snippets.

@aryelgois
Created May 12, 2021 01:29
Show Gist options
  • Save aryelgois/51f09812b23244cb0abba3360794ff21 to your computer and use it in GitHub Desktop.
Save aryelgois/51f09812b23244cb0abba3360794ff21 to your computer and use it in GitHub Desktop.
Convert .glb to .usdz with docker
#!/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"
@aryelgois
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment