wdevore / FlutterSoftwareRenderer

A simple software 3D modeler written in Flutter and Dart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlutterSoftwareRenderer

A simple software 3D modeler written in Flutter and Dart as a Desktop application.

Flutter doesn't have a way of parking an SDL window within the application because Flutter is the window. Dart can because it doens't have a window.

Thus is app uses Canvas to draw pixels, however, the number of pixels is limited by the bus bandwidth between the CPU and GPU. Depending on how capable your GPU is you may only have about 10,000 to 40,000 pixels at 60fps = 16.7ms frame rates. This is a window of 100x100 to 200x200 which isn't very large. But it will do for the purposes of this application.

Info

The application is built in various stages:

  • "test_drive" A default desktop app
  • "basic_line" A demo of a line on a Canvas

Notes

Custom paint widgets

Create

flutter create desktop-app

or

flutter create --platform linux --template app basic_line

Tutorials and examples

Running the app

flutter run -d linux

About

A simple software 3D modeler written in Flutter and Dart

License:MIT License


Languages

Language:CMake 41.8%Language:C++ 36.5%Language:Dart 14.4%Language:C 3.1%Language:HTML 2.1%Language:Swift 1.9%Language:Kotlin 0.1%Language:Objective-C 0.0%