Commit Graph
100 Commits
Author SHA1 Message Date
Nick Fisher a3e1d180d9 remove old CLI example 2024-05-17 14:41:57 +08:00
Nick Fisher deb0884109 add dart cli/wasm example 2024-05-17 14:41:37 +08:00
Nick Fisher 5e576e00ba add dart macos CLI example 2024-05-17 14:40:16 +08:00
Nick Fisher f487be82b1 use child entity for morph animations rather than name 2024-05-17 14:37:25 +08:00
Nick Fisher 8b1a1974b1 use child entity for morph animations rather than name & expose Emscripten scripts via moduleArgs 2024-05-17 14:36:52 +08:00
Nick Fisher bb514b13d3 update gitattributes 2024-05-17 14:33:57 +08:00
Nick Fisher e79d67d880 re-add web binding generation and symbol replacement in web CMakeLists.txt 2024-05-17 14:33:41 +08:00
Nick Fisher b8588e3196 dont use lists for CMake replace in file 2024-05-17 14:33:24 +08:00
Nick Fisher 6bfb32b5e8 update web libs 2024-05-17 14:32:32 +08:00
Nick Fisher 32c25ac4e0 move Makefile to top-level directory 2024-05-17 14:30:59 +08:00
Nick Fisher 24c62ca026 update example project with debug widgets for child entities & morph targets 2024-05-16 22:36:10 +08:00
Nick Fisher f63228e623 turn off debug colouring 2024-05-16 11:01:51 +08:00
Nick Fisher 39e1eddf0d alpha on web 2024-05-16 11:01:38 +08:00
Nick Fisher a507f789f1 clean up 2024-05-16 00:16:23 +08:00
Nick Fisher 582557353c use Dart bool where possible in web interop 2024-05-16 00:15:55 +08:00
Nick Fisher ea4c31ecca use Dart bool where possible in web interop 2024-05-16 00:14:50 +08:00
Nick Fisher 77f544fd6d add missing emscripten callback blocks 2024-05-16 00:14:27 +08:00
Nick Fisher 9f94f834ef use animation_tools_dart from git 2024-05-15 22:31:19 +08:00
Nick Fisher 3b8af0ecf4 explicitly include ResourceBuffer.h in generated bindings so we can actually use it on web 2024-05-15 22:30:37 +08:00
Nick Fisher 5fd0fc60bf web compatibility work 2024-05-15 22:29:56 +08:00
Nick Fisher dcc52cd7c1 add android libs 2024-05-15 22:29:35 +08:00
Nick Fisher 7703f33b81 update federated flutter_filament 2024-05-15 22:28:58 +08:00
Nick Fisher 293d3c9fd6 move flutter_filament plugin to federated structure 2024-05-15 22:26:57 +08:00
Nick Fisher c11e2b9f38 remove Windows libs from flutter_filament (to be replaced in dart_filament) 2024-05-15 22:26:32 +08:00
Nick Fisher 6b50dc9d36 move flutter_filament plugin to federated structure 2024-05-15 22:25:46 +08:00
Nick Fisher 66e5e38324 update web_wasm example 2024-05-11 22:41:17 +08:00
Nick Fisher d46aecb8ec Makefile 2024-05-11 22:40:52 +08:00
Nick Fisher f007ea99a9 gitattr 2024-05-11 22:40:47 +08:00
Nick Fisher b963a066d2 update CMakeLists 2024-05-11 22:40:40 +08:00
Nick Fisher a5991c15c2 EM_ASM callbacks 2024-05-11 22:40:22 +08:00
Nick Fisher c0315c3450 formatting 2024-05-11 22:40:00 +08:00
Nick Fisher f9ab0bf12c update web api for dart 2024-05-11 22:39:44 +08:00
Nick Fisher f7c3d20aa9 add guards for material headers 2024-05-11 22:38:52 +08:00
Nick Fisher 85f129d435 compatibility shims for web 2024-05-11 22:38:28 +08:00
Nick Fisher ae70564bf3 remove web-only header files 2024-05-11 22:37:55 +08:00
Nick Fisher b65aae4c64 update web libs 2024-05-11 22:37:30 +08:00
Nick Fisher 84c7769c3d update makefile 2024-05-11 12:32:25 +08:00
Nick Fisher 4130699f86 update web CMakeLists 2024-05-11 12:32:15 +08:00
Nick Fisher 7aa450948c use EMSCRIPTEN_KEEPALIVE 2024-05-11 12:31:55 +08:00
Nick Fisher ed78dd66ef use EMSCRIPTEN_KEEPALIVE 2024-05-11 12:31:42 +08:00
Nick Fisher 943c5e21ac use void* instead of ResourceLoaderWrapper* 2024-05-11 12:31:27 +08:00
Nick Fisher 1c9e7039d0 use EMSCRIPTEN_KEEPALIVE 2024-05-11 12:31:09 +08:00
Nick Fisher 5d053e6484 use EMSCRIPTEN_KEEPALIVE 2024-05-11 12:30:59 +08:00
Nick Fisher e648ed6e7d update git attr/ign 2024-05-11 12:30:43 +08:00
Nick Fisher 5faf288a21 cleanup old iOS files 2024-05-11 12:30:16 +08:00
Nick Fisher 8781b67db0 create examples folder 2024-05-11 12:30:02 +08:00
Nick Fisher 5493afbf67 web ffigen config 2024-05-11 12:29:46 +08:00
Nick Fisher 2c6e953b4b fix compatibility imports 2024-05-11 10:16:13 +08:00
Nick Fisher d04c71d8f9 add web folder to native 2024-05-11 10:13:11 +08:00
Nick Fisher 19818a66fd separate into native/web conditional imports for compatibility 2024-05-11 10:12:21 +08:00
Nick Fisher dbf44f1c8b add EMSCRIPTEN guards around thread waiting ResourceBuffer 2024-05-11 10:11:50 +08:00
Nick Fisher cfbfc87b0b dont free ResourceBuffer in emscripten loadGlbFromBuffer 2024-05-11 10:11:30 +08:00
Nick Fisher 25cedc0e66 add Makefile 2024-05-11 10:11:03 +08:00
Nick Fisher f63d3293c7 move ffigen config to own folder 2024-05-11 10:10:58 +08:00
Nick Fisher a255b268f6 move web folder to native 2024-05-11 10:10:24 +08:00
Nick Fisher f82a9b6222 rename native pick to filament_pick to avoid naming clashes 2024-05-11 10:09:11 +08:00
Nick Fisher 6f0df56751 add hacky check for resizing 2024-05-10 23:05:05 +08:00
Nick Fisher a7fb516ff3 remove outdated export 2024-05-10 23:04:22 +08:00
Nick Fisher 29e77c4cd1 change imports 2024-05-09 13:39:52 +08:00
Nick Fisher dd5cd812f0 add option to wait for animation to complete 2024-05-09 13:39:37 +08:00
Nick Fisher f0058d4009 rename gizmo translation args 2024-05-09 13:39:18 +08:00
Nick Fisher 1a6529b315 wait for plugin initialization before returning via FlutterFilamentPlugin.create 2024-05-09 13:39:01 +08:00
Nick Fisher 5e03f5d13c use pixel ratio when resizing via widget 2024-05-09 13:38:26 +08:00
Nick Fisher 0a8bdb9721 move EntityTransformController to dart_filament 2024-05-09 13:38:06 +08:00
Nick Fisher f338fc0b43 move EntityTransformController to dart_filament 2024-05-09 13:37:47 +08:00
Nick Fisher 87213e8aac actually hook up set_frame_interval to FilamentViewer 2024-05-09 13:37:01 +08:00
Nick Fisher f8db54e941 create transparent swapchain on iOS and fix recording issues" 2024-05-09 13:36:26 +08:00
Nick Fisher adfdecd274 remove animation components on destroyAll 2024-05-09 13:35:50 +08:00
Nick Fisher 9dd95d32dc export dart_filament from flutter_filament 2024-05-09 13:35:30 +08:00
Nick Fisher 2c9a3bf807 update generated bindings 2024-05-09 13:35:14 +08:00
Nick Fisher 9ff4fec6ab reduce min req for example cli 2024-05-09 13:34:45 +08:00
Nick Fisher 6f9ead6f5c example_cli update 2024-05-09 13:34:26 +08:00
Nick Fisher f8ed5d1b28 update example 2024-04-30 17:50:03 +08:00
Nick Fisher 8267a0c5f8 fix 2024-04-30 15:48:50 +08:00
Nick Fisher 14b0b674c5 fix iOS 2024-04-30 14:14:54 +08:00
Nick Fisher 8f9e309c34 initial work to split into dart_filament and flutter_filament 2024-04-30 12:07:26 +08:00
Nick Fisher b81f34cd29 formatting 2024-04-29 14:28:21 +08:00
Nick Fisher 107f3bce64 remove logging 2024-04-29 14:28:07 +08:00
Nick Fisher fe0067c16a whitespace 2024-04-29 14:27:54 +08:00
Nick Fisher 49fb8fb9e3 remove logging 2024-04-29 14:27:44 +08:00
Nick Fisher f8e69466d7 fixes for moving animation_tools_dart 2024-04-26 11:14:24 +08:00
Nick Fisher 9b66fb165a update example project 2024-04-26 11:04:00 +08:00
Nick Fisher 089b59e6c7 update generated bindings 2024-04-26 11:03:40 +08:00
Nick Fisher ce425a44f5 move animations to animation_tools_dart 2024-04-26 11:03:30 +08:00
Nick Fisher 7f365f985d add animation_tools dependency 2024-04-26 11:00:33 +08:00
Nick Fisher ff25744a84 use std::variant for AnimationComponent to distinguish between arbitrray entities and glTF FilamentAsset 2024-04-26 10:56:30 +08:00
Nick Fisher b5a36cc8d8 allow adding AnimationComponent/morph target animations to arbitrary entities 2024-04-26 10:55:56 +08:00
Nick Fisher 83296ef582 remove unused FFI morph animation method 2024-04-26 10:55:23 +08:00
Nick Fisher fc4bb19569 allow adding AnimationComponent/morph target animations to arbitrary entities 2024-04-26 10:53:16 +08:00
Nick Fisher 4b348f62eb allow adding AnimationComponent/morph target animations to arbitrary entities 2024-04-26 10:52:34 +08:00
Nick Fisher f2efb0d7d1 allow adding AnimationComponent/morph target animations to arbitrary entities 2024-04-26 10:51:38 +08:00
Nick Fisher 6fe436a5cc update makefile 2024-04-20 13:48:07 +08:00
Nick Fisher ca3eafda24 remove duplicate libs from macos podspec 2024-04-20 13:47:38 +08:00
Nick Fisher 6f2c07f5fb add FileMaterialProvider 2024-04-20 13:47:19 +08:00
Nick Fisher ea04e94c1f update macos/ios to Filament v1.51.2 2024-04-20 13:46:58 +08:00
Nick Fisher 15882891e2 use void callback for setBackgroundImage to correctly free pointer after dispatch 2024-04-20 13:46:10 +08:00
Nick Fisher 49229f8c88 revert FileMaterialProvider deletion 2024-04-05 15:18:24 +08:00
Nick Fisher d063701250 example project updates 2024-03-30 11:20:36 +08:00
Nick Fisher 50b3ead812 example project updates 2024-03-30 11:20:20 +08:00
Nick Fisher 1c871f1e99 update CHANGELOG 2024-03-26 00:25:36 +08:00