gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
31.84k stars 2.37k forks source link

Add support for .usdz files in `Model3D` #7731

Open hannahblair opened 5 months ago

hannahblair commented 5 months ago

If we add support for .usdz files in the Model3D component, users will be able to open their 3d models on the Apple Vision Pro 

Thanks to @yosun for the suggestion!

abidlabs commented 5 months ago

This would be really cool!

abidlabs commented 1 month ago

Was looking into this, but this doesn't seem very feasible given the large USD runtime (~15 MB). The format is just not a very web-friendly format, which is why neither Babylon.js nor Three.js have added support. https://github.com/mrdoob/three.js/issues/14219#issuecomment-530493271

Let's close this for now as its not actionable, unless you feel its helpful to keep open @hannahblair @dawoodkhan82

julien-c commented 1 month ago

modelviewer.dev (which we use on the hub) does have support, FWIW

julien-c commented 1 month ago

through three.js i think? https://github.com/mrdoob/three.js/issues/14219#issuecomment-1940961450

abidlabs commented 1 month ago

oh that's interesting, it seems like a lite version can run on the web. reopening!