Fixed scaling not working in iOS AR QuickLook when auto generating USDZ #3510
Replies: 11 comments
-
Yes, I believe this is because Safari does not handle query params on Blob URLs. I believe this means the whole Quick Look API is killed off, which is unfortunate. Please file a bug on Apple. |
Beta Was this translation helpful? Give feedback.
-
ok I get it but why does it work when specifying a Usdz file? Isn't it passing a parameter there as well? |
Beta Was this translation helpful? Give feedback.
-
In that case it's passing a normal string URL, on which query params work. When we auto-generate, we have to pass a Blob, which is where their bug is. |
Beta Was this translation helpful? Give feedback.
-
Ah ok gotcha! Thanks for the explanation! |
Beta Was this translation helpful? Give feedback.
-
Thanks for pointing this issue. http://tests.glowka.atthost24.pl/ - a small test with ar-scale set to fix, where the problem can be seen. |
Beta Was this translation helpful? Give feedback.
-
Happened to me too. Took me a while to realize |
Beta Was this translation helpful? Give feedback.
-
This, or do not attach it to usdz blob for now. |
Beta Was this translation helpful? Give feedback.
-
Indeed, I can repro. Actually I had a similar experience when I loaded https://modelviewer.dev/examples/scenegraph/#variants the first time in Quick Look (it took ages, but did eventually work), but the second time it was fast (that one does not have |
Beta Was this translation helpful? Give feedback.
-
Thanks |
Beta Was this translation helpful? Give feedback.
-
@grorg Here's a QuickLook issue for you, and it even has a webkit bug! For everyone else, @grorg works at Apple and said he'd love to be notified of any Apple-related problems we have (thank you!), so please feel free to @ mention him. |
Beta Was this translation helpful? Give feedback.
-
Fixed scaling when using auto USDZ now works in Safari iOS 15.5 |
Beta Was this translation helpful? Give feedback.
-
Description
Auto-generated USDZ is amazingly awesome. Thanks for all the work that has gone into that @elalish, @kolodi, @mrdoob !
While testing out this feature, it appears that setting
ar-scale="fixed"
in conjunction with using auto-generated USDZ, is no longer forcing the scaling to be fixed in QuickLook. The user is able to scale the object.When not using auto generation and providing an
ios-src
USDZ path and settingar-scale="fixed"
, this still works, and the user is unable to scale object in QuickLook.Live Demo
https://muddy-pinnate-rutabaga.glitch.me/
Version
Browser Affected
OS
AR
Beta Was this translation helpful? Give feedback.
All reactions