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

Create a simple working demo #9

Closed giansimo closed 4 years ago

giansimo commented 4 years ago

Hi everybody, I'm having some problems with creating a simple working demo from 0. My goal is to put some GameObject in the scene with a custom material and use the Depth map to occlude part of the cube when it's not visible. Which are the steps to get it?

When I run, no depth info is used and cubes appear in the old way. What's is my fault?

ruofeidu commented 4 years ago

Hi giansimo,

Please let me know if you still need help. ARCore preview mode does not support depth API yet so we need to deploy the app onto the actual devices for testing.