Showing configured model from desktop on mobile with the new changes #4275
Replies: 1 comment 2 replies
-
Hello danilokrulj! I think the best way to do this is using a piping server, or your own server that you can exportScene() and then have the user scan a QR code that will open up another page that will fetch that uploaded scene from the server. It's basically how MV's editor works when you click "View On Mobile" I'm not great at programming, still relatively new to it, but after picking apart karanganesan's example (doesn't seem to work anymore) and also MV's own code, I've came up with this solution that works for me at least! Basically the configurator waits for a "ping" from the mobile page which will ping it as soon as a user opens that page, from there it will then fire the exportScene() function and then upload it to a piping server, and then the mobile page will fetch the blob and set it as it's "src". I've tried it without the "ping" but it never worked for me, kept saying that the connection was already established for some reason. If you have any critiques/better ways to write this let me know as I'm trying to learn as well! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If a user configured a model on their desktop device, what would be the best way to show the model with the configured changes on a users mobile device and from there in AR?
Up until now I usually kept track of the changes made by making variables and saving them in a URL link, then I would generate a QR code with that URL link and have the page read the values from the link and update the model manually, but that seems like a bad way to do it if there are a lot of changes... Any suggestions on how to do this better?
for example I would make it like this:
`
`
Beta Was this translation helpful? Give feedback.
All reactions