We are excited to have you tinker on the Impeller Scene Demo presented at Flutter Forward. While we spend time learning the use-cases and finalizing the API, the functionality for Impeller Scene is behind a compile-time flag. During this time, there are no guarantees around API stability.
Compiling the Engine
./flutter/tools/gn --enable-impeller-3d --no-lto
./flutter/tools/gn --enable-impeller-3d --no-lto --ios
--simulator --simulator-cpu=arm64
flag to the iOS build if you are going to test on the simulator.ninja -C out/host_debug
ninja -C out/ios_debug
ninja -C out/ios_debug_sim_arm64
git clone https://github.com/bdero/flutter-scene-example.git
and move into the directory.Simulator.app
, then run flutter devices
to note the device identifier.flutter run -d [device_id] --local-engine ios_debug --local-engine-host host_debug
(or ios_debug_sim_arm64
if you are running on the Simulator).--local-engine-host host_debug_arm64
(adjusting your ninja
command above accordingly)We hope to continue evolving the API and have it available on the stable channel soon!