Commit Graph

248 Commits

Author SHA1 Message Date
Nick Fisher 435ed7bee6 don't use resize callback on Windows and use ListenableBuilder for texture ID changes
don't use resize callback on Windows and use ListenableBuilder for texture ID changes
2023-10-24 12:28:54 +11:00
Nick Fisher 537f0e1c8e change TextureDetails to ValueNotifier and add MethodChannel listener on Dart side for resize (Windows only) 2023-10-24 12:23:20 +11:00
Nick Fisher 73db953564 don't show placeholder while resizing 2023-10-23 01:34:48 +11:00
Nick Fisher 8130319801 don't null out controller textureDetails while resizing 2023-10-23 01:34:20 +11:00
Nick Fisher 74cfe8d9a1 store driver when creating texture 2023-10-22 17:45:26 +11:00
Nick Fisher ed3555c237 reorder morph animations according to actual mesh morph targets 2023-10-18 16:04:14 +08:00
Nick Fisher 50c47fe908 move LiveLinkFace-related data loaders to viewer project 2023-10-18 14:37:45 +08:00
Nick Fisher b26500af20 change default value for wasRenderingOnInactive to true 2023-10-18 13:47:11 +08:00
Nick Fisher 7ff6f6eaf7 don't resize on resume 2023-10-17 22:12:39 +08:00
Nick Fisher 7f7eb89a45 remove debug mode delay on Android 2023-10-17 18:25:41 +08:00
Nick Fisher 2553d854e9 replace isReadyForScene with hasViewer stream and update version number/CHANGELOG 2023-10-17 08:57:00 +08:00
Nick Fisher 7f9c5a0f2d (re)set rendering on all lifecycle changes 2023-10-17 08:55:49 +08:00
Nick Fisher 837a2cebc7 different timeouts for resize in debug/release 2023-10-17 00:25:30 +11:00
Nick Fisher 6ab814114e rewrite resize handler for better support on Windows 2023-10-17 00:13:44 +11:00
Nick Fisher 390b3d063b don't use postFrameCallback in FilamentWidget resize 2023-10-16 15:08:23 +08:00
Nick Fisher a0cdbde89f minor cleanup 2023-10-16 15:07:57 +08:00
Nick Fisher 6cf8e58bed refactor resizing to address race condition on Windows 2023-10-16 17:02:24 +11:00
Nick Fisher 4ebd5a6645 wip 2023-10-13 17:22:31 +11:00
Nick Fisher 64309eeb54 make FilamentWidget const and display error on createViewer throwing exception 2023-10-13 12:54:58 +08:00
Nick Fisher 7f107708b5 fix resizing 2023-10-13 11:24:29 +08:00
Nick Fisher 72ec72660d fix cancelling resize timer 2023-10-13 11:24:05 +08:00
Nick Fisher 6bddc94b3d regenerate FFI bindings 2023-10-13 11:23:13 +08:00
Nick Fisher d655672587 more documentation for FilamentController 2023-10-13 10:14:43 +08:00
Nick Fisher 8358c0b236 add integration tests and update README 2023-10-12 21:48:44 +08:00
Nick Fisher 1be2367b4f don't expose FILAMENT_ASSET_ERROR 2023-10-11 15:34:19 +08:00
Nick Fisher 08ba9400d3 whitespace 2023-10-11 15:32:03 +08:00
Nick Fisher 4d827badc4 add abstract def for getNameForEntity 2023-10-11 15:31:47 +08:00
Nick Fisher e3408625bc gesture updates for mobile 2023-10-11 15:09:32 +08:00
Nick Fisher 78af8e12a0 add infinite loop check for pick_ffi 2023-10-11 15:00:17 +08:00
Nick Fisher b7f50df2dc camera fixes for assets with large bounding boxes 2023-10-11 14:12:04 +08:00
Nick Fisher 98bcf5d7ad implement picker/getNameForEntity 2023-10-11 11:10:47 +08:00
Nick Fisher 32bff81f53 re-implement pixel buffer on Windows with compile-time switch 2023-10-10 20:08:50 +11:00
Nick Fisher 135465755d add missing setPostProcessing definitions 2023-10-10 18:10:14 +11:00
Nick Fisher 45576466c9 allow passing uberarchive path to FilamentViewer and expose destroy_viewer 2023-10-04 14:49:48 +08:00
Nick Fisher c1f8eae85e add toggle for postprocessing and minor cleanup work 2023-10-03 22:04:37 +08:00
Nick Fisher d49b43c191 use consistent size/pixel ratio 2023-10-03 21:49:34 +08:00
Nick Fisher ba95e5e398 add option to force loading gltf and check for bool when setting camera 2023-10-03 21:29:34 +08:00
Nick Fisher dd922a5eaa merge 2023-10-03 17:22:48 +11:00
Nick Fisher d24a6135d5 remove FilamentController size property to abstract and make all methods return Futures 2023-10-03 14:22:04 +08:00
Nick Fisher 9e903bc4f6 update generated bindings 2023-10-03 17:21:07 +11:00
Nick Fisher 033c34c0d8 add check for broken loadGltf on Windows and add some documentation 2023-10-03 17:20:34 +11:00
Nick Fisher 31fa63a3ad documentation on FilamentControllerFFI 2023-10-03 15:38:07 +11:00
Nick Fisher a6e7a71998 remove logging 2023-10-03 13:27:42 +11:00
Nick Fisher 31b2c7aaed add small delay to FilamentWidget in debug mode 2023-10-03 00:21:23 +08:00
Nick Fisher df3bddcd86 throw Excepton in Dart controller if viewer null 2023-10-03 00:19:59 +08:00
Nick Fisher 2fdbb9582e use FilterQuality.none in widget 2023-10-02 13:38:45 +08:00
Nick Fisher 52c64e2baf update controller FFI Platform checks 2023-10-01 16:21:19 +08:00
Nick Fisher 313baef727 merge in Windows support 2023-09-30 16:54:20 +10:00
Nick Fisher 2e207e636a iOS fixes for direct FFI 2023-09-29 21:51:33 +08:00
Nick Fisher 99484d6838 remove superseded cruft from MacOS plugin 2023-09-29 18:40:29 +08:00