3 ms·
Interesting, thanks for the context. How "native" is it in Flutter, ie can I have 3D models directly inside a Flutter app? A good example could be something lik
by satvikpendem 2y ago
Interesting, thanks for the context. How "native" is it in Flutter, ie can I have 3D models directly inside a Flutter app? A good example could be something like the Wonderous app [0] where instead of SVGs of the monuments, it could be 3D models instead. Is it fairly easy to embed inside Flutter and still have the core app functionality work (ie, responsive to touches, accessibility, etc)?
[0] https://github.com/gskinnerTeam/flutter-wonderous-app https://github.com/gskinnerTeam/flutter-wonderous-app
- nmfisher 2y agoOn Android, iOS and MacOS, the 3D viewport is just a widget just like any other in the Flutter hierarchy (so has access to gestures/filtering/etc). Doing that on Windows is more difficult (as there’s no D3D backend for Filament), so it’s actually an HWND that sits behind the Flutter app. On web, it’s similar (HTML5 canvas), but this can actually be imported into the Flutter app as a widget, I haven’t wired that up yet (there are performance implications on certain browsers too).