googlesamples / arcore-depth-lab

ARCore Depth Lab is a set of Depth API samples that provides assets using depth for advanced geometry-aware features in AR interaction and rendering. (UIST 2020)
https://augmentedperception.github.io/depthlab/
Apache License 2.0
762 stars 152 forks source link

Creating pointcloud #5

Closed Zumbalamambo closed 4 years ago

Zumbalamambo commented 4 years ago

How can I create a point cloud of the environment using depth api?

kidavid commented 4 years ago

You can create an empty GameObject and add a MeshFilter and a MeshRenderer component. Finally, add our PointCloudGenerator.cs component, then call its "void ComputePointCloud()" method to update the point cloud.

https://github.com/googlesamples/arcore-depth-lab/blob/master/Assets/ARRealismDemos/Common/Scripts/PointClouds/PointCloudGenerator.cs

ruofeidu commented 3 years ago

Please also check out the latest release: https://github.com/googlesamples/arcore-depth-lab/releases and the Play Store app for fusing raw point clouds: https://play.google.com/store/apps/details?id=com.google.ar.unity.arcore_depth_lab