Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smth-for/gltf-to-usdz
https://github.com/smth-for/gltf-to-usdz
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/smth-for/gltf-to-usdz
- Owner: smth-for
- Created: 2021-11-05T10:03:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-20T14:18:23.000Z (4 months ago)
- Last Synced: 2024-08-21T15:53:08.523Z (4 months ago)
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GLTF to USDZ
## What's this repository about?
If you want to convert a `.gltf` file to an `.usdz` file you need a quite complex setup. This repository aims to simplify the whole conversion process by using a docker container.
We use the *usd_from_gltf* repository from Google [google/usd_from_gltf](https://github.com/google/usd_from_gltf) in conjunction with the *USD* repository from PixarAnimationStudios [PixarAnimationStudios/USD](https://github.com/PixarAnimationStudios/USD).
Since *USD* takes a long time to build, it has its own docker image (see `\usd`). You can find it on Docker Hub. https://hub.docker.com/r/smthfor/usdz
The *usd_from_gltf* tool can be found in `gltf-to-usdz` and is online at https://hub.docker.com/r/smthfor/gltf-to-usdz
There is also a version build with node installed, can be found in `gltf-to-usdz-node` and is online at https://hub.docker.com/r/smthfor/gltf-to-usdz-node
## How to run?
### CLI
Run the docker command:
`docker run -it --rm -v $PWD:/usr/app smthfor/gltf-to-usdz:latest inputfile.glb outputfile.usdz`