Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug ARKit smoothedSceneDepth frame semantic is not available in ARFoundation

Discussion in 'AR' started by boruds, Apr 12, 2021.

  1. boruds

    boruds

    Joined:
    Aug 7, 2020
    Posts:
    28
    ARKit provides a smoothedSceneDepth frame semantic that does an averaged smoothing on the depth data. I know Unity does its own smoothing.
    I need the smoothedSceneDepth semantic data in my own native iOS plugin.
    Is it possible to enable it somehow?
     
  2. boruds

    boruds

    Joined:
    Aug 7, 2020
    Posts:
    28
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,787
    Hey hey! So, this functionality is planned for a future release. No ETA to share at this time, however.
     
    boruds likes this.
  4. boruds

    boruds

    Joined:
    Aug 7, 2020
    Posts:
    28
    Looking forward to it!
     
  5. boruds

    boruds

    Joined:
    Aug 7, 2020
    Posts:
    28
    @TreyK-47 One feature request is that the depth semantic was only enable when in the scene I add an AROcclusionManager. When this update is made it will be great if we can set the sceneDepth or smoothedSceneDepth semantic without enabling the AROcclusionManager. With the AROcclusionManager enabled, I see a lot of depth occlusion artifacts like z-fighting when the plane has a flicker on it as the occlusion manager is trying to hide it.

    It will be great if I can enable the depth or smoothed scene depth without enabling the AROcclusionManager.
     
  6. boruds

    boruds

    Joined:
    Aug 7, 2020
    Posts:
    28
    @TreyK-47 any rough estimate on when will we get the smoothSceneDepth?
     
  7. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,787
    Not at this time.
     
  8. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,787
    boruds likes this.