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.

How to have AR going under the floor ?

Home Forums General Questions How to have AR going under the floor ?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #68529
    NaxosCG
    Customer

    Hello there,
    I’m making some tests for swimming pools configurator here, using AR as final presentation.

    Problem is that i can’t get objects to be under the floor (poll’s hole) :

    – with iOS, it takes the minimal Z to set the object onto the real floor, so my pool is standing above the floor : is there anyway to force the objects to be under the real floor ?
    > or anyway to force my 3D scene’s 0 Z origin to be at the detected floor ?

    – with Android, it gets somewhere between above the real floor and under, i guess it has problems to set correctly my 0 Z origin.

    Of course, in my 3DSmax scene, my pool is under the origin in Z, so it should be under the real floor.

    iOS seams to let us move the object only in XY plane, not in Z.

    Any idea / help ?
    the test scene : https://v3d.net/q2e

    "1+1=3... for large values of 1"

    #68530
    kdv
    Participant

    Set the origin to the uppest point.

    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.

    #68532
    NaxosCG
    Customer

    I already did :
    The green point helper is set to origin, my object is under it.
    (see attached)

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

    "1+1=3... for large values of 1"

    #68534
    kdv
    Participant

    Visually you model will never be under the floor.

    It’s possible to correct it’s Z position for Android (detect the floor Z position, subtract from AR HitPoint Z some constant value). Combined with a clipping plane it might have some sense. But it’s not for sure.

    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.

    #68537
    kdv
    Participant

    As a variant, you can use the Holdout shader to hide everything behind it.

    For Android only.

    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.

    #68541
    NaxosCG
    Customer

    the Holdout shader is a good solution, but not USDZ / iOS, unfortunatelly.

    Mains issue is not to hide what is under the ground (i can make it black), but not to have iOS to use bounding box to settle the meshes on the floor.

    All tests i’ve made always put the meshes on the floor, regardless of my origin in the scene.
    I’ve also tried to move down the meshes before sending to AR with export to USDZ, it goes back onto the floor. I mean when i put my smartphone near the ground, i’m under the mesh.

    "1+1=3... for large values of 1"

    #68543
    NaxosCG
    Customer

    btw, how do i create the Holdout shader in 3dsmax, do you know ?

    "1+1=3... for large values of 1"

    #68544
    kdv
    Participant

    but not USDZ / iOS, unfortunatelly.

    No options fot iOS. At all. That’s iOS :unsure:

    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.

    #68546
    NaxosCG
    Customer

    OK, i’ll deal with it.

    "1+1=3... for large values of 1"

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