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.

AR plugin for iOS

Home Forums Plugins AR plugin for iOS

  • This topic has 70 replies, 12 voices, and was last updated 1 month ago by kdv.
Viewing 15 posts - 1 through 15 (of 71 total)
  • Author
    Posts
  • #54192
    kdv
    Participant

    I’ve just made a simple V3D plugin for iOS devices that allows to export your 3D models with transformations and changes of materials/textutes. Shape keys are also supported. Animations are not supported (the current V3D engine doesn’t export them).

    You can test it here. Use iOS Safari.
    https://v3d.net/9e4

    Get this plugin on Gumroad https://kdv77kdv.gumroad.com/l/ar_for_ios B-)

    Puzzles and JS coding. 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 the meaning at all.

    #54209
    kdv
    Participant

    deleted…

    Puzzles and JS coding. 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 the meaning at all.

    #54245
    kdv
    Participant

    Added shape keys support B-) As I said, morphing was completely ignored. Only one shape keys pair supported at this moment (Base and Key 1, for example).

    You can test it here. Use iOS Safari.
    https://v3d.net/9e4

    The plugin was not changed yet. All changes were made in V3D USDZExporter…

    Puzzles and JS coding. 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 the meaning at all.

    #54264
    kdv
    Participant

    Added full support of multiple shape keys. The combination positioning + scaling + rotating + morphing works perfect )))

    There is one limitation: in Blender shape keys can be relative to any other key, not only to Base, but Verge3D ignores this fact and all shape keys are relative to Base key only. It’s not a problem, just to be informed…

    Puzzles and JS coding. 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 the meaning at all.

    #54271

    Impressive work! Thanks for looking into this. :good: :good: :good: We’ll try to improve our Augmented Reality example.

    Chief 3D Verger | LinkedIn | Twitter

    #54297
    vern
    Customer

    Very cool! @kdv77kdv

    I also created a proprietary coded solution in Verge3D and that makes it so that fully configured/modified models/scenes will open and show correctly in AR for iOS the first time with a single button click, even on large models.

    The key is to take the time it takes to download the USDZ file and times that by a factor of say 1-2 seconds. This is the amount of time to wait before triggering the ‘ar’ button click so that it will always work regardless of model size, and it’s efficient.

    #54298
    vern
    Customer

    Awesome I see you have full support for blend shapes!!
    Would this work if the model was exported from 3DS Max using morph targets?

    #54309
    kdv
    Participant

    Moved the shape keys code completely to the plugin. It can be used now with original puzzles.min.js B-) Cloned objects and multi-material meshes are also supported. The amount of shape key are not limited, but they all are relative to Base key. Verge3D also uderstands only one base key, so there is no problems about it )))
    https://v3d.net/9e4

    Would this work if the model was exported from 3DS Max using morph targets?

    Why not? If Verge3D understands and can change them the code should work fine. Can you attach an exported model with morph targets?

    Puzzles and JS coding. 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 the meaning at all.

    #54328
    vern
    Customer

    Yes, I will definitely send an attached sample for you to check as soon as I get the chance for sure.

    #54360
    kdv
    Participant

    Any ideas about why Apple Quick View works only if the link has this structure?
    <a class="ar-button" id="ar_button"><img src="ar_button.png"></a>
    If innerHTML is a text or the image is set as background-image in .css Safari just offers to download the exported .usdz file :scratch: One more strict Apple’s limitation?

    This construction also works )))
    <a id="ar_button" class="ar-button"><img>Enter AR mode</a>

    Puzzles and JS coding. 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 the meaning at all.

    #54416
    vern
    Customer

    Yeah, unfortunately that is the structure that Apple put in place to detect when an app has AR capability. So there’s currently no way around having that structure until they change it in the future hopefully.

    I attached a sample object that has morph targets from 3DS Max for you to test with your plugin. The sample is only using 3 morph targets. I mainly just want to see if it works in iOS AR after changing the morph targets.

    #54418
    kdv
    Participant

    It’s working. No difference from shape keys.
    https://v3d.net/9ma

    Puzzles and JS coding. 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 the meaning at all.

    #54427
    vern
    Customer

    Very cool indeed!! Nicely done!

    #55660
    pimmartens
    Participant

    Is there a way to add ‘#allowsContentScaling=0’? By adjusting something in the plugin or by adding puzzles.

    I’ve attached an image of how I did this before I was using your plugin.

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

    If you don’t need shape keys then just put these puzzles inside on event of click puzzle and it will work. For now my plugin doesn’t allow adding options to the download path…

    Puzzles and JS coding. 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 the meaning at all.

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