arcore_flutter_plugin icon indicating copy to clipboard operation
arcore_flutter_plugin copied to clipboard

Model visualization problem in ARFace

Open scognito opened this issue 5 years ago • 3 comments

I converted the model from fbx to sfb. It is loaded ok but the part that should be hidden from my head is visible AND is like black wireframe pixelized. I don't know if it is a problem of the library itself or arscene. ar

scognito avatar Jan 23 '20 17:01 scognito

I converted the model from fbx to sfb. It is loaded ok but the part that should be hidden from my head is visible AND is like black wireframe pixelized. I don't know if it is a problem of the library itself or arscene. ar

Can you please tell me how you did that because there are only shapes available

harshrs641 avatar Jul 03 '20 18:07 harshrs641

I've attached the FBX (renamed to .png otherwise I can't upload here) I've used the import of sceneform assets. hat fbx

pdivita avatar Jul 06 '20 15:07 pdivita

You need to add the function ArSceneView(context).setCameraStreamRenderPriority(0) to android/src/main/kotlin/com/difrancescogianmarco/arcore_flutter_plugin/ArCoreView.kt in the package file and change the implementation in both the package and your app's build.gradle to the following:

    implementation 'com.google.ar:core:1.15.0'
    implementation ('com.google.ar.sceneform:core:1.15.0') {
        exclude group: 'com.google.ar.sceneform', module: 'filament-android'
    }
    implementation 'com.google.ar.sceneform:assets:1.15.0'
    implementation group: 'com.google.ar.sceneform', name: 'filament-android', version: '1.12.0'
    implementation ('com.google.ar.sceneform.ux:sceneform-ux:1.15.0') {
        exclude group: 'com.google.ar.sceneform', module: 'core'
    }

ljmatan avatar Nov 01 '20 23:11 ljmatan