Commit Graph
100 Commits
Author SHA1 Message Date
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 2923f5907f remove unused loader callback on macOS 2023-10-11 11:11:00 +08:00
Nick Fisher 98bcf5d7ad implement picker/getNameForEntity 2023-10-11 11:10:47 +08:00
Nick Fisher 79292914d2 fix type for nativeTextureId and add picker definition 2023-10-11 09:30:01 +08:00
Nick Fisher a11be5d9ff recompile macOS libs 2023-10-11 09:28:46 +08:00
Nick Fisher 9801fe9777 add first API method 2023-10-10 21:37:39 +08:00
Nick Fisher 1da0600c11 move include outside extern C scope to satisfy iOS 2023-10-04 15:46:01 +08:00
Nick Fisher b68c5117b4 update README 2023-10-04 14:50:54 +08:00
Nick Fisher a37ac79b07 remove accidentally commited android/.cxx 2023-10-04 14:50:46 +08:00
Nick Fisher 45576466c9 allow passing uberarchive path to FilamentViewer and expose destroy_viewer 2023-10-04 14:49:48 +08:00
Nick Fisher 6980e5cb23 move uberz assets to example project 2023-10-04 14:45:58 +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 cb7881af09 re-track LFS assets 2023-10-03 21:30:37 +08:00
Nick Fisher bc0fd6577b re-track LFS assets 2023-10-03 21:30:10 +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 eeac96a396 more logging and fix return values when setting camera to asset camera 2023-10-03 21:29:34 +08:00
Nick Fisher af18f18524 update example project to allow setting camera to GLB asset camera 2023-10-03 21:29:34 +08:00
Nick Fisher efbe556d6f fix asset:// URIs on Android 2023-10-03 21:16:27 +08:00
Nick Fisher e72bd97450 remove outdated kotlin-extensions 2023-10-03 16:30:36 +08: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 90e1de2e67 increase Kotlin version 2023-10-03 13:46:09 +08:00
Nick Fisher f34cac0dab update gitattributes 2023-10-03 13:16:18 +08:00
Nick Fisher 4a9bf91fae don't include C++ Log.hpp in ResourceBuffer 2023-10-03 00:46:58 +08:00
Nick Fisher bde15ab233 Android, iOS, macOS supported 2023-10-03 00:34:29 +08:00
Nick Fisher 0b9091fca5 resource loading fixes on Android 2023-10-03 00:22:42 +08:00
Nick Fisher 138309da21 standardize on Int32 for ResourceBuffer size/id 2023-10-03 00:22:09 +08:00
Nick Fisher 31b2c7aaed add small delay to FilamentWidget in debug mode 2023-10-03 00:21:23 +08:00
Nick Fisher 690c94adb5 fix freeing resources in async callbacks 2023-10-03 00:20:53 +08:00
Nick Fisher 1f5f24c740 logging 2023-10-03 00:20:23 +08:00
Nick Fisher df3bddcd86 throw Excepton in Dart controller if viewer null 2023-10-03 00:19:59 +08:00
Nick Fisher d6e527f3c0 recompile v1.43.1 libs for iOS/macOS 2023-10-03 00:18:36 +08:00
Nick Fisher 0b67eb7eb6 remove old standalone KtxReader source files 2023-10-03 00:17:46 +08:00
Nick Fisher a402b969a2 move Filament headers to own directory under iOS/macOS 2023-10-03 00:17:12 +08:00
Nick Fisher 2a3a99c974 move Filament headers to own directory under iOS/macOS 2023-10-03 00:15:41 +08:00
Nick Fisher 423f563350 working on Android (Flutter 3.15.0-15.2.pre only) 2023-10-02 13:51:35 +08:00
Nick Fisher 2fdbb9582e use FilterQuality.none in widget 2023-10-02 13:38:45 +08:00
Nick Fisher bbb3727b7c don't use constructors for ResourceBuffer on Android (messes with JNA) 2023-10-02 12:06:48 +08:00
Nick Fisher cf5ab5848d interim Android fixes 2023-10-01 20:44:23 +08:00
Nick Fisher 762f9abde0 update Android CMakeLists 2023-10-01 16:21:37 +08:00
Nick Fisher 52c64e2baf update controller FFI Platform checks 2023-10-01 16:21:19 +08:00
Nick Fisher 909fa89818 increase Android compile SDK 2023-10-01 16:20:48 +08:00
Nick Fisher 5fbae4aa1b remove all method-channel defs from Android 2023-10-01 16:20:14 +08:00
Nick Fisher b7538cc4c8 remove all method-channel defs from Android 2023-10-01 16:19:44 +08:00
Nick Fisher 47dfb3cec9 add make_render_callback_fn to FilamentAndroid 2023-10-01 16:19:04 +08:00
Nick Fisher 0be2bce764 add win32 ifdef to pragma 2023-10-01 16:18:39 +08:00
Nick Fisher 7463318a62 downgrade Android libs/headers to v1.32.4 2023-10-01 16:18:15 +08: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 4b19632129 implement most outstanding FFI methods 2023-09-29 18:25:37 +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 1b49706eca WIP on Android 2023-09-28 12:59:11 +08:00
Nick Fisher 93cb9a1307 fix surface init on Android 2023-09-27 14:21:53 +08:00
Nick Fisher 908c76d6c3 make iOS/MacOS consistent re moveCameraToBoundingBox 2023-09-27 14:21:31 +08:00
Nick Fisher 182df02b06 add setViewFrustumCulling, zoomDelta for gesture detector and cleanup 2023-09-26 14:51:18 +08:00
Nick Fisher 833022e4e0 add moveCameraToAsset 2023-09-25 22:30:07 +08:00
Nick Fisher 64cfea2952 update pubspec 2023-09-22 08:29:26 +08:00
Nick Fisher 87f47b26d5 add newly created Linux files 2023-09-22 08:27:42 +08:00
Nick Fisher c34833338a add web FFI bindings 2023-09-22 08:26:04 +08:00
Nick Fisher a7aac001c2 remove old FFI bindings 2023-09-22 08:25:51 +08:00
Nick Fisher 545e11899f update gitattributes 2023-09-22 08:25:03 +08:00
Nick Fisher c02ab9f91a add assets folder (materials) 2023-09-22 08:24:54 +08:00
Nick Fisher 15cbed2afa first pass Windows implementation 2023-09-22 08:24:22 +08:00
Nick Fisher 693e5431ed first pass Windows implementation 2023-09-22 08:24:14 +08:00
Nick Fisher 7c2659c89e web support for FilamentGestureDetector 2023-09-22 08:23:41 +08:00
Nick Fisher 880ea1dc84 update example project 2023-09-22 08:23:25 +08:00
Nick Fisher cbb20ab4eb add web to pubspec.yaml 2023-09-22 08:23:06 +08:00
Nick Fisher c033dd51cf whitespace 2023-09-22 08:22:56 +08:00
Nick Fisher 52957caa0d add first pass Web implementation 2023-09-22 08:22:19 +08:00
Nick Fisher 504b1efda4 remove old Linux texture test file 2023-09-22 08:21:17 +08:00
Nick Fisher dc324435aa add emcc build instructions to README 2023-09-22 08:21:02 +08:00
Nick Fisher 6457b8b80b remove old FFI references from FilamentController 2023-09-22 08:20:36 +08:00
Nick Fisher 6e7d5797a8 rename window argument in create_swap_chain 2023-09-22 08:19:31 +08:00
Nick Fisher 9f1aa84664 remove old methods, rename surface to window and use window properly if not nullptr 2023-09-22 08:19:19 +08:00
Nick Fisher 61d62eb463 rename window argument in create_swap_chain 2023-09-22 08:18:32 +08:00
Nick Fisher 2a30a4dd40 remove StandardMaterialProvider 2023-09-22 08:18:09 +08:00
Nick Fisher fcad31806f manual OpenGL texture instantiation on Android 2023-09-22 08:17:50 +08:00
Nick Fisher 8bdaf0afa8 add all android libs 2023-09-22 08:17:19 +08:00
Nick Fisher 98fd6a1157 remove unused iOS OpenGL texture creation 2023-09-19 17:53:43 +08:00
Nick Fisher baf279c61f cleanup Linux CMakeLists 2023-09-19 17:49:53 +08:00
Nick Fisher 58f0d9730b remove unused script 2023-09-19 17:49:34 +08:00
Nick Fisher c5d19f8576 fix AssetManager includes for proper compilation on Android 2023-09-19 17:49:15 +08:00
Nick Fisher 791ac0504d fix Android example app 2023-09-19 17:48:54 +08:00
Nick Fisher 0e51deb31c update Android CMakeLists 2023-09-19 17:47:04 +08:00
Nick Fisher 3eaf53822d update Android libs to Filament v1.41.0 2023-09-19 17:46:45 +08:00
Nick Fisher c5c78c7478 add fillHeight option to setBackgroundImage 2023-09-15 13:51:52 +08:00
Nick Fisher 96556d5af0 stop animations are completed 2023-09-15 13:51:38 +08:00
Nick Fisher 9e51890ea1 add fillHeight option to setBackgroundImage 2023-09-15 13:51:23 +08:00
Nick Fisher f72ffd6c6a add fillHeight option to setBackgroundImage 2023-09-15 13:00:58 +08:00
Nick Fisher 3312b88f0a add resize timer to FilamentWidget 2023-09-14 13:39:25 +08:00
Nick Fisher 9f851fb4e7 macos logging 2023-09-14 13:39:09 +08:00
Nick Fisher 01928da3e6 logging 2023-09-14 13:38:57 +08:00
Nick Fisher d02cf30718 add checks for null viewer or resizing in controller 2023-09-14 13:38:46 +08:00
Nick Fisher 0bd6c618a0 use uberz material on macOS 2023-09-14 10:00:04 +08:00
Nick Fisher 9f6ceb11b6 add macOS and uberz material to pubspec 2023-09-14 09:54:40 +08:00
Nick Fisher c0421af1db add check in gesture detector for MacOS 2023-09-14 09:54:18 +08:00
Nick Fisher b8c418f537 remove old glob paths from iOS podspec 2023-09-14 09:53:57 +08:00