Augmented Reality (AR)

Follow

Comments

6 comments

  • Avatar
    crivlaldo (Sketchfab Profile)

    Hi!

    The AR feature is awesome!

    But I have some troubles to try it on embedded HTML in an iOS app. For tests, I use the cube example.

    When I press the AR button I observe only a loading page. Also, there is a link with the text "If the loading takes too long ...". But I get only a 404 error when I open it.

    Furthermore, I can see in the logs a bunch of errors about forbidden access (403 error) but they appear before I press the AR button. Most of them are related to js map files like this one.

    All the functionality besides AR works well.

    What can I do with it?

    Thanks!

    0
    Comment actions Permalink
  • Avatar
    pierre.savoie (Sketchfab Profile)

    Hi James,

    Is the ap-free AR model compatible with with the viewer API? Meaning if we tweak the visual of the model with code, the tweaks will be visible in AR?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Hi crivlaldo 

    1) This is Safari embedded in a native iOS app? We are looking into some issues related to this. Does it attempt to open the USDZ link and it comes out as just garbled text? Or it just gets stuck on loading?

    2) Sorry about the broken link. It will be updated to this page soon.

    3) You can ignore the js.map errors. We are working to remove those as they are only meant for internal development.

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Hi pierre.savoie

    I'm afraid that's not possible at the moment. The browser is downloading a static glTF (Android) or USDZ (iOS) file, which is generated based on the source model and 3D settings. Viewer API changes only exist at runtime in the viewer.

    0
    Comment actions Permalink
  • Avatar
    crivlaldo (Sketchfab Profile)

    Hi James!

    1) This is Safari embedded in a native iOS app?
    Exactly, this a web view in the iOS application.

    Or it just gets stuck on loading?
    I think, yes, it's stuck. I've attached a screenshot of this moment. Loading animation is playing but nothing happens. Finally, after some timeout, the loading text is disappeared and the original scene is presented again.



    2) It will be updated to this page soon.

    Sounds great, thanks!

    3) You can ignore the js.map errors
    Got it.

    0
    Comment actions Permalink
  • Avatar
    tangibledesign (Sketchfab Profile)

    The app free AR example model doesn't work in any android divice we have tried. Are we doing something wrong? where we can see an example of a app free AR model in a android divice?

    0
    Comment actions Permalink

Please sign in to leave a comment.