glint_engine
0.3.0, released 3 months ago by kiddobuild.dev
A Flutter-first 3D engine for rendering glTF models with physics and a real‑time game loop.
What it does
Glint renders glTF/GLB models as Flutter widgets, supporting PBR lighting, skeletal animation, and deterministic physics. It also provides a ticker‑driven game loop and lets you pin regular Flutter widgets to 3D points.
AI-written summary of version 0.3.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- building 3D games or interactive product showcases in Flutter
- need real‑time physics, skeletal animation, or vehicle dynamics
- want to overlay Flutter UI directly onto 3D scenes
Skip it when
- targeting web platforms (not supported)
- requiring ultra‑high‑performance native 3D like Unity or Unreal
- cannot enable Flutter GPU in the app
Strengths
- Deep integration with Flutter GPU for high performance
- Full glTF 2.0 support with PBR, HDRI, and animation
- Deterministic physics and vehicle dynamics
- Ability to embed any Flutter widget in 3D space
Weaknesses
- Limited platform support (Android, iOS, macOS only)
- Early‑stage API; breaking changes expected before 1.0
- Requires manual manifest changes to enable Flutter GPU
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 4
Add Flutter GPU flags to iOS/Info.plist, macOS/Info.plist, and AndroidManifest.xml as described in the README; no additional native code needed.
import 'package:glint_engine/glint_engine.dart';
GlintGpuFirstLight(
model: Model.asset('assets/product.glb'),
environmentAsset: 'assets/studio.hdr',
fallback: const Text('Flutter GPU unavailable'),
);Alternatives
Packages that do the same job and could replace glint_engine.
Works with
Packages commonly used together with glint_engine: ones it builds on, ones built on it, and its own family.
- hooksglint_engine depends on itDart API for the JSON-based protocol for package build and link hooks.
- vector_mathglint_engine depends on itVector math library for 2D/3D/4D vectors, matrices, quaternions, and geometry.
- flutter_gpu_shadersglint_engine depends on itBuild tool that compiles Flutter GPU shader bundles via a build hook.