Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Point Cloud usage

Discussion in 'Handheld AR' started by rxmarccall, Jul 13, 2018.

  1. rxmarccall

    rxmarccall

    Joined:
    Oct 13, 2011
    Posts:
    326
    I've gotten AR Foundation up and running with ARKit. I'm able to spawn planes and see them visualized as well as the Cloud Points.

    My question is how do I now access that point cloud data and use it? I only see the one webpage that is a get started guide for AR Foundation. Does the ARKit for unity documentation apply to ARFoundation too? Or not really?

    I've really enjoyed AR Foundation thus far, just looking for more documentation....
     
  2. jimmya

    jimmya

    Unity Technologies

    Joined:
    Nov 15, 2016
    Posts:
    793
    Yes, there is a shortage of samples and documentation at the moment, but we're working on it. You can look at the source for ARFoundation to see how it handles point clouds etc. See https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@1.0/manual/index.html and ARPointCloudManager and ARPointCloud source files by double clicking on them in the Editor.
     
  3. rxmarccall

    rxmarccall

    Joined:
    Oct 13, 2011
    Posts:
    326
    Thanks @jimmya , the classes themselves appear to be pretty simple, so that's helpful.

    Can you describe the Point Cloud confidence values? Is this a normalized 0 - 1 value? Or something else?
     
  4. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    556
    Yes, they are normalized 0..1
     
  5. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    556
    Every public property and method of the API is documented (the "Scripting API" link is easy to miss). This might be easier than digging through the code: https://docs.unity3d.com/Packages/c...gine.XR.ARFoundation.ARPointCloudManager.html
     
    rxmarccall likes this.
  6. soorya696

    soorya696

    Joined:
    Dec 13, 2018
    Posts:
    70
    how to get the reference of ARPointCloud?
     
  7. todds_unity

    todds_unity

    Unity Technologies

    Joined:
    Aug 1, 2018
    Posts:
    147
  8. niksasaw

    niksasaw

    Joined:
    Mar 3, 2017
    Posts:
    8
    Hi,
    As mentioned in AR Point Cloud Manager, each feature point have a unique identifier, so is this unique across different AR sessions?
    I wanted to use this identifier to build a custom localization solution
     
  9. KirillKuzyk

    KirillKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    112
  10. niksasaw

    niksasaw

    Joined:
    Mar 3, 2017
    Posts:
    8
unityunity