Search Unity

AR Foundation featurePoints die when out of cam FOV

Discussion in 'AR' started by BuoDev, Feb 20, 2019.

  1. BuoDev

    BuoDev

    Joined:
    Nov 28, 2018
    Posts:
    45
    Is there a way to keep featurePoints from dying when they go off screen? When panning they seem to be cleared.

    Also, is there a way to adjust the sensitivity and amount of feature points provided, or is this handled completely by ARkit/ARcore?
     
  2. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    What's your purpose for keeping them alive outside of the screen?
     
  3. BuoDev

    BuoDev

    Joined:
    Nov 28, 2018
    Posts:
    45
    I'm using planes primarily and featurePoints secondarily for tracking. For featurePoints, the pose is estimated using the available featurePoints near the touch position. Everything is fine with constant movement, but when you hold still and just rotate the device, there's hardly ever enough parallax for a sufficient amount of new featurePoints to be picked up. By using the old featurePoints the user could pan and move object simultaneously. Once new (more accurate) featurePoints are found, the older featurePoints can be discarded.
     
  4. BuoDev

    BuoDev

    Joined:
    Nov 28, 2018
    Posts:
    45
    @tdmowrer think you could help with this? :)