We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Augmented Reality stock demo not working in AR

Home Forums WebGL & WebXR Troubleshooting Augmented Reality stock demo not working in AR

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #44266
    vern
    Participant

    When I run the Augmented Reality demo in Verge3D (3DS Max version) on my iPhone XS Max or iPad Pro, it says ‘AR unavailable’ when I tap the ‘Enter AR’ button. (I’m using the Safari browser like normal).

    Is there something I’m doing wrong?

    Vern

    • This topic was modified 3 weeks, 4 days ago by vern.
    #44274
    crantisz
    Customer

    Yep, AR in Verge based on AR Core, developed for Android. But in iOS, there is an AR Kit, developed by Apple, so it would not run on Apple devices. So we need AR Kit support from Verge developers.

    • This reply was modified 3 weeks, 3 days ago by crantisz.
    #44311

    Hi,

    Apple’s mobile Safari does not support WebXR yet (technology behind web-based AR). But you can still use the USDZ puzzle to show your model on iOS.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #44425
    vern
    Participant

    I followed the AR demo and it’s confusing how to setup the link and button for it to work properly. It says AR isn’t available when I run my app on iOS/iPadOS.

    The AR demo does work I just can’t get AR to work in my project. Could you explain more on how to set up the export USDZ part a little more please?

    #44427

    Please download Verge3D 3.8 preview build – or wait until the official release is out in a few days/weeks.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #44474
    vern
    Participant

    I’m currently using the 3.8 build. The part that’s confusing is where are the actual puzzles for the buttons that were created in the AR demo so I can see how that was done?

    #44483

    here they are:

    Attachments:
    You must be logged in to view attached files.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #44487
    vern
    Participant

    I meant I wanted to see the puzzles that were used to create the ‘Enter Ar’ HTML button for example because it isn’t in there it seems.

    I replicated everything that was shown in the AR demo exactly but I just cannot get it to activate AR.

    I think the issue has to do with the ‘AR’ button because I can’t tell how it was created exactly.

    Any advice would really help.

    #44496

    Ah I see. The button itself is created with pure HTML – see the code in augmented_reality.html

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #44503
    vern
    Participant

    Ok. Also I noticed that the ‘Check AR’ returned false, but AR still activated in the AR demo.

    Also the saved USDZ name, does it matter what it is named?

    I’m trying to replicate everything exactly so I can get it to work.

    #44582

    Hi,
    “Check AR” does not work for USDZ, since this technology is not an “AR in the browser” (handled completely differently by Apple devices). As for the name of the file it does not matter.

    Verge3D’s Tech Chief
    FB | Twitter | VK

    #44640
    sirhc
    Customer

    found this:
    maybe someting??:
    https://developer.apple.com/forums/thread/124558

    Hi Yuri & Alex,
    Been waiting for this!!!
    Awesome work, guys!! :good:
    Checked it on IOS devices and it works!!
    Is there anyway to disable the scaling option in the USDZ version??

    Greetz
    Chris

    Technical Artwork Specialist@TBL.nl

    #44666

    Hi Chris,

    It is suggested in the post you linked (thanks!), that you can pass a parameter in the URL (generated by the USDZ puzzle):

    toy_drummer.usdz#allowsContentScaling=0

    may be you could give it a try

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #44671
    sirhc
    Customer

    Hu Yuri,
    checked ur sugestion.
    Doesn’t work :unsure:
    see attachments

    • This reply was modified 1 week, 6 days ago by sirhc.
    Attachments:
    You must be logged in to view attached files.

    Technical Artwork Specialist@TBL.nl

    #44678

    looks like it’s a bit more complicated – see attaches.

    But unfortunately this won’t work either – there is a bug in Safari that prevents adding parameters to blobs.

    So the only way for now is to create .usdz files manually and deploy them with your app (if you want to add parameters). You can use the same export to USDZ puzzle for making these files.

    Attachments:
    You must be logged in to view attached files.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.