Commit Graph
100 Commits
Author SHA1 Message Date
Nick Fisher d4cd3c23fb re-introduce guards for bloom on Emscripten 2024-06-16 13:22:02 +08:00
Nick Fisher 3b6969909c add last working Fluttter commit to README for WASM compat 2024-06-16 13:22:02 +08:00
Nick Fisher 663be45e6a remove inadvertent dart:ffi dependency 2024-06-16 13:22:02 +08:00
Nick Fisher 860acce797 Merge pull request #35 from nmfisher/feature/bone-animation-blending
Blend between glTF and dynamic bone animations
2024-06-16 15:13:12 +10:00
Nick Fisher c0eae7b7a9 Merge pull request #34 from nmfisher/feature/native-assets
Migrate to native-assets & restructure into separate Dart/Flutter packages
2024-06-16 15:11:35 +10:00
Nick Fisher 5c5897f74d add maxDelta to blend between glTF and dynamic bone animations 2024-06-10 22:32:44 +08:00
Nick Fisher 5798a269ec docs 2024-06-09 11:28:22 +08:00
Nick Fisher b5ed69483c use ifdef guards for Windows pragmas 2024-06-08 22:26:33 +08:00
Nick Fisher 0f892645af remove example dev dependency on native_* packages 2024-06-09 00:09:19 +10:00
Nick Fisher c1b4d6463a remove all pubspec.lock files 2024-06-09 00:08:30 +10:00
Nick Fisher 2b4e4ec490 Merge branch 'feature/native-assets' of github.com:nmfisher/polyvox_filament into feature/native-assets
- prebuilt library zip files now downloaded directly from Cloudflare to
  .dart_tool/dart_filament
- for Windows compatibility, we need to depend on a fork of
  native_toolchain_c (to support linking against non-import libs when
  creating a DLL)
2024-06-09 00:06:09 +10:00
Nick Fisher d548f1a2df Merge pull request #31 from Hannnes1/feature/native-assets
Download and unzip native assets during build
2024-06-08 15:44:43 +10:00
Nick Fisher 6f1597daec update build.dart to support windows 2024-06-08 15:36:57 +10:00
Nick Fisher ecb52f06da update build.dart to support windows 2024-06-08 15:36:28 +10:00
Nick Fisher 026c65016c add pragmas to ensure linking on Windows 2024-06-08 15:35:51 +10:00
Nick Fisher 45a651adf0 set stereoscopic options to fix issue on Windows 2024-06-08 15:35:32 +10:00
Nick Fisher 770f01c2bb remove some logging 2024-06-08 15:34:23 +10:00
Nick Fisher ef27e06e82 use forked native_toolchain_c 2024-06-08 15:34:06 +10:00
Nick Fisher 169acb4682 allow null flutterTextureId in FlutterFilamentTexture 2024-06-08 15:33:29 +10:00
Nick Fisher 4705359b5f clean up example pubspec 2024-06-08 15:33:06 +10:00
Nick Fisher 4f830f1f95 fixes for Windows 2024-06-08 15:30:24 +10:00
Nick Fisher 6eea9c1f66 Merge branch 'feature/native-assets' of github.com:nmfisher/polyvox_filament into feature/native-assets 2024-06-07 20:43:55 +10:00
Nick Fisher 6b12f2532f update Windows plugin for new native-assets structure 2024-06-07 20:43:09 +10:00
Nick Fisher f7cc0ce6ad remove windows specific headers 2024-06-07 20:42:07 +10:00
Nick Fisher 58d9ce04be rename & documentation 2024-06-07 20:41:36 +10:00
Nick Fisher c40814709d Merge pull request #32 from Hannnes1/lockfile-remove
Remove pubspec.lock files from packages
2024-06-07 10:45:59 +08:00
Nick Fisher edb8de721b update animation_tools_dart dependency 2024-06-06 23:38:06 +08:00
Nick Fisher 6efaee07c5 dont pass plugin before initialization to ExampleViewport 2024-06-06 23:34:54 +08:00
Nick Fisher 0140911515 update build.gradle for Android example project 2024-06-06 23:34:09 +08:00
Nick Fisher 77322019ec recreate example iOS project 2024-06-06 23:33:43 +08:00
Nick Fisher b6b4bcc94a remove accidentally committed folder 2024-06-06 23:33:01 +08:00
Nick Fisher 5a0d18bd59 clean up MacOS bridging headers 2024-06-06 23:32:43 +08:00
Nick Fisher 559706ef53 ios bridging header fixes 2024-06-06 23:32:18 +08:00
Nick Fisher b62bac9153 update build.dart for Android 2024-06-06 23:31:55 +08:00
Nick Fisher 0d17d28de7 Revert "remove unused Filament headers"
This reverts commit 778c3c959e.
2024-06-06 22:21:56 +08:00
Nick Fisher e97e6f3a83 add checks for concurrent texture creation, don't recreate texture if same size as existing 2024-06-06 22:19:25 +08:00
Nick Fisher 01f4814a9a clean up FlutterFilamentTexture 2024-06-06 22:18:13 +08:00
Nick Fisher 9e8676e9cd don't destroy Texture on FilamentWidget disposal 2024-06-06 22:17:52 +08:00
Nick Fisher bc68c530ac update Android interop 2024-06-06 22:17:09 +08:00
Nick Fisher ed2a1eb482 update Android CMakeLists.txt for new native-assets build 2024-06-06 22:14:48 +08:00
Nick Fisher 1dcc4b5108 remove unnecessary cast from SceneManager 2024-06-06 22:14:22 +08:00
Nick Fisher cc27577f4d logging 2024-06-06 22:13:30 +08:00
Nick Fisher 778c3c959e remove unused Filament headers 2024-06-06 22:13:07 +08:00
Nick Fisher f82813b7f3 move Android libs to release dir 2024-06-06 22:12:47 +08:00
Nick Fisher dda9a61f20 rename Android C++ glue file 2024-06-06 22:10:56 +08:00
Nick Fisher 6ad53ae413 add Android support to build.dart 2024-06-06 22:10:00 +08:00
Nick Fisher e26a649424 remove old logging 2024-06-05 22:30:57 +08:00
Nick Fisher d99d39a306 update android example project 2024-06-05 22:30:42 +08:00
Nick Fisher e9bbf2f8b3 dont ignore return value when removing lights to stop compiler complaining 2024-06-05 22:30:23 +08:00
Nick Fisher fb030e9bc8 add missing android header files 2024-06-05 22:29:59 +08:00
Nick Fisher 1293c47da1 add missing android libs 2024-06-05 22:29:36 +08:00
Nick Fisher 78662ccade fix quaternion order in JS interop bindings 2024-06-04 22:20:40 +08:00
Nick Fisher 6ecfb60521 remove logging 2024-06-04 22:20:24 +08:00
Nick Fisher fce1846c27 recalculate world transform from parent hierarchy when setting bone animation 2024-06-04 22:20:13 +08:00
Nick Fisher 2f38cfceee fade tests 2024-06-04 20:54:16 +08:00
Nick Fisher 3c289bd13d don't enqueue gltf animation if already playing 2024-06-04 20:53:58 +08:00
Nick Fisher 2f1edc706b update web bindings 2024-06-04 20:53:34 +08:00
Nick Fisher 15392071e4 add fade in/out arguments to JS export types 2024-06-04 20:53:20 +08:00
Nick Fisher dadd7d1f5d add looping to animation debug widget 2024-06-04 13:16:16 +08:00
Nick Fisher fd06424f28 add various bone methods to JS interop 2024-06-04 13:15:45 +08:00
Nick Fisher f31bbccdc9 add fade in/out to dynamic bone animations 2024-06-04 13:14:53 +08:00
Nick Fisher 765d0e0839 update skinning tests 2024-06-03 22:31:23 +08:00
Nick Fisher 69bc4d6ff6 add missing emscripten resolve callback arg 2024-06-03 22:31:07 +08:00
Nick Fisher 7af0f6f00d don't add multiple component instances and interpolate between gltf and dynamic bone animation 2024-06-03 22:30:45 +08:00
Nick Fisher 52204ddd5b documentation 2024-06-03 22:30:17 +08:00
Nick Fisher a97eea396a add new rest local transforms getter when setting bone animations, rather than needing to reset and get current local transform 2024-06-03 22:30:00 +08:00
Nick Fisher 7d9bc9e5cc add method to retrieve rest local transforms 2024-06-03 22:29:23 +08:00
Nick Fisher 9090eca461 add method to retrieve rest local transforms 2024-06-03 22:28:46 +08:00
Nick Fisher 7f4d8c2f42 update gitattributes 2024-06-01 12:52:50 +08:00
Nick Fisher 63a2199e52 use published animation_tools_dart dependency 2024-06-01 12:52:37 +08:00
Nick Fisher 2bd4dc58e3 update example assets 2024-06-01 12:52:05 +08:00
Nick Fisher 58525c16af update tests 2024-06-01 12:51:07 +08:00
Nick Fisher 9431865d18 remove old export 2024-06-01 12:50:46 +08:00
Nick Fisher df777585e2 re-add resize timer to FilamentWidget return initial widget when resizing 2024-06-01 12:50:27 +08:00
Nick Fisher 382d68ee77 factor out debug widgets 2024-06-01 12:45:43 +08:00
Nick Fisher e89574aea5 Flutter plugin documentation 2024-06-01 12:44:59 +08:00
Nick Fisher 231c9a96a7 update web bindings 2024-06-01 12:44:40 +08:00
Nick Fisher 18b0b7c20a fix double-add entity in Scene 2024-06-01 12:43:47 +08:00
Nick Fisher 8536dfae01 add ignore parameter for Gizmo 2024-06-01 12:43:25 +08:00
Nick Fisher 5337269f83 add missing implementation methods for web/JS interop viewer 2024-06-01 12:42:31 +08:00
Nick Fisher 3083730c2b fix web/JS extension defn of addBoneAnimation 2024-06-01 12:41:58 +08:00
Nick Fisher 2c588c9eaa add web/JS export implementation for addBoneAnimation 2024-06-01 12:41:15 +08:00
Nick Fisher 40187987a6 add index operator to web PointerPointer extension 2024-06-01 12:40:46 +08:00
Nick Fisher 57f3135e3b add callbacks to certain async FFI methods 2024-06-01 12:40:20 +08:00
Nick Fisher c19928850c expose various methods for getting bones/transforms/etc. 2024-06-01 12:35:20 +08:00
Nick Fisher dc8dfc3474 expose various methods for getting bones/transforms/etc. change reset rest pose to reset bone transforms (not just resetting the bone matrices) 2024-06-01 12:34:48 +08:00
Nick Fisher 35c1227b6c expose various methods for getting bones/transforms/etc 2024-06-01 12:33:31 +08:00
Nick Fisher 650239fcd6 expose various methods for getting bones/transforms/etc 2024-06-01 12:33:18 +08:00
Nick Fisher 8391ae6178 allow removing animation components and dont stash initial joint transforms when creating bone animations 2024-06-01 12:32:50 +08:00
Nick Fisher 188fc6b5dc expose various methods for getting bones/transforms/etc 2024-06-01 12:32:35 +08:00
Nick Fisher 7d54eadaa8 allow removing animation components and dont stash initial joint transforms when creating bone animations 2024-06-01 12:31:59 +08:00
Nick Fisher 5db72f15ea throw exception if concurrent resizes found 2024-06-01 12:29:35 +08:00
Nick Fisher 68160c6bef use published animation_tools_dart dependency 2024-06-01 12:28:27 +08:00
Nick Fisher 41d8fd3e65 add implemenation methods for setting transforms/bone matrices 2024-06-01 12:20:03 +08:00
Nick Fisher 910af4d76c add interface methods for setting transforms/bone matrices 2024-06-01 12:19:04 +08:00
Nick Fisher c03709656d add skeleton menu widget for debugging 2024-06-01 12:17:47 +08:00
Nick Fisher 3b168d7a83 use debug libs in debug mode 2024-06-01 12:17:20 +08:00
Nick Fisher 161abced39 update macos debug/release libs 2024-06-01 12:16:19 +08:00
Nick Fisher 24c29593be expose methods for getting bone names 2024-05-26 12:11:40 +08:00
Nick Fisher 82f533e6b2 expose methods for getting bone names 2024-05-26 12:11:11 +08:00