Post not yet marked as solved
I am thinking of a web application to scan an object using a LiDAR sensor from iPhone. It'll be built using some Javascript-based language preferably using ReactJS.
We want to use this website on the Safari browser only for handling performance. Is there any way to do that?
Post not yet marked as solved
Is the "new lighting" introduced in WWDC22 "Explore USD tools and rendering" implemented only in AR Quick Look or has it become an integral part of the SceneKit and RealityKit rendering engines?
Post not yet marked as solved
If you use SceneKit with ARKit, the AR scene uses the SceneKit renderer.
Should you use SCNScene.write() to create a USDZ file and then open the USDZ file with AR Quick Look, AR Quick Look renders the AR scene with the RealityKit renderer.
The ARKit-in-app -> USDZ -> AR Quick Look renderers are not the same and could produce different appearances.
Have you seen similar problems with SceneKit -> AR Quick Look rendering?
I am using such a pipeline with PBR lighting and have observed that the resulting differences in material properties are large. (The geometries are fine.) I have had to compensate by recreating the SCNScene materials with modified properties. The agreement between the app scene and the AR Quick Look scene is greatly improved but unfortunately still not acceptable for critical evaluation of commercial products in interior design.
Post not yet marked as solved
Hi,
I created a simple scene in Reality composer : just an animated 3D model plus a behaviour with trigger = scene start and action is both animate model and play ambiance sound.
It plays nicely in the editor.
I exported and it plays nicely on my ipad pro.
But on my iphone (ios 15.4.1), it's just muted.
I tested both with stereo and mono mp3.
What should I do please ?
Post not yet marked as solved
Hi, I have a strange problem with my exported reality composer scene. So i have composed a reality scene that is around 19mb with an animated character, two iphones, text prompts, and quite a few behaviors. When I export the project and share and use it on any of my devices(Iphone 12, X and older iPad) it works perfect. Whenever I share this same file with anyone else(tried friends and many models at apple store) the same bugs persist. Shadows are weird, but worst of all certain buttons(made from text prompts) that have a behavior attached to them are of incorrect size and don't behave correctly. I have tried exporting several times, from different devices, same result. Can anyone help?
Post not yet marked as solved
Hello, I am new to reality composer and AR, so i would like some advice.
I've added a hide, show, and wait trigger to my image planes via the Reality Composer tool on the Mac. Through this, I've created a fake 'frame by frame' animation. The animation plays smoothly in reality composer. However, when exported as a usdz file, the file only plays the animation in Mac's quick look but not when it is imported in Xcode. In Xcode, it just displays all my images and does not hide them. Does anyone have any idea how to fix this? Thanks!
tl;dr hide and show triggers created in reality composer does not play in xcode, why?
Post not yet marked as solved
I want to make a web-based augmented reality app on iOS devices, but can I place multiple 3D models in different locations in a single link, and how do I place them
Post not yet marked as solved
Hello, My problem is that I would like to have the first screen (the screen right before entering AR) removed from the AR Quick look. I want it to where when I open the USDZ, it goes straight into AR, and not show the screen before it, similar to how Apple does it when you want to view their iPhone 13 pro in AR.
Post not yet marked as solved
Hello, I struggling to integrate this code below in my Content View can someone give me help?
import UIKit
import QuickLook
import ARKit
class ViewController: UIViewController, QLPreviewControllerDataSource {
override func viewDidAppear(_ animated: Bool) {
let previewController = QLPreviewController()
previewController.dataSource = self
present(previewController, animated: true, completion: nil)
}
func numberOfPreviewItems(in controller: QLPreviewController) -> Int { return 1 }
func previewController(_ controller: QLPreviewController, previewItemAt index: Int) -> QLPreviewItem {
guard let path = Bundle.main.path(forResource: "myScene", ofType: "reality") else { fatalError("Couldn't find the supported input file.") }
let url = URL(fileURLWithPath: path)
return url as QLPreviewItem
}
}
Post not yet marked as solved
Hello, I want to implement AR quick look to my app. I' don't want to use UIKit but SwiftUI. In one of my views, I want to press a button named "preview" and then it should open the AR quick look. Have someone an idea how I can do that?
Sorry for that badly formatted code below.
import UIKit
import QuickLook
import ARKit
class ViewController: UIViewController, QLPreviewControllerDataSource {
override func viewDidAppear(_ animated: Bool) {
let previewController = QLPreviewController()
previewController.dataSource = self
present(previewController, animated: true, completion: nil)
}
func numberOfPreviewItems(in controller: QLPreviewController) -> Int { return 1 }
func previewController(_ controller: QLPreviewController, previewItemAt index: Int) -> QLPreviewItem {
guard let path = Bundle.main.path(forResource: "myScene", ofType: "reality") else { fatalError("Couldn't find the supported input file.") }
let url = URL(fileURLWithPath: path)
return url as QLPreviewItem
}
}
[https://developer.apple.com/documentation/arkit/previewing_a_model_with_ar_quick_look)
Post not yet marked as solved
When will Quick Look have image targeting?
Post not yet marked as solved
when we are trying to open the USDZ file hosted on the AWS server using iPhone 12 and 13 os version 15.4, we are not able to see the model in AR mode. It is giving us output as shown in the above image. We tried opening the same file from the iPad, iPhone 11 with os version 15.3, it is working properly. Can you please help us to fix this issue on the latest os version?
Post not yet marked as solved
Hello, I have a gltf file, which I am converting to usdz using threejs online editor.
The file is a sofa model, with all its maps baked to complete UV except diffuse fabric map which is tileable to emulate a fabric cloth.
So the fabric map has to use an increased scale of 17 so it tiles properly, but the other maps dont need tiling and work on the 1scale value.
The problem I am facing is that the Quicklook uses scale of diffuse fabric map and applies on all others as well, distorting the look.
how can I control this?
i am a windows user.
thanks
Post not yet marked as solved
I'm creating some AR trees for a research project and we're finally able to deploy the experience on Iphone after some updates made to reality converter.
The only issue is that since it is a tree, it is made up of mostly cross-sectional planes that serve as the leaf cards for the model. When placed in AR, QuickLook is culling the faces on the tree, even though it is set as a double sided material in XCode.
I can only select between cull front and cull back in XCode so I'm wondering if there is a way to change those options and export the USDZ so that when it is placed in AR it doesn't cull any of the faces.
The screenshot attached is of the settings panel under the leaf material for the tree.
Thanks!
Post not yet marked as solved
Hi, I'm embedding the QLPreviewController in a UIViewControllerRepresentable. When I view .usdz models I don't see the AR/Object selector at the top, nor the sharing button. I have tried presenting modally with a .sheet modifier and had the same result. What do I need to do to get the controls? Thanks, code attached.
Code
Spiff
Post not yet marked as solved
Hello,
I have added the .usdz file in my website for iOS for a 3D model but it keeps giving me the error’ object requires a new iOS version’ when I click on the AR button. I have tried on multiple apple devices. Works great on android. Tried through safari as well as chrome. Any help would be appreciated. Thanks
Post not yet marked as solved
Hi guys,
I have a little problem with Quick Look and I am not sure, if it is because of 3D model, iPhone 8 or if there is a bug from Apple side.
What is hapenning? I am able to download 3D model to my iPhone 8, then I am able to place 3D model on my table and in the moment when I place it, Quick Look stop to work. There is this message:
"model
Universal Scene Description Package
2,9 MB"
Do you know, where can be the problem?
YT video:
https://www.youtube.com/watch?v=wZKlPZUJkbk&ab_channel=AZtutorialy
USDZ file:
https://drive.google.com/file/d/1TcL4VoISRuMtdHd3XoW_Se4Lq6tNucYt/view?usp=sharing
I am looking forward to read you answers.
Thank you very much in advance
Have a nice day
Jan
Post not yet marked as solved
This thread actually marks an unsolved problem as "accepted"/solved https://developer.apple.com/forums/thread/119265
As of iOS 14/15 Apple's own QuickLook does not support:
On iOS and in AR, any USDZ with PNG transparency.
It's a shame and testament to the AR dev team's (in)ability to address this issue.
Multiple tweets and a basic google search shows this problem existing for over 2 years and now entering the third year.
Meanwhile formats such as GLTF/GLB... just work
Post not yet marked as solved
It's annoying that my image anchored scenes are migrating as soon as the image goes out of frame. Wondering if theres a way to make an image target anchored model stay put as a user moves far from the image anchor. Say 100 feet or so. I'm using this for house sized models.
Post not yet marked as solved
Has the problem of the black background when taking a picture with the AR Quick look function in iOS 15 been resolved? I think it's a rather serious bug.
On an iOS 15 device, go to the Quick Look page below and display any of the multiple 3D models in AR Quick Look; the background will be black when you take a picture with the AR Quick Look shooting function.
https://developer.apple.com/augmented-reality/quick-look/
There are similar events below, but they do not seem to be addressed at all.
https://developer.apple.com/forums/thread/691784