wall ar-placement for ios #2466
Replies: 4 comments 4 replies
-
Works fine for me. However, you need to create your USDZ manually and set it to wall placement in Reality Composer. The automatically created USDZ doesn't seem to be able to do it. |
Beta Was this translation helpful? Give feedback.
-
Yes when you change the texture I assume you do that change to the GLB file and then pass it to ModelViewer. And when ModelViewer converts the file to USDZ it looses the information about the wall tracking. Which brings me to the question I asked here: https://discourse.threejs.org/t/usdz-exporter-vertical-tracking/26991 how to encode inside the USDZ that we want wall tracking? Is it upAxis set to “z”? Don't know where to read up on the USDZ file format |
Beta Was this translation helpful? Give feedback.
-
My experience is that wall placement does work on iOS. But with slight limitations.... I have tested as far back as iPhone 7 (on iOS 14) The issue is, I don't think AR QuickLook has a property to specify horizontal / vertical placement. At least, not when invoking QuickLook from web. QuickLook will simply try to anchor it to whatever surface you scan. Regardless of what ModelViewer AR placement you go for (floor or wall) QuickLook will allow both to anchor to either. So there is no way to specify just floor placement or just wall placement for QuickLook. Also, as with any AR, vertical placement is always a bit trickier due to the lack of surface detail. It can sometimes look as though it's failing if you're trying to place an object on a completely blank wall. Later devices seem to handle this progressively better, but the iPhone 12 Pro with its LiDAR Scanner is spot on. |
Beta Was this translation helpful? Give feedback.
-
Made the changes and opened a PR on THREE.js for the USDZExport. mrdoob/three.js#21997 |
Beta Was this translation helpful? Give feedback.
-
Hi community, is ios not supporting wall placement feature yet? I've enabled it in my model-viewer attribute but seems like only Andoird has it but not ios
Beta Was this translation helpful? Give feedback.
All reactions