/flutter_scene

3D library for Flutter.

Primary LanguageDartMIT LicenseMIT

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 lever 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.
scene-example.mov