Replies: 3 comments 1 reply
-
In fact no, this is not possible, and it's not something we can implement. For privacy and security reasons browsers do not allow websites to either start a webXR session or activate apps like SceneViewer without "user intent". So they intentionally require your users to click a button before going into AR. But you can customize that button to your heart's content using our |
Beta Was this translation helpful? Give feedback.
-
Actually, it's possible to launch ar by getting reference to ar button and calling I'd like to know, is it possible to launch ar without showing 3D view at all? The problem is, I have a very resource-intensive threejs application + model viewer on the same page. And I would like to use modelViewer for ar only to avoid loading models and textures into RAM twice, for my application and modelViewer (they're using different canvas elements and rendering contexts, so resources cannot be shared). Can I do it somehow? |
Beta Was this translation helpful? Give feedback.
-
Yes, take a look at my description in #1629 (you may need the forthcoming v1.3). As for |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I have generated some QR codes to web pages that are model-viewer scenes. Is there a way to have the model-viewer code on the referenced web page automatically start the camera and ask for an anchor point (scan the floor)? This would bypass the necessity of having the users click the view in AR" button.
Beta Was this translation helpful? Give feedback.
All reactions