Forum Replies Created
-
AuthorPosts
-
adamgrCustomer
We use javascript-obfuscator through npm to obfuscate all of our javascript for Verge3D and it works great.
https://www.npmjs.com/package/javascript-obfuscator
We don’t scramble the HTML though.
adamgrCustomerHi Alexander,
I see – yes the main issue was nothing in the scene rendering anymore once leaving AR mode.
Thanks for letting me know how you modify the camera when entering AR, I’m doing all this in code not puzzles so I’ll have a look at resetting the camera and meshes when exiting AR.
adamgrCustomerThanks for linking my bug report about exiting AR mode in the release notes. Unfortunately I’m still having trouble with this, I don’t want to take up this announcement thread with tech issues so I’ve made a reply to the original thread here:
Thanks!
adamgrCustomerHi,
I can see this has been reported as fixed for 3.8.pre-5 but unfortunately I can’t seem to see any difference.
I just performed the following steps:
1) Installed Verge3D Maya 3.8 pre-5
2) In the augmented reality sample I disabled the “on exit do: open web page” puzzle block (please see attached screenshot)
3) Uploaded the project to our web server
4) Open AR mode on Android, then after placing the farmer press the back button to exit AR mode.
5) Now all I can see is a white background. If I spin the camera around I can eventually see the farmer model but in a first person camera mode.Is this what is supposed to have been fixed in pre-5? We don’t want to have to refresh the page after exiting AR mode we just want to resume the scene exactly how it was before entering AR.
Please let me know if I’ve done something wrong here, thanks.
Attachments:
You must be logged in to view attached files.adamgrCustomerHi Alexander,
Thank you for letting me know!
I wasn’t sure if this was a bug or just a technical limitation but glad to hear it will be fixed as exiting AR without refreshing will be really helpful for our project, thanks!
adamgrCustomerHas nobody else had this issue? Verge devs do you know what happens to the camera and scene when exiting AR mode?
adamgrCustomerDoes anyone have any experience with this?
After further testing I can see that if I remove the refresh puzzle from the Augmented Reality demo (https://cdn.soft8soft.com/demo/applications/augmented_reality/augmented_reality.html) exiting AR shows a white screen but I can move the camera around back to the model but the camera is in a different free look state rather than orbiting.
Can somebody please confirm whether the Verge3D scene can be resumed after AR mode without refreshing the page?
Thanks.
adamgrCustomerThanks for the quick fix for the USDZ exporter, it’s working well now!
adamgrCustomerI’m testing the USDZ export functionality in 3.8 pre-3 for Maya and I’m having trouble getting it working.
If I test in Chrome on Windows I can see the console has no errors and the href attribute of the link changes correctly to the blob data. On iOS though I can’t get anything to load in AR quick look and inspecting the console (using BrowserStack) I see the error:
visual_logic.js:1193 exportToUSDZ: export failed: TypeError: blob.arrayBuffer is not a function. (In 'blob.arrayBuffer()', 'blob.arrayBuffer' is undefined) Unhandled Promise Rejection: TypeError: blob.arrayBuffer is not a function. (In 'blob.arrayBuffer()', 'blob.arrayBuffer' is undefined)
This happens on all iPhones I tested (6, 7, 8, X, 11, 12) and iOS versions (11, 12, 13, 14).
I have tested both the default Augmented Reality Verge3D example, a new project using the default cube, and integrating this into my own code based project and I cannot get the USDZ to load on iOS quick look.
Has anyone come across this issue, or successfully got a USDZ AR project working?
Thanks.
adamgrCustomerHello,
Thanks for your reply, I tried reducing the project down to provide a smaller test case but it’s quite complicated so if it’s ok I’ve just zipped up the project and I’ll send a WeTransfer link via Facebook message.
Thanks for your help!
-
AuthorPosts