ARKit Visualise Raw Feature Points from the ARWorldmap rawfeaturepoint

An

ARWorldMap
has
rawFeaturePoints
, which is a pointcloud of type
ARPointCloud

Does anyone know how to go about visualising this pointcloud much like in the following video;

https://m.youtube.com/watch?v=Pb4uv4FSWKI

How could this be achieved?

Replies

Hello Geoff,


You can use the coordinates from the rawFeaturePoints to create a visualization of your ARPointCloud.


See: https://developer.apple.com/documentation/arkit/arpointcloud/2927814-points


Additionally, the Scanning and Detecting 3D Objects sample code has a point cloud visualization that could get you up and running:

https://developer.apple.com/documentation/arkit/scanning_and_detecting_3d_objects

Thanks. Is there a way to obtain a sample color from each of those points too?