three.js example jsm rewrite by Dart.
Used by three_dart
License: Other
three.js example jsm rewrite by Dart.
Used by three_dart
I'm unable to build a flutter project that depends on three_dart_jsm
; I'm getting this error:
$ flutter run -d "SM G988W"
Launching lib/main.dart on SM G988W in debug mode...
FAILURE: Build failed with an exception.
* What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':flutter_gl' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61
my system environment:
$ flutter --version
Flutter 3.13.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d211f42860 (2 weeks ago) • 2023-10-25 13:42:25 -0700
Engine • revision 0545f8705d
Tools • Dart 3.1.5 • DevTools 2.25.0
$ sw_vers
ProductName: macOS
ProductVersion: 14.1
BuildVersion: 23B74
I'm interesting in what you did in the flutter_gl three_dart and three_dart_jsm. However, three dart jsm seems a little slow behind three dart. I want the gltf/glb loader module, but I don't know how can I contribute to it. more empty interface designs will make others easily to contribute in. I'm sorry to provide suggesting by a way of creating an issue. If there is other ways to better communicate with you, hope to tell me.
Would be nice to do a pub.dev release after this is merged (#12).
There is no license file in this repo (three_dart package does have a license though).
I would like to be able to develop commercial software that uses the tools in here, and I would like to be certain that I am using it in a legally safe way.
Thanks @wasabia for making these js => dart rewrites. It feels a lot better to develop with the well known three.js format, rather than creating everything from scratch like some of the other 3D flutter packages are doing.
[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: type '(num) => num' is not a subtype of type '(dynamic) => dynamic' of 'f'
E/flutter (30874): #0 generateTransform (package:three_dart_jsm/three_dart_jsm/loaders/FBXLoader.dart:3966:44)
With the various fixes of linter warning applied in 4af7d72 several regression were introduced. For example the ArcballControls
are completely broken, because the class members camera
, listenableKey
and scene
are not set anymore.
Even after fixing those, the ArcballControls
fail at several operations like zooming, because the _gizmos.position
contains NaN
values for x
, y
and z
.
The dom_like_listenable getButton is updated and always returns a 0 now. Because of this all buttons default to being interpreted as "LEFT".
Ill create a PR to fix this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.