Web AR Repository allows you to render your 3D GLB/USDZ models straight in your browser. To render your own models, follow the steps-
- Fork/Clone this repository.
- Upload your .glb or .usdz model in your GitHub repo.
- In index.html file, on line 12, you will notice the following lines-
<model-viewer src="Astronaut.glb"
ios-src="Astronaut.usdz"
- Replace Astronaut.glb / Astronaut.usdz with the name of your own .glb / .usdz model.
- Publish your website on GitHub Pages. To view the GitHub page for this repository, click here.
For a detailed tutorial, click here.