Search code examples
androidunity-game-enginegoogle-project-tango

Occlusion in Tango AR Camera


I have a simple Tango Unity app which uses the Tango AR Camera prefab to display a 3D object in augmented reality.

Following this question, I wanted to try out the occlusion feature provided by TangoARScreen.

Therefore I have:

  • checked the "Enable Occlusion" checkbox
  • enabled depth detection in Tango Manager
  • added a Tango Point Cloud with Update points mesh enabled.

However the 3D object never gets hidden by foreground real-world objects. What am I missing?

Is there any sample project that demonstrates this "Enable Occlusion" feature?


Solution

  • That seems to have been fixed in latest versions of the Tango SDK.