How to take screenshots of the AR mode (picture of the model and the environment) in the webXR? #4256
Replies: 3 comments 1 reply
-
|
Probably the right way to do this is as a feature in MV. I believe you'll need to request camera permission to get the background, then composite our render on top. It hasn't been enough of a priority for us to tackle yet, but we'd be very supportive of a PR. Feel free to start a draft and ask questions in the PR if you're having trouble and we'll help. |
Beta Was this translation helpful? Give feedback.
-
|
Looking for this as well.. are there any news on this, even if just experimental? Thx! |
Beta Was this translation helpful? Give feedback.
-
|
Hi there! I've been personally interested in this feature, so I experimented with AR screenshot capture in WebXR mode and got it working: Since this was built without modifying model-viewer's core, the implementation is more complex than it needs to be. A native implementation would make it much simpler and more accessible. This feature has also been discussed in #1481. Is there still intention to officially support this? If so, I'd be happy to contribute a PR. Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to code a way to allow the users to save screenshots of the AR experience in the webXR.
I tried somethings as < canvas > that doesn't get the model viewer "viewport" and toBlob but it only get the model and doensn't get the environment that the model is in. None of them worked.
What would be the best way to make that?
I just want to allow the user to take pictures inside the AR experience (screenshots)
Beta Was this translation helpful? Give feedback.
All reactions