arcore_flutter_plugin
arcore_flutter_plugin copied to clipboard
Model visualization problem in ARFace
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.
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.
Can you please tell me how you did that because there are only shapes available
I've attached the FBX (renamed to .png otherwise I can't upload here)
I've used the import of sceneform assets.
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'
}