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.

NEW in Verge 3D – AR issues

Home Forums General Questions NEW in Verge 3D – AR issues

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #53271
    br4d86
    Participant

    Hi guys, I just started learning to use Verge 3D, and I am having a hard time making the AR work. In one of the forums, I read that people suggested cloning the augmented-reality example and modifying it.

    So, I cloned the augmented-reality example and added some of my 3D models to it. I can see the added 3D models on the web page, but when I access the AR environment, I only see the farmer.

    Do you have any suggestions?
    Thanks

    #53272
    xeon
    Customer

    If you could provide some additional information:

    link to the app
    Version of V3D
    3D app you are using
    Browser you are using
    OS and device

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #53273
    br4d86
    Participant

    Sure.

    I am using the following:

    Blender 3.1.2
    Verge3D 3.9.1 (I just found out that 4.0.0 is out)
    Chrome and Edge
    Windows 10 and iPhone SE.

    I tried to create a twin farmer in the augmented-reality example, and I was hoping to see both of them in the AR. But, unfortunately, it is not working, and I only see one farmer.

    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:78595aa8b2/applications/augmented_reality – Copy/augmented_reality.html

    I hope it helps. Let me know if you need additional info.
    Thanks

    #53276
    br4d86
    Participant

    I also tried to add a simple sphere in front of the farmer in another project, but I could not see the sphere when I access the AR.

    https://v3d.net/8ku (attached the QR code)

    Thank you

    Attachments:
    You must be logged in to view attached files.
    #53278
    xeon
    Customer

    Ok… just tested it on Android using Pixel Pro 6 and its working as you would expect with the sphere addition.

    On the iOS side its not exporting the file to USDZ correctly.
    It only shows the original farmer USDZ.

    You can easily just save out your project as a standard GLTF and then convert to USDZ and save the USDZ in the folder with the rest of your application and then just link to the USDZ. Then you don’t have to worry about exporting. Depends on what you need to do.

    Windows 10 – make sure your device is AR capable / supports WebXR. As far as you iPhoneSE. I don’t think it supports AR or USDZ…not sure though…but thats pretty old. I think the farthest you can go back is an iPhone 6…I am sure there is stuff on line about compatibility somewhere.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #53280
    br4d86
    Participant

    Thank you for testing it.

    Did you see the sphere also when you opened the AR?

    Where should I save the usdz file? I tried to save the file in all the folders with no luck.

    Attachments:
    You must be logged in to view attached files.
    #53283
    xeon
    Customer

    Your location is fine. Not sure how you are going to initiate it but if you are using the AR Demo buttons and blend file you can do use the attached puzzles to link it.

    You can also test the link directly by testing something like:
    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:a99f978a30/augmented_reality/yourusdzfile.usdz.
    Make sure that downloads or plays on your iOS device then copy that URL into the “open web page” URL location.

    You should be set.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #53300
    br4d86
    Participant

    Thank you for the hint.

    Some questions:
    1- How did you create the link?

    2- Which puzzle should I use for opening the .usdz file directly from the folder and not through a link?

    3- Using the piece of the puzzle you shared in the previous response, I could access the AR with my iPhone, but I could NOT see the colors of the farmer (see attached pic). Any hints?

    Thank you again for your help

    Attachments:
    You must be logged in to view attached files.
    #53306
    xeon
    Customer

    The link was created by going to your provided link:

    https://v3d.net/8ku

    Letting the page load and the URL redirect to complete giving the real url:

    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:a99f978a30/augmented_reality/augmented_reality.html

    Since the USDZ will live in the same directory as your html file I deleted the augumented_reality.html and replaced with “YoursampleUSDZ.usdz”. You just need to replace the “augmented_reality.html” with the name of your USDZ file.

    Question 2: USDZ files are treated much like a JPGs on iOS. They need to be addressed directly. Since the file will live on a website you must use the Open web page puzzle. An iOS device will then automatically open AR Quick Look and display the model.

    Question 3: Had to do some research first…Seems apple does support iPhone SE..

    https://www.apple.com/augmented-reality/

    So getting a Gray model means when the USDZ was created the materials were not encapsulated in the output. USDZ files contain all the animations, and textures in one file. You will need to try re-exporting the file making sure that your export options have your required outputs selected. If that does not work try a different USDZ exporter.

    Note there are two GLTFs exports in Blender, one is for Verge3d and the other is more generic. You will want to export using the Generic GLTF which will create a .glb file. This file can then be converted to USDZ using a wide range of online tools. Blenders plugin for USDZ does not work properly. My suggestion is since this is Mac specific, best to do these things on a Mac or iPad using xCode or AR tools.

    Good luck

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #53376
    br4d86
    Participant

    Hi,

    Thanks again for the help, but I could not make it work.
    I tried the following:

    1 – Exported the glb file from Blender ( export -> glTF 2.0 -> glTF binary -> .glb)

    2 – Converted the .glb into .usdz using this website (https://products.aspose.app/3d/it/conversion/glb-to-usdz)

    3 – Viewed the .usdz using this website ( https://products.aspose.app/3d/it/viewer/usdz). I can see the farmer with texture and the new sphere.

    4 – In the puzzle, I renamed the farmer.usdz into augmented_reality.usdz because that is how I named the file in the folder (see puzzle1.png attached). I also added the web page puzzle (see puzzle2.png attached), but I could not see any change.

    At this point, I do not see my new sphere if I run the Verge app, but I see only the farmer.

    Note: How do I know if I uploaded the files in Verde3D correctly? Sometimes, I feel like Verge3D does not make the changes I make.

    I attached the zip file of my testing project for you to review.

    I appreciate your time.

    Attachments:
    You must be logged in to view attached files.
    #54213
    kdv
    Participant

    I feel like Verge3D does not make the changes I make

    Check this

    AR plugin for iOS

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

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