Search Unity

ARCore: How to have point cloud ignore instantiated virtual objects

Discussion in 'AR' started by K-a-i, Jan 30, 2020.

  1. K-a-i

    K-a-i

    Joined:
    Oct 10, 2015
    Posts:
    8
    Hi! I instantiated some cubes on the point clouds position. However, subsequent frames, the detected point cloud overlays over these instantiated cubes and more cubes will keep stacking towards the camera. Shouldn't the point cloud detection ignore the instantiated 3d objects that are not part of the AR camera image?

    Is there some settings to ignore these instantiated 3d objects for the detected points cloud? Or I have to somehow overwrite the Frame.CameraImage with a camera view texture from another source/class?

    Any ideas, thanks! :)
     
  2. todds_unity

    todds_unity

    Joined:
    Aug 1, 2018
    Posts:
    324
    Feature points are not detected on virtual objects. The hardware has absolutely no knowledge of the virtual objects in a Unity scene.
     
  3. K-a-i

    K-a-i

    Joined:
    Oct 10, 2015
    Posts:
    8
    You are right, it does not detect the virtual objects. Probably have to clean up some of the points with less accuracy on the depth as it scans. Thanks!
     
    todds_unity likes this.