This is the source code for gltf2usdz.online, a web app that converts glTF/glb files to USDZ. It was created to provide a simple way to convert glTF files to USDZ for use in AR Quick Look on iOS.
It is preferable to develop inside a devcontainer so you don't have to install usd_from_gltf on your local machine. So, this project has a devcontainer.json
file and you can open it in Visual Studio Code and click on "Reopen in Container" to start developing.
Made with:
Acknowledgments:
- marlon360 for providing the docker image for usd_from_gltf.
- shadcn/ui and aceternity UI for providing beautiful UI components.
To install the dependencies, run:
bun install
To start the server, navigate to the server directory and run:
bun run dev
For frontend development, navigate to the client directory and run:
bun run dev
There's a Docker image for the project available at Docker Hub.
To run it on your machine, ensure Docker is installed and run the command:
docker run -it -p 4000:4000 arthurrmp/gltf2usdz-online
After that, you will be able to access the project at http://localhost:4000. All processing will happen locally.
You can also deploy it to any cloud provider.