About this stream
Автор flutter3d вживую соберёт 3D-игру на Flutter с нуля на своём движке. У flutter3d свои рендерер, физика, звук и редакторы, он написан на Dart и C и опубликован на pub.dev 61 пакетом. Рендерер оптимизирован под реальное время: в нём есть BVH-куллинг, LOD по размеру на экране, частицы рисуются одним вызовом отрисовки, а модели разбираются за микросекунды.
План:
- проект из flutter create и уровень из шаблона платформера;
- атмосфера: туман, лучи света, bloom, тени, отражения в воде и цена каждого эффекта в кадре;
- физика на C через FFI (в браузере через WebAssembly): ящики, верёвочный мост, огонь, который перекидывается на постройки;
- персонаж с инверсной кинематикой и рэгдоллом;
- ИИ-агент лепит модель в редакторе по MCP;
- тест, который сам проходит уровень и сверяет кадр с эталоном без видеокарты;
- сборка под веб и десктоп.
По ходу автор расскажет, как устроен движок и как баг во flutter_gpu превращал персонажа в щепку.
Ссылки: flutter3d.pleion.dev · github.com/pleiondev/flutter3d
==========
The author of flutter3d will build a 3D game with Flutter from scratch, live, on the engine. flutter3d has its own renderer, physics, audio and editors, is written in Dart and C, and is published on pub.dev as 61 packages. The renderer is built for real time: it has BVH culling, LOD based on on-screen size, particles drawn in a single draw call, and models parsed in microseconds.
The plan:
- a project from flutter create and a level from the platformer template;
- atmosphere: fog, light shafts, bloom, shadows, reflections on the water, and what each effect costs per frame;
- physics in C through FFI (WebAssembly in the browser): crates, a rope bridge, and fire that spreads to buildings;
- a character with inverse kinematics and a ragdoll;
- an AI agent building a model in the editor over MCP;
- a test that plays the level by itself and compares a frame to a reference with no GPU;
- a build for the web and desktop.
Along the way, the author will show how the engine works inside and how a flutter_gpu bug turned a character into a sliver.
Links: flutter3d.pleion.dev · github.com/pleiondev/flutter3d
The language of this event is Russian.