CariusLars / ar_flutter_plugin

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

AR ios - Reality Composer #3

Closed maxTeste closed 3 years ago

maxTeste commented 3 years ago

Hi thank you very much for adding just one plugin to ARcore and Arkit. I've been working with augmented reality. In IOS only swift there is a Reality composer feature, which allows you to do everything related to AR. Then in the xcode it is only nedded to import the .rcproject file but in the flutter it is not possible to import that file.

imagem

Do you think you can implement this feature or something like that that has several object anchors for images and that also uses ARKit 4 so that have the latest features

CariusLars commented 3 years ago

Reality composer

Hi @rubenteste, thanks for your PR. A quick note before I comment on Reality Composer: Your PR does not add any code, so I'd suggest moving this conversation to an Issue.

Reality Composer is great app for creating scenes and models, but it's not a feature of an iOS AR app, rather a means to create and export the models then used by the app. I agree that importing a .rcproject file is very convenient, however, it is highly specific to iOS. The Flutter AR Plugin aims to provide cross-platform functionality, so adding a feature that works under iOS only makes no sense. For this reason, I decided to go with .GLTF and .GLB models first to offer a common format. The plugin currently uses Sceneform to handle 3D models for ARCore, which can deal with model formats like .obj, .glTF, and .fbx. If you find a way to appropriately convert scenes and models from Reality Composer to be used with Sceneform and ARCore as well, feel free to implement it and create a PR, that would be a great feature! Exporting to USDZ format first could be a starting point worth looking into.

Best regards,

Lars