google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.68k stars 799 forks source link

Launching quicklook by default? #4801

Closed yosun closed 2 weeks ago

yosun commented 3 weeks ago

Is it possible to launch quicklook by default upon loading modelviewer?

danilokrulj commented 3 weeks ago

1| Do you mean launch quicklook instead of another viewer? 2| Or do you mean launch quicklook without user interaction (clicking AR button)?

1) QuickLook is the only viewer for iOS at the moment if I am not mistaken, so its the only option for those devices and can't be used on Android devices.

2) I wanted to have this functionality too, but I was told that user interaction is a must, so I guess the answer to this question is also no. But if I remember correctly I did manage to get it working only on iOS (quicklook) but since I couldn't get it to work on Android I gave up on that functionality.

https://github.com/google/model-viewer/discussions/4199

yosun commented 3 weeks ago

hmm what about launching just usdz conversion

danilokrulj commented 3 weeks ago

I'm not really sure I understand. You can find usdz conversion code from the three.js library if that's what you need. From what I know, model-viewer uses threes usdz conversion function.