question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fixed scaling not working in iOS AR QuickLook when auto generating USDZ

See original GitHub issue

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 setting ar-scale="fixed", this still works, and the user is unable to scale object in QuickLook.

Live Demo

https://muddy-pinnate-rutabaga.glitch.me/

Version

  • model-viewer: v1.7.1

Browser Affected

  • Chrome, version: xx.x.xxxx.xx
  • Edge
  • Firefox
  • IE
  • Safari

OS

  • Android
  • iOS
  • Linux
  • MacOS
  • Windows

AR

  • WebXR
  • SceneViewer
  • QuickLook

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
milesgreencommented, May 25, 2022

Fixed scaling when using auto USDZ now works in Safari iOS 15.5

1reaction
elalishcommented, Oct 18, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

USDZ in AR QuickLook flies on came…
I'm trying to use QuickLook AR to show a 3D ThreeJS model in AR on iOS. Exporting my 3D object to USDZ using...
Read more >
Memory issue when loading usdz files - ios
I'm using Apple's default .usdz samples (https://developer.apple.com/augmented-reality/quick-look/) and the robot file is around 13.5MB big.
Read more >
AR on Sketchfab
There are a few ways to view Sketchfab models in AR: Downloadable models can be viewed directly in AR on iOS by downloading...
Read more >
Easy web augmented reality with AR Quick Look
Built-in apps, such as Safari, Messages, Mail, News, and Notes, use Quick Look to display USDZ files of virtual objects in 3D or...
Read more >
Adventures in 3D — A Cinema 4d to iOS AR Quicklook / USDZ ...
I want to create a USDZ file for AR Quicklook on iOS using the 3D tool I ... a single root node for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found