Commit Graph

258 Commits

Author SHA1 Message Date
Nick Fisher
4280172767 remove old Method Channel FilamentController 2023-10-27 20:57:33 +08:00
Nick Fisher
4a5c62a306 move rect ValueNotifier to interface 2023-10-27 20:57:13 +08:00
Nick Fisher
40485081bc require createViewer to be specified manually 2023-10-27 20:32:16 +08:00
Nick Fisher
8b9e6a2b3a rename plugin from PolyvoxFilament to FlutterFilament
rename plugin from PolyvoxFilament to FlutterFilament
2023-10-26 14:08:20 +11:00
Nick Fisher
53c908dd0d use short timeout on front-end for resizing on Windows 2023-10-26 12:38:52 +11:00
Nick Fisher
6399ca41ed use pixelRatio properly 2023-10-26 11:33:44 +11:00
Nick Fisher
a56943fb86 use pixelRatio properly 2023-10-26 11:27:42 +11:00
Nick Fisher
38b58b6d8f set pixel ratio in FilamentWidget 2023-10-26 11:19:35 +11:00
Nick Fisher
2fd6f44785 fixes for window resizing on Windows 2023-10-26 02:10:22 +11:00
Nick Fisher
0928d9d273 rendering correctly with backing window but some issues re pixel density, scroll & foregrounding on start 2023-10-25 17:52:37 +11:00
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