CariusLars / ar_flutter_plugin

Flutter Plugin for AR (Augmented Reality) - Supports ARKit on iOS and ARCore on Android devices
MIT License
318 stars 229 forks source link

Unable to render the .glb file from fileSystemAppFolderGLB in IOS but worked in android #131

Open usamashafiqs opened 1 year ago

usamashafiqs commented 1 year ago

Future download3dModel(String fileId) async { Directory appDocDir = await getApplicationDocumentsDirectory(); String appDocDirPath = appDocDir.path; final model = await ApiProvider.storage.getFileDownload( bucketId: ApiConstants.productsModelsBucketId, fileId: fileId, ); File('$appDocDirPath/$fileId.glb') ..createSync(recursive: true) ..writeAsBytesSync(model); }

ARNode newNode = ARNode( type: NodeType.fileSystemAppFolderGLB, uri: '3dmodel.glb', scale: vector.Vector3(10, 10, 10), position: vector.Vector3(0.0, 0.0, 0.0), rotation: vector.Vector4(1.0, 0.0, 0.0, 0.0), );

Debug console not showing any errors

farhodyusupov commented 9 months ago

did you find any solution

chenzelin1222 commented 1 month ago

did you find any solution