Commit Graph
100 Commits
Author SHA1 Message Date
Nick Fisher a91618c920 remove old web test 2024-05-21 10:21:12 +08:00
Nick Fisher 90edd0d1a6 remove old test web app 2024-05-21 10:20:35 +08:00
Nick Fisher b33e7d04ab move AppLifecyleListener to Flutter plugin 2024-05-21 10:18:35 +08:00
Nick Fisher 90727e79c5 update example web project 2024-05-21 10:15:15 +08:00
Nick Fisher ece018b7e9 cleanup comments 2024-05-21 10:14:19 +08:00
Nick Fisher ce3b14cdae update wasm example 2024-05-21 10:14:02 +08:00
Nick Fisher 7043d3ef2f update Makefile 2024-05-19 14:19:35 +08:00
Nick Fisher 3415648676 remove logging 2024-05-19 14:19:03 +08:00
Nick Fisher 269aa819e2 whitespace 2024-05-19 14:18:51 +08:00
Nick Fisher e9b87a9a9a don't use asTypedList/setRange on Float32List as this doesn't work with WASM 2024-05-19 14:18:40 +08:00
Nick Fisher 467b80beb7 use locally scoped vars in js interop for easier debugging 2024-05-19 14:18:05 +08:00
Nick Fisher 4f9672cbbf throw error on web for setCameraModelMatrix 2024-05-19 14:17:24 +08:00
Nick Fisher 43b5cb040a add missing getter for float pointer 2024-05-19 14:16:30 +08:00
Nick Fisher 2f8894505c example project web fixes 2024-05-17 14:52:36 +08:00
Nick Fisher 8c586e48eb git attributes 2024-05-17 14:52:17 +08:00
Nick Fisher 6280368f68 hide UtfPointer to avoid clashes 2024-05-17 14:51:58 +08:00
Nick Fisher 3c186eea37 return child widget in gesture detector widget even when viewer is not yet initialized 2024-05-17 14:51:36 +08:00
Nick Fisher 17f7a2931f move child renderable menu to own widget 2024-05-17 14:51:08 +08:00
Nick Fisher 888531f333 example project fixes 2024-05-17 14:50:39 +08:00
Nick Fisher 00f9122f37 example project fixes 2024-05-17 14:50:15 +08:00
Nick Fisher 3a98bd53de web : mandate child entity for morph animation functions and implement some missing functions 2024-05-17 14:49:40 +08:00
Nick Fisher a566851efe update generated bindings 2024-05-17 14:47:25 +08:00
Nick Fisher bf252c05f8 gitignore 2024-05-17 14:46:55 +08:00
Nick Fisher 31cc1059dd add dart cli wasm 2024-05-17 14:46:44 +08:00
Nick Fisher 9568ff2c4e add Float32List asTypedList extension 2024-05-17 14:44:07 +08:00
Nick Fisher ca35b310eb mandate passing childEntity to morph target functions 2024-05-17 14:43:47 +08:00
Nick Fisher b465553f04 make registerEntity public on scene and mandate passing childEntity to morph target functions 2024-05-17 14:42:28 +08:00
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