AR Quick Look

RSS for tag

Allow users to see incredibly detailed object renderings in real-world surrounding, with support for audio playback, using AR Quick Look.

Posts under AR Quick Look tag

77 Posts

Post

Replies

Boosts

Views

Activity

behavioural triggers not showing in xcode
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?
0
0
760
May ’22
USDPython 0.64 setting PATH as Environmental Variable
Dear community, I downloaded the USDPython 0.64 Package for my macOS Big Sur 11 on my new Mac book pro with M1 (13inc). After installing it the .pkg ( that is a modelio) I open the folder in my Applications folder and I double click on the usd.command. I am on .zsh and I did .zshrc and inserted my filepath in my case are export PATH=$PATH:/Users/<myusername>/Applications/usdpython/USD export PYTHONPATH=$PYTHONPATH:/Users/<myusername>/Applications/usdpython/USD/lib/python export PATH=$PATH:/Users/<myusername>/Applications/usdpython/usdzconvert are these correct? I am not sure if that Machintosh HD should be /Users/<myusername> I keep getting the Error: failed to import pxr module. Please add path to USD Python bindings to your PYTHONPATH Any help would be much appreciated
4
0
6.8k
May ’22
QuickLook environment probes are always much too dark
It seems that on iOS 13 &amp; 14 environment probes are notably too dark, and never reach an acceptable brightness that matches the surrounding environment. Is there any way to get "reasonable" IBL lighting in QuickLook that is not like 50% gray all the time, without resorting to hacks such as using emissive colors/textures? Clearly there must be something wrong with the IBL estimation, as the same scene in Google SceneViewer is very bright and nice under the same circumstances. The issue reproduces for example with the QuickLook gallery; the ceramics piece there is nearly 100% white as per the USD file but renders dull and gray next to a physical ceramics piece. Video of the issue: drive.google.com/file/d/14mVQFTNe6pO_4tYNIvpZa9eAS2YzoVPO/view?usp=sharing More pictures: drive.google.com/drive/folders/1ej6g-gpBAu53z2Zn08eQFNZAkTmDA_XJ?usp=sharing Note that in those pictures, all spheres in that grid are purely white, with varying degrees of metallic and roughness being the only difference. My expectation would be that the diffuse ones would appear "white" and not dark grey; seems impossible to get a "realistic" picture. Happens here as well: https://developer.apple.com/augmented-reality/quick-look/models/cupandsaucer/cup_saucer_set.usdz
2
1
2.3k
May ’22
ar-quick-look allowsContentScaling with blob
I found that to disable scalling of model in AR it's enough to add "#allowsContentScaling=0" to url. I use threejs library and convert my model using their internal USDZExporter and store it as blob. And after adding it to the end of url it doesn't show model at all. What is the way of disabling scalling of model when url is a path to blob object already stored in a browser? Example: a id="safariARbuttonLink" rel="ar" href="blob:http://localhost:50000/2bd52a27-2ed8-4b46-87d5-2faa889ad5cd#allowContentScalling=0" download="asset.usdz" style="display: none" img id="safariARbutton" width="100" src="../../images/arkit.png" /a Url was created using "URL.createObjectURL( blob )".
4
0
2.6k
May ’22
AR quick look integration
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     } }
1
0
1.5k
May ’22
AR Quickview is not working on iphone os 15.4
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?
2
0
912
May ’22
AR quick look
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)
0
0
1.1k
Apr ’22
How Can I Disable Culling for a USDZ File?
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!
5
0
1.6k
Apr ’22
Quicklook not using individual texture coordinates of different maps
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
0
0
518
Apr ’22
AR Quick View's AR Quick View button cannot be pressed on some iOS devices.
AR Quick View's AR Quick View button cannot be pressed on some iOS devices. As for the iPhone 12 Pro, the AR Quick View button cannot be pressed on iOS 15 when reading from the standard iOS QR code reader, but the AR Quick View button can be pressed on the iPhone 12 Pro with iOS 14. On other devices, you can press the AR Quick View button when launching from Safari, but you cannot press the AR Quick View button when accessing from the standard QR code reader. Also, on some iOS devices, the AR Quick View button cannot be pressed. The problem seems to be occurring outside of the https://konabeer.jp/beach-diorama-ar/ as well. Is there any way to avoid this AR Quick View button not being able to be pressed? It would be very helpful if I could get more information than just the solution to this problem. iPhone7(iOS13):OK iPhoneX(iOS15):QR Code Reader:NG iPhone11(iOS14):OK iPhone12Pro(iOS14):OK iPhone12Pro(iOS15):QR Code Reader:NG iPhone12(iOS15.1):QR Code Reader:NG iPad Air(iOS15):QR Code Reader:NG iPhoneSE(iOS15):QR Code Reader:NG As a result of our own verification, the AR Quick Look button is deactivated on iOS 15 and when the QR code is imported from the Control Center. If you know of any known bugs or workarounds, or if there are any informative sites that have information on this issue, I would appreciate it.
7
0
3.7k
Jan ’22
Nested usdz-files
Hi! I've been working with AR Quick Look a lot recently and find it really useful. However, when I'm combining two .usdz-files into one, the experience isn't as great. I'm working with 3D-models that are supposed to be attached to vertical surfaces, and one by one they work flawlessly. But as soon as I add more models into the same, the objects won't "stick" as close to the wall as they do when they are separated. It's like there are some sort of "margin" applied to it. To create nested .usdz-files, I use Apple's command line tool: $ usdzcreateassetlib outputFile.usdz asset1.usdz [asset2.usdz [...]] Any idea why this might be the case? Thanks!
1
0
1.5k
Jan ’22
AR Quicklook's awesome Playback feature isn't being used as much with the recent changes
One of people's favourite features of AR Quicklook is the video playback. Aside from the feature its self, what it represents is familiarity as people have used it in video for decades so it helps place AR right next to other common formats, which is awesome! Previously, if a USDZ's animation was longer than 10 seconds, the playback would appear. This rule was recently changed to allow the option from the USDZ metadata using the python tool. Unfortunately most designers are still not using the python toolkit so the feature is now hidden in most cases, which is too bad. Would be great to add the ability to set that metadata from Reality Converter &amp; Composer. Better yet, if it was available as an html fragment identifier it would be super helpful, similar to "allowsContentScaling"
6
0
2.3k
Dec ’21
behavioural triggers not showing in xcode
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?
Replies
0
Boosts
0
Views
760
Activity
May ’22
USDPython 0.64 setting PATH as Environmental Variable
Dear community, I downloaded the USDPython 0.64 Package for my macOS Big Sur 11 on my new Mac book pro with M1 (13inc). After installing it the .pkg ( that is a modelio) I open the folder in my Applications folder and I double click on the usd.command. I am on .zsh and I did .zshrc and inserted my filepath in my case are export PATH=$PATH:/Users/<myusername>/Applications/usdpython/USD export PYTHONPATH=$PYTHONPATH:/Users/<myusername>/Applications/usdpython/USD/lib/python export PATH=$PATH:/Users/<myusername>/Applications/usdpython/usdzconvert are these correct? I am not sure if that Machintosh HD should be /Users/<myusername> I keep getting the Error: failed to import pxr module. Please add path to USD Python bindings to your PYTHONPATH Any help would be much appreciated
Replies
4
Boosts
0
Views
6.8k
Activity
May ’22
Image Targeting
When will Quick Look have image targeting?
Replies
1
Boosts
0
Views
1.4k
Activity
May ’22
ios webar multiple object
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
Replies
0
Boosts
0
Views
1.3k
Activity
May ’22
AR Quick Look prevent the first screen from appearing before AR from showing up
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.
Replies
3
Boosts
0
Views
1.5k
Activity
May ’22
QuickLook environment probes are always much too dark
It seems that on iOS 13 &amp; 14 environment probes are notably too dark, and never reach an acceptable brightness that matches the surrounding environment. Is there any way to get "reasonable" IBL lighting in QuickLook that is not like 50% gray all the time, without resorting to hacks such as using emissive colors/textures? Clearly there must be something wrong with the IBL estimation, as the same scene in Google SceneViewer is very bright and nice under the same circumstances. The issue reproduces for example with the QuickLook gallery; the ceramics piece there is nearly 100% white as per the USD file but renders dull and gray next to a physical ceramics piece. Video of the issue: drive.google.com/file/d/14mVQFTNe6pO_4tYNIvpZa9eAS2YzoVPO/view?usp=sharing More pictures: drive.google.com/drive/folders/1ej6g-gpBAu53z2Zn08eQFNZAkTmDA_XJ?usp=sharing Note that in those pictures, all spheres in that grid are purely white, with varying degrees of metallic and roughness being the only difference. My expectation would be that the diffuse ones would appear "white" and not dark grey; seems impossible to get a "realistic" picture. Happens here as well: https://developer.apple.com/augmented-reality/quick-look/models/cupandsaucer/cup_saucer_set.usdz
Replies
2
Boosts
1
Views
2.3k
Activity
May ’22
ar-quick-look allowsContentScaling with blob
I found that to disable scalling of model in AR it's enough to add "#allowsContentScaling=0" to url. I use threejs library and convert my model using their internal USDZExporter and store it as blob. And after adding it to the end of url it doesn't show model at all. What is the way of disabling scalling of model when url is a path to blob object already stored in a browser? Example: a id="safariARbuttonLink" rel="ar" href="blob:http://localhost:50000/2bd52a27-2ed8-4b46-87d5-2faa889ad5cd#allowContentScalling=0" download="asset.usdz" style="display: none" img id="safariARbutton" width="100" src="../../images/arkit.png" /a Url was created using "URL.createObjectURL( blob )".
Replies
4
Boosts
0
Views
2.6k
Activity
May ’22
AR quick look integration
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     } }
Replies
1
Boosts
0
Views
1.5k
Activity
May ’22
AR Quickview is not working on iphone os 15.4
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?
Replies
2
Boosts
0
Views
912
Activity
May ’22
AR quick look
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)
Replies
0
Boosts
0
Views
1.1k
Activity
Apr ’22
iOS 15 AR Quick-Look via SafariServices does not work
Hello there! After update of iOS15 quick-look does not work properly with SafariServices that we use on our native web. For example; if you open this link on twitter https://developer.apple.com/augmented-reality/quick-look/ just click model to use quick-look, you will see AR part is not working..
Replies
6
Boosts
0
Views
3.2k
Activity
Apr ’22
How Can I Disable Culling for a USDZ File?
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!
Replies
5
Boosts
0
Views
1.6k
Activity
Apr ’22
Quicklook not using individual texture coordinates of different maps
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
Replies
0
Boosts
0
Views
518
Activity
Apr ’22
Change Scene crashes Quick Look randomly
I have two scenes in my .reality file that was built using Reality Composer. The first scene gets loaded first, then after 1 second, I load the second scene. But this crashes the Quick Look app randomly. When I removed the Change Scene function, it works fine. I tested with IPhone 7. Any pointers to avoid the crashes?
Replies
2
Boosts
0
Views
2.0k
Activity
Mar ’22
How to adjust shadows on 3D and 2D objects in Reality Composer?
I'm currently trying to project a transparent .png file on to a flat surface (table/paper), but the shadow is giving me a gray box. I am a huge fan of the shadows in Reality Composer, however I'm searching for an option to adjust the opacity or turn off the shadow.
Replies
1
Boosts
0
Views
989
Activity
Mar ’22
AR Quick View's AR Quick View button cannot be pressed on some iOS devices.
AR Quick View's AR Quick View button cannot be pressed on some iOS devices. As for the iPhone 12 Pro, the AR Quick View button cannot be pressed on iOS 15 when reading from the standard iOS QR code reader, but the AR Quick View button can be pressed on the iPhone 12 Pro with iOS 14. On other devices, you can press the AR Quick View button when launching from Safari, but you cannot press the AR Quick View button when accessing from the standard QR code reader. Also, on some iOS devices, the AR Quick View button cannot be pressed. The problem seems to be occurring outside of the https://konabeer.jp/beach-diorama-ar/ as well. Is there any way to avoid this AR Quick View button not being able to be pressed? It would be very helpful if I could get more information than just the solution to this problem. iPhone7(iOS13):OK iPhoneX(iOS15):QR Code Reader:NG iPhone11(iOS14):OK iPhone12Pro(iOS14):OK iPhone12Pro(iOS15):QR Code Reader:NG iPhone12(iOS15.1):QR Code Reader:NG iPad Air(iOS15):QR Code Reader:NG iPhoneSE(iOS15):QR Code Reader:NG As a result of our own verification, the AR Quick Look button is deactivated on iOS 15 and when the QR code is imported from the Control Center. If you know of any known bugs or workarounds, or if there are any informative sites that have information on this issue, I would appreciate it.
Replies
7
Boosts
0
Views
3.7k
Activity
Jan ’22
AR Quick Look - Using double sided Materials in USDZ is not displayed
Using a double sided Material in USDZ Files is not displayed in AR Quick Look. Even when the model is displayed correctly when opening in Xcode or other tools. Seems like AR Quick Look is ignoring that setting. Are there any solutions?
Replies
2
Boosts
0
Views
1.9k
Activity
Jan ’22
Nested usdz-files
Hi! I've been working with AR Quick Look a lot recently and find it really useful. However, when I'm combining two .usdz-files into one, the experience isn't as great. I'm working with 3D-models that are supposed to be attached to vertical surfaces, and one by one they work flawlessly. But as soon as I add more models into the same, the objects won't "stick" as close to the wall as they do when they are separated. It's like there are some sort of "margin" applied to it. To create nested .usdz-files, I use Apple's command line tool: $ usdzcreateassetlib outputFile.usdz asset1.usdz [asset2.usdz [...]] Any idea why this might be the case? Thanks!
Replies
1
Boosts
0
Views
1.5k
Activity
Jan ’22
AR not working on iOS but works well on Android
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
Replies
2
Boosts
0
Views
1.4k
Activity
Jan ’22
AR Quicklook's awesome Playback feature isn't being used as much with the recent changes
One of people's favourite features of AR Quicklook is the video playback. Aside from the feature its self, what it represents is familiarity as people have used it in video for decades so it helps place AR right next to other common formats, which is awesome! Previously, if a USDZ's animation was longer than 10 seconds, the playback would appear. This rule was recently changed to allow the option from the USDZ metadata using the python tool. Unfortunately most designers are still not using the python toolkit so the feature is now hidden in most cases, which is too bad. Would be great to add the ability to set that metadata from Reality Converter &amp; Composer. Better yet, if it was available as an html fragment identifier it would be super helpful, similar to "allowsContentScaling"
Replies
6
Boosts
0
Views
2.3k
Activity
Dec ’21