Code Monkey home page Code Monkey logo

arcore-filament-example-app's Introduction

AR Core Filament Example App

This project is an example of how to get ARCore working with Filament without the use of Sceneform Android SDK.

This app shows detected planes and can manipulate a single model with pinch and rotate.

Attribution

Sample GLB model with animation provided by Queenie Chan on https://poly.google.com/view/dh3af8qUMl1

arcore-filament-example-app's People

Contributors

zirman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arcore-filament-example-app's Issues

depth branch

Hello and thanks again for the great repository,
I have one question I tried 'gitk' on the repo and it seems 'depth' branch is not merged with master.
and I tried to see difference between depth branch and master branch and I saw the depth configurations are set in both branches, so could you please tell me what are the differences between these branches?and does depth just work on depth branch?cause I think it is working on master too?(a little confused)

and another question the depth that is used here is the Depth API that is introduced by Google yes?
this link : https://developers.google.com/ar/develop/java/depth/overview

Thanks.

[Request]: Upgrade from 1.10.3 to 1.12.11

Can you update the project and update filament dependencies to 1.12.11?

When I update to 1.12.11 and run the app, I get this error:

2021-11-10 15:06:06.385 23682-8803/com.example.app E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2021-11-10 15:06:06.477 23682-8803/com.example.app E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2021-11-10 15:06:06.503 23682-8803/com.example.app E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2021-11-10 15:06:06.526 23682-8803/com.example.app E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2021-11-10 15:06:06.557 23682-8803/com.example.app E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2021-11-10 15:06:06.561 23682-8803/com.example.app E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2021-11-10 15:06:07.023 23682-8665/com.example.app E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-11-10 15:06:07.026 23682-8665/com.example.app E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-11-10 15:06:07.032 23682-23682/com.example.app E/native: E1110 15:06:07.032579   23682 scheduler.cc:278] generic::internal: RET_CHECK failure (third_party/mediapipe/framework/scheduler.cc:278) state_ != STATE_NOT_STARTED (0 vs. 0) 
    Stack trace:
2021-11-10 15:06:07.032 23682-23682/com.example.app E/native: E1110 15:06:07.032646   23682 normal_detector_cpu.cc:231] Error graph_->WaitUntilIdle():INTERNAL: RET_CHECK failure (third_party/mediapipe/framework/scheduler.cc:278) state_ != STATE_NOT_STARTED (0 vs. 0) 
    === Source Location Trace: ===
    third_party/mediapipe/framework/scheduler.cc:278
    third_party/mediapipe/framework/calculator_graph.cc:806
2021-11-10 15:06:08.255 23682-8803/com.example.app E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2021-11-10 15:06:08.270 23682-8803/com.example.app E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2021-11-10 15:06:08.292 23682-8803/com.example.app E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2021-11-10 15:06:08.302 23682-8803/com.example.app E/sqlite3_android: [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2021-11-10 15:06:08.592 23682-23682/com.example.app E/Filament: in const UniformInterfaceBlock::UniformInfo *filament::UniformInterfaceBlock::getUniformInfo(const char *) const:128
    reason: uniform named "alpha" not found
2021-11-10 15:06:08.635 23682-8577/com.example.app E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-11-10 15:06:08.650 23682-8577/com.example.app E/libc: Access denied finding property "persist.vendor.camera.privapp.list"
2021-11-10 15:06:08.669 23682-8665/com.example.app E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-11-10 15:06:08.669 23682-8665/com.example.app E/libc: Access denied finding property "vendor.camera.aux.packagelist"
2021-11-10 15:06:09.261 23682-23682/com.example.app E/native: E1110 15:06:09.261598   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.347 23682-23682/com.example.app E/native: E1110 15:06:09.347107   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.385 23682-23682/com.example.app E/native: E1110 15:06:09.385194   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.437 23682-23682/com.example.app E/native: E1110 15:06:09.437874   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.470 23682-23682/com.example.app E/native: E1110 15:06:09.470670   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.504 23682-23682/com.example.app E/native: E1110 15:06:09.504717   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.516 23682-23682/com.example.app E/native: E1110 15:06:09.516431   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.571 23682-23682/com.example.app E/native: E1110 15:06:09.571261   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.604 23682-23682/com.example.app E/native: E1110 15:06:09.604917   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.615 23682-23682/com.example.app E/native: E1110 15:06:09.615415   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.671 23682-23682/com.example.app E/native: E1110 15:06:09.671507   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.704 23682-23682/com.example.app E/native: E1110 15:06:09.704635   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.738 23682-23682/com.example.app E/native: E1110 15:06:09.738493   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.771 23682-23682/com.example.app E/native: E1110 15:06:09.771311   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.804 23682-23682/com.example.app E/native: E1110 15:06:09.804823   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.838 23682-23682/com.example.app E/native: E1110 15:06:09.838092   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.874 23682-23682/com.example.app E/native: E1110 15:06:09.874032   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.907 23682-23682/com.example.app E/native: E1110 15:06:09.907513   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.940 23682-23682/com.example.app E/native: E1110 15:06:09.940674   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:09.951 23682-23682/com.example.app E/native: E1110 15:06:09.951686   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:10.008 23682-23682/com.example.app E/native: E1110 15:06:10.008089   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:10.041 23682-23682/com.example.app E/native: E1110 15:06:10.041917   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:10.074 23682-23682/com.example.app E/native: E1110 15:06:10.074878   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:10.107 23682-23682/com.example.app E/native: E1110 15:06:10.107439   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:10.129 23682-23682/com.example.app E/native: E1110 15:06:10.128999   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:10.175 23682-23682/com.example.app E/native: E1110 15:06:10.175525   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:10.208 23682-23682/com.example.app E/native: E1110 15:06:10.208142   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:10.243 23682-23682/com.example.app E/native: E1110 15:06:10.243504   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:10.272 23682-23682/com.example.app E/native: E1110 15:06:10.272685   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:10.306 23682-23682/com.example.app E/native: E1110 15:06:10.306526   23682 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3159
    
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: ===
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2139
    third_party/arcore/ar/core/session.cc:3159
2021-11-10 15:06:13.665 23682-8840/com.example.app E/native: E1110 15:06:13.665476    8840 sbr_action_state.cc:215] 2 consistent ADF to VIO transformation from MLE are required to initialize this variable in VIO. Current value is 1.
2021-11-10 15:06:13.665 23682-8840/com.example.app E/native: E1110 15:06:13.665577    8840 ralph_adapter.cc:820] NOT_FOUND: Map with id:  not found in the state.
    === Source Location Trace: ===
    third_party/alphatrack/internal/ralph/ralph.cc:1259

P.S I've run ./build-materials.sh script after I've upgraded dependencies to 1.12.11

Removal of white plane dots after rendering model

Thanks for the great codes, it really helped me a lot to get a quick start on Filament and ARCore.

I do need help with one issue. Is there any way for me to be able to remove the plane detection dots after tapping on the screen to render the model?

E.g. After plane detection, the dots are still there. After tapping the screen, only the model remains.

Help would be appreciated, thank you in advance!

openning a gltf file

I want to open a GLTF file instead of glb which you have use here in this repo.
but doesn't work I just replaced the model with a gltf model an I think this could be ok as I search in the internet.
but here what it gave me:
2021-04-20 06:27:21.287 11456-11456/com.example.app E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.app, PID: 11456 java.lang.NullPointerException at com.example.app.renderer.ModelRenderer$1$filamentAsset$1.invokeSuspend(ModelRenderer.kt:48) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

Show a Rectangle with Camera

Hello it's me again,
sorry keep bothering you,
actually I am using your repo to help me create an app to put objects on the floor, and now what I am working on is putting tags on objects giving informations about them.
I started with this example: https://github.com/google/filament/tree/main/android/samples/sample-page-curl
to create a rectangle and upload the image(PNG, JPEG) of information to it.
I saw in the example that the page is shown in the SkyBox. like most of filament examples, and here I want to show it with the camera.
so my challenge is that I have added a page(like the example I sent you from the filament repo) to your project which I have cloned but can't see it with the camera opened.
So I reached out to you to ask you help on how to add a page which is like a rectangle on the camera(is it possible?)
or if you think this is not a perfect way for doing this(since I think the page is in 2D not 3D and if I should convert the image to some formats which could be shown on the object as the information) I will really appreciate it if you could give me some hints for adding tags on the object(like sticking a paper on the object that we have put on the plane) which is now located on the plane for the user.

[Question]: How to create *.mat files

I realized you have depth.mat, flat.mat, shadow.mat and textured.mat. I'm wondering how did you create those files?(that then we can build .filamat files with the help of the shell script).

Code explanation help

Hello again and thanks for the great repo,
I have some questions about the code which will be happy if you could help me with.
first is, what is the use of class 'FrameCallback'? since it is extending the 'Choreographer.FrameCallback' I can geuss that it is a helper class for updating animation, am I right?
Since I am going to just put one model without animation on the screen, is this class still needed? or I can just use the 'update' method in ARCore for that, for just updating the model per frame?(I am guessing the update method in ArCore class is doing the job of the override method 'onDrawFrame' right? )

Thank you!

Convert .mat file to .filamat

Hello zirman,
thanks for the great sample.
I am struggling with converting .mat file to .filamat.
As you mentioned in build-materials.sh

matc should either built from source or downloaded for your platform

I've tried to clone filament repo and try to build it(although no success, and I just want to use the matc tool), I don't know how to use the tools folder, to use matc tool for this conversion. if you could give me some hints or the steps I should go that will be great, cause it seems you've done it in this sample successfully.
any help will really be appreciated.

Adding AugmentedFaces

Hi @zirman, first of all - thank you for this awesome project!
I was wondering if you could give me a nudge in the right direction towards getting augmented faces to work.
With sceneform we would use augmentedFaceNode but I'm not sure how to utilize the equivalent here.
Thanks in advance!

Materials and Reflections

Hi @zirman!
First of all, thanks for this amazing project! I've been looking for something like this for months. I'm studying so I can build my own AR framework.

Second, I'm sorry if this is a dumb question, but I would like to know where or how did you get those Materials and Reflections files. Were them from filament repo? I didn't find them there (with specific names). Do you care to explain a little bit more about these resources?

Again, thank you a lot!

[Question]: Where to change the orientation of the model

I've played with this:

filament.engine.transformManager.getInstance(filamentAsset.root),
                        m4Identity()
                            .translate(translation.x, translation.y, translation.z)
                            .rotate(rotate.toDegrees, 0f, 1f, 0f)
                            .scale(scale, scale, scale)
                            .floatArray,

But I wasn't successful to change the default orientation of the model.
My model is vertical by default but, when I replace your model with mine, it falls on the flat.

How to make full-screen surfaceview?

Thanks in advance for your great example.

I wonder how to make full AR screen.

I tried as below but filament's locating models doesn't seem to work properly

session.setDisplayGeometry(displayRotation, SURFACEVIEW_WIDTH, SURFACEVIEW_HEIGHT)
uiHelper.setDesiredSize(SURFACEVIEW_WIDTH, SURFACEVIEW_HEIGHT)

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.