flutter_scene
flutter_scene copied to clipboard
3D library for Flutter.
Flutter Scene
3D library for Flutter.
Please read: Makeover in progress!
In 2023, this renderer was shown off at both Flutter Forward and Google I/O (see also the example repository).
Currently, most of the functionality is built in C++ (as a subsystem in Impeller called Impeller Scene). In 2023, I took a step back and began building out Flutter GPU, a new low level graphics API that talks directly to Impeller's HAL from Dart.
As mentioned in the Flutter GPU doc, this renderer is undergoing a rewrite in Flutter GPU. To track progess, please check this bug or the flutter-gpu branch for progress!
Obligatory warning
⚠️ Experimental: Do not use in production! ⚠️
- This package does not work out of the box and currently requires a special custom build of Flutter Engine.
- This package is in alpha and will break as changes are made to the underlying renderer.
- The underlying Flutter API used to build and render Scene nodes is not supported and will eventually be removed/replaced altogether.
Features
- Declarative scene widget for building scenes in the Flutter widget tree.
- GLTF asset import.
- Textured materials.
- Blended animation system.
https://github.com/bdero/flutter_scene/assets/919017/b44fba62-ec48-4ab4-80cc-6449cef21292