google-ar / arcore-android-sdk

ARCore SDK for Android Studio
https://developers.google.com/ar
Other
4.95k stars 1.22k forks source link

Depth API does not work when using with sceneform #1131

Closed HemanParbhakar closed 4 years ago

HemanParbhakar commented 4 years ago

SPECIFIC ISSUE ENCOUNTERED

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Create a new project.
  2. Add arcore library along with sceneform library.
  3. Make ar object place upon tap of ARFragment.
  4. Now as the session have enabled depth api as AUTOMATIC.
  5. When you place the AR Object behind any physical object it will be visible as well.

WORKAROUNDS (IF ANY)

ADDITIONAL COMMENTS

devbridie commented 4 years ago

Sceneform doesn't have support for the Depth API, as enhancements to Sceneform had ceased before Depth API's release. No depth information will be used to occlude objects in Sceneform.

HemanParbhakar commented 4 years ago

If i want to do the depth API without having knowledge of OpenGL what are the alternatives to that.