https://github.com/wdevore/flutternanomodeler
A very simple demo of using Flutter's CustomPaint widget
https://github.com/wdevore/flutternanomodeler
Last synced: 5 months ago
JSON representation
A very simple demo of using Flutter's CustomPaint widget
- Host: GitHub
- URL: https://github.com/wdevore/flutternanomodeler
- Owner: wdevore
- License: mit
- Created: 2024-03-17T14:42:22.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-25T17:28:24.000Z (about 2 years ago)
- Last Synced: 2024-03-25T19:15:33.739Z (about 2 years ago)
- Language: CMake
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FlutterNanoModeler
A very simple demo of using Flutter's CustomPaint widget.
# Initial build:
```sh
flutter create --platform linux --template app modeler
```
# Design
- Select an object from a list. Selecting automatically adds it to the scene based on the current insert 3D cursor
- Arcball
- Objects
- Cube
- Plane
- Pyramid
- sphere
- Line
- Object selection
- Move selected object (G)
- Only flat shading
# Tasks
- ☑ Refactor app to include custom painter
- ☑ Animator controller
- ☒ Vertices type data
- ☒ Transform pipeline
- ☒ model view
- ☒ perspective projection
- ☒ Integrate River_pod
- ☒ Port GLM to Dart
- https://github.com/g-truc/glm
- https://learnopengl.com/Introduction
- https://learnopengl.com/Getting-started/Camera
// - ☑
// - ☒
# Notes
- https://www.youtube.com/watch?v=pD38Yyz7N2E excellent video from Filip Hracek
- https://www.youtube.com/watch?v=DmId-KOgPkg Filip with Craig: Faking 3D
- https://www.youtube.com/watch?v=OpcPZdfJbq8 custom fragment shader howto
- https://thebookofshaders.com/
- https://www.youtube.com/watch?v=HQT8ABlgsq0 very advanced UI
- https://ksimek.github.io/2013/06/03/calibrated_cameras_in_opengl/ perspective projection matrix for Frustum.
## Custom paint
- https://getstream.io/blog/definitive-flutter-painting-guide/
- https://api.flutter.dev/flutter/dart-ui/Vertices-class.html
- https://api.flutter.dev/flutter/dart-ui/Canvas-class.html
- https://pub.dev/documentation/vector_math/latest/vector_math/vector_math-library.html