How to Filter Point Cloud Points on Different circumstances?

Hi Everyone,
I’m new to Unity AR Development, and I want help to solve some of my concerns regarding an issue that I’m currently facing while developing an app. I’m not developing a mesh rendering application.
I want to know how to filter points of a point cloud once initialized in an AR Scene by,

  1. p-value - the probability value of accuracy of an obtained point higher than 0.75
  2. Distance to the camera since There are no limitations on creating a point cloud.
  3. Between the minimum and maximum height in the AR scene (On objects etc.)

I’ve tried storing data and accessing it without filtering but seems to cause performance issues.
Can anyone help me to solve this? Thank you in advance.

Anyone?

Hello! So, you could query the confidence values of the point cloud, however this is not available on all platforms. Your other questions are pretty use-case specific and you will need to create a bounding volume of some kind in your code.

https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.1/api/UnityEngine.XR.ARFoundation.ARPointCloud.html#UnityEngine_XR_ARFoundation_ARPointCloud_confidenceValues

Hi @TreyK-47 ,
Thank you for your reply. Yes, I found out that ARKit does not provide confidence values.
Will you be able to give me a heads-up please? I’ve got stuck here for weeks now