Commit Graph

237 Commits

Author SHA1 Message Date
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
Nick Fisher
e8ba136863 more FFI work 2023-09-29 17:58:12 +08:00
Nick Fisher
dd88c45536 more FFI work 2023-09-29 14:55:40 +08:00
Nick Fisher
a6506e6346 initial work to re-implement FFI with background thread render loop 2023-09-29 13:54:04 +08:00
Nick Fisher
b7b2aebf28 merge moveCameraToAsset changes 2023-09-27 16:10:10 +10:00
Nick Fisher
182df02b06 add setViewFrustumCulling, zoomDelta for gesture detector and cleanup 2023-09-26 14:51:18 +08:00
Nick Fisher
c27ca565f9 more D3D interop work 2023-09-26 15:14:17 +10:00
Nick Fisher
833022e4e0 add moveCameraToAsset 2023-09-25 22:30:07 +08:00
Nick Fisher
db5edfa8b9 flip texture on Windows 2023-09-25 23:53:56 +10:00
Nick Fisher
744fedb8d9 windows working (SLOW) with pixel buffer copy 2023-09-25 21:53:42 +10:00
Nick Fisher
609e349d58 first pass Windows support 2023-09-23 15:27:09 +10:00
Nick Fisher
c34833338a add web FFI bindings 2023-09-22 08:26:04 +08:00