Questions tagged [arquicklook]

28 questions
12
votes
2 answers

iOS: Issue with lightning in USDZ file

I am trying to show an AR content with QLPreviewController. Everything works fine except the lighting. If I preview the file using Xcode or macOS's quick look the lighting is natural, but when I preview it using QLPreviewController the object is too…
iOS.Lover
  • 5,923
  • 21
  • 90
  • 162
5
votes
1 answer

Tell if a user’s browser supports USDZ or Reality Composer file formats

I have created some files in the "reality" format using Apple’s Reality Composer app for iOS. I had a difficult time figuring out how to implement it on the web. After looking at some webpages that include USDZ files on them, I finally put this into…
3
votes
1 answer

Disable AR Object occlusion in QLPreviewController

I'm using QLPreviewController to show AR content. With the newer iPhones with LIDAR it seems that object occlusion is enabled by default. Is there any way to disable object occlusion in the QLVideoController without having to build a custom ARKit…
Steven B.
  • 1,429
  • 2
  • 19
  • 38
3
votes
1 answer

Placing objects below the ground in AR Quick Look on iOS

I am working on a project that will display objects below the ground using AR Quick Look. However, the AR mode seems to bring everything above the ground based on the bounding box of the objects in the scene. I have tried using the USDZ directly and…
hasandogu
  • 65
  • 1
  • 7
2
votes
1 answer

How can I move a ModelEntity along the Y-axis using gesture?

Following this documentation, I have not understood if there is an easy way to move a ModelEntity along the Y-axis. The reason I expected this is that in ARQuickLook this functionality works together with the .scale and .rotate functions, also…
2
votes
0 answers

AR Quick Look in SwiftUI

I´m trying to use AR Quick Look in SwiftUI. I don't find any tutorial - only tutorials about AR Quick Look and UIKit. I new to Swift Development so I don't know exactly how to place UIKit views inside SwiftUI views. Here the code with UIKit I want…
Andx
  • 51
  • 4
2
votes
1 answer

ARKit – ARCoachingOverlayView Spanish localization

Is there a way to use Spanish localization instead of English in ARCoachingOverlayView? let overlay = ARCoachingOverlayView() overlay.delegate = self // ARCoachingOverlayViewDelegate? overlay.activatesAutomatically =…
Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
2
votes
1 answer

Is model selection & customization in AR Quick Look possible?

Currently AR Quick Look allows loading 1 usdz or 1 reality file. Is there any existing / planned functionality that would allow within AR Quick Look: customization of the loaded model (i.e. changing the textures) selection from a collection of…
Calin Ciobanu
  • 53
  • 1
  • 6
1
vote
1 answer

Show dynamically changed text from RealtyKit entity in a QLPreviewController

There is a good question and answer here about dynamically changing text of an entity in a Reality Composer scene. Is there a way to do the same but show it in a QLPreviewController rather than an ARView? Here is code for loading a previewItem…
D. Rothschild
  • 659
  • 9
  • 14
1
vote
0 answers

RealityKit: How to drag a model to a different plane(like ARQuickLook)

When the user drags the ModelEntity, the ModelEntity can switch planes. Look at this function This is my code github-link, but don't know what to do next. @objc func handleGesture(_ gesture: UIGestureRecognizer){ guard let boxEntity =…
MetaFrank
  • 11
  • 3
1
vote
1 answer

Change USDZ model in ARQuickLook

I am working on an iOS shopping app that has the AR feature. Users can preview the products in AR using the iOS Quicklook. AR models are the usdz files. Due to app/design requirements, I had to add custom views on Quicklook screen. Users should be…
gstream
  • 525
  • 6
  • 18
1
vote
1 answer

Improve load time of large `.reality` files

So I have a large (138mb) reality file that I want to user to be able to interact with via Safari quick view. So I have done the following: now obviously since its such a large file…
Smokey Dawson
  • 8,827
  • 19
  • 77
  • 152
1
vote
3 answers

AR Quick look "object could not be opened"

When I click the AR quick look icon on my website it doesn’t show the 3d model and I get the message “object could not be opened”. The USDZ is currently hosted in a google bucket. Could the problem be with the way im hosting the USDZ? If so is…
michaelm682
  • 11
  • 1
  • 3
0
votes
0 answers

Accessing 3d content file hosted in a protected folder via Apple Quick Loop for AR in Safari-iOS

In order to keep my Quick Look AR webapp out of public ambit along its development cycle, I've opted for hosting it in a protected folder. The point is that, although under this approach Quick Look refuses to open the 3d content (USDZ/reality file),…
MAML
  • 83
  • 7
0
votes
0 answers

Add remote USDZ file to local RealityKit .rcproject file and display in QLPreviewController

I'm using AR Quick Look. I have a Reality Composer scene (.rcproject) in my project. I'd like to add a variety of entities to the .rcproject, define triggers and actions AND add a USDZ file from a file at run time. I can load a remote USDZ file…
D. Rothschild
  • 659
  • 9
  • 14
1
2