Commit Graph
100 Commits
Author SHA1 Message Date
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
Nick Fisher 8267a0c5f8 fix 2024-04-30 15:48:50 +08:00
Nick Fisher 14b0b674c5 fix iOS 2024-04-30 14:14:54 +08:00
Nick Fisher 8f9e309c34 initial work to split into dart_filament and flutter_filament 2024-04-30 12:07:26 +08:00
Nick Fisher b81f34cd29 formatting 2024-04-29 14:28:21 +08:00
Nick Fisher 107f3bce64 remove logging 2024-04-29 14:28:07 +08:00
Nick Fisher fe0067c16a whitespace 2024-04-29 14:27:54 +08:00
Nick Fisher 49fb8fb9e3 remove logging 2024-04-29 14:27:44 +08:00
Nick Fisher f8e69466d7 fixes for moving animation_tools_dart 2024-04-26 11:14:24 +08:00
Nick Fisher 9b66fb165a update example project 2024-04-26 11:04:00 +08:00
Nick Fisher 089b59e6c7 update generated bindings 2024-04-26 11:03:40 +08:00
Nick Fisher ce425a44f5 move animations to animation_tools_dart 2024-04-26 11:03:30 +08:00
Nick Fisher 7f365f985d add animation_tools dependency 2024-04-26 11:00:33 +08:00
Nick Fisher ff25744a84 use std::variant for AnimationComponent to distinguish between arbitrray entities and glTF FilamentAsset 2024-04-26 10:56:30 +08:00
Nick Fisher b5a36cc8d8 allow adding AnimationComponent/morph target animations to arbitrary entities 2024-04-26 10:55:56 +08:00
Nick Fisher 83296ef582 remove unused FFI morph animation method 2024-04-26 10:55:23 +08:00
Nick Fisher fc4bb19569 allow adding AnimationComponent/morph target animations to arbitrary entities 2024-04-26 10:53:16 +08:00
Nick Fisher 4b348f62eb allow adding AnimationComponent/morph target animations to arbitrary entities 2024-04-26 10:52:34 +08:00
Nick Fisher f2efb0d7d1 allow adding AnimationComponent/morph target animations to arbitrary entities 2024-04-26 10:51:38 +08:00
Nick Fisher 6fe436a5cc update makefile 2024-04-20 13:48:07 +08:00
Nick Fisher ca3eafda24 remove duplicate libs from macos podspec 2024-04-20 13:47:38 +08:00
Nick Fisher 6f2c07f5fb add FileMaterialProvider 2024-04-20 13:47:19 +08:00
Nick Fisher ea04e94c1f update macos/ios to Filament v1.51.2 2024-04-20 13:46:58 +08:00
Nick Fisher 15882891e2 use void callback for setBackgroundImage to correctly free pointer after dispatch 2024-04-20 13:46:10 +08:00
Nick Fisher 49229f8c88 revert FileMaterialProvider deletion 2024-04-05 15:18:24 +08:00
Nick Fisher d063701250 example project updates 2024-03-30 11:20:36 +08:00
Nick Fisher 50b3ead812 example project updates 2024-03-30 11:20:20 +08:00
Nick Fisher 1c871f1e99 update CHANGELOG 2024-03-26 00:25:36 +08:00
Nick Fisher b357144a79 expose method for retrieving all child entities 2024-03-26 00:24:21 +08:00
Nick Fisher 849ad6c530 use resgen'd gizmo material 2024-03-25 23:33:35 +08:00
Nick Fisher 34c997815d Merge branch 'feature/instancing' into develop 2024-03-25 22:23:36 +08:00
Nick Fisher 2ed2e7fb05 Merge branch 'develop' of github.com:nmfisher/polyvox_filament into develop 2024-03-25 22:23:08 +08:00
Nick Fisher cfab7eac3b update path for generated bindings 2024-03-25 22:22:38 +08:00
Nick Fisher 357c585d44 add (very rough) gizmo, restructure Dart package into library, add EntityListWidget 2024-03-25 22:21:37 +08:00
Nick Fisher 66ae0a4d08 merge 2024-03-09 11:25:10 +08:00
Nick Fisher 5e0c4e1f70 update pubspec.lock 2024-03-09 11:22:33 +08:00
Nick Fisher 2fc1e6a127 update generated bindings 2024-03-09 11:22:24 +08:00
Nick Fisher f02cd5d611 rejig frame timings 2024-03-09 11:22:12 +08:00
Nick Fisher ed8bcd5794 remove logging 2024-03-09 11:18:18 +08:00
Nick Fisher 00c0e2526e pass callback to native pick(), dont use _ffi version for get_animation_names 2024-03-09 11:17:54 +08:00
Nick Fisher 13fa60e8de pass callback to native pick() and remove pick_ffi 2024-03-09 11:17:25 +08:00
Nick Fisher 6e9a02b5b5 Merge branch 'feature/instancing' of github.com:nmfisher/polyvox_filament into feature/instancing 2024-03-08 18:02:14 +08:00
Nick Fisher 950d00dc3d update CHANGELOG 2024-03-08 18:02:06 +08:00
Nick Fisher f72aeb486c add release instructions for Android 2024-03-08 18:01:38 +08:00
Nick Fisher d6cc6c13fe update example app gradle 2024-03-08 18:01:22 +08:00
Nick Fisher 2cbaeabe6c update kotlin/gradle versions 2024-03-08 18:01:04 +08:00
Nick Fisher 7d0ae605d6 update kotlin/gradle versions 2024-03-08 18:00:49 +08:00
Nick Fisher 3cbf796248 pass through scaleStart/Update/End to mobile gesture detector 2024-03-08 18:00:30 +08:00
Nick Fisher 684d758bd9 set pixel ratio before creating rect 2024-03-07 18:30:09 +11:00
Nick Fisher deb3bac35d create new WGL context when WGL_USE_BACKING_WINDOW is false 2024-03-07 18:27:09 +11:00
Nick Fisher 4377a55747 no need to create WGL context explicitly - defer to Engine 2024-03-07 17:16:48 +11:00
Nick Fisher b8aab1d030 turn PP off by default 2024-03-07 17:16:03 +11:00
Nick Fisher a872cef436 initialize flutterTextureId to -1 2024-03-07 16:44:56 +11:00
Nick Fisher 59d6b17f63 remove duplicate ANGLE flutterTextureId 2024-03-07 16:44:27 +11:00
Nick Fisher 1fccaf1990 EGL logging 2024-03-07 16:44:03 +11:00
Nick Fisher c34a1b0370 remove duplicate sharedContext 2024-03-07 16:43:29 +11:00
Nick Fisher 34d5478beb disable postprocessing by default 2024-03-07 16:42:57 +11:00
Nick Fisher f0c48d7f0a cleanup EGL/D3D texture rendering 2024-03-07 12:19:01 +11:00
Nick Fisher 8ef166d9b8 move Flutter result checks to OpenGLTextureBuffer 2024-03-06 20:07:52 +11:00
Nick Fisher 89c7f7ddc3 hardcode frame interval to 1 2024-03-06 20:06:05 +11:00
Nick Fisher c797cfc3b7 don't unnecessarily repaint FilamentWidget 2024-03-06 19:28:53 +11:00
Nick Fisher 6e7e918125 only conditionally add WGL_USE_BACKING_WINDOW 2024-03-06 19:28:38 +11:00
Nick Fisher 150f409ae1 don't mark texture frame available when USE_BACKING_WINDOW is true 2024-03-06 19:28:14 +11:00
Nick Fisher 732a6d0527 reduce default Windows color/depth buffer to 24/16 2024-03-06 19:28:06 +11:00
Nick Fisher fda70fb6d1 use std::vector instead of dynamic array to stop MSVC complaining 2024-03-06 19:27:52 +11:00
Nick Fisher adfb607eb7 make all FFI calls async with completers 2024-03-05 13:51:57 +08:00
Nick Fisher 39fa9387e6 expose removeCollisionComponent 2024-03-05 10:30:42 +08:00
Nick Fisher 32fe5d9083 remove unused test linux file 2024-03-05 10:22:12 +08:00
Nick Fisher 246494404c explicitly include iomanip header for iOS build using dart native 2024-03-05 10:21:51 +08:00
Nick Fisher 0c9e051baf rename plugin files 2024-03-05 10:21:26 +08:00
Nick Fisher 5287c108f9 rename getMeshNames to getChildEntities 2024-03-04 21:43:56 +08:00
Nick Fisher e2a56f4136 fix bad copy-paste bug 2024-03-04 21:43:35 +08:00
Nick Fisher f80d92bf5b move pick to pointerdown for better latency 2024-03-04 15:41:35 +08:00
Nick Fisher 403ea40d09 resize fix 2024-03-04 15:41:11 +08:00
Nick Fisher d8ae4c0949 logging 2024-03-04 15:40:58 +08:00
Nick Fisher 61299e4587 add stopAnimationByName 2024-03-04 15:40:44 +08:00
Nick Fisher 1680573a1e hardcode 5ms window for rendering 2024-03-04 08:35:00 +08:00
Nick Fisher b8314dcdd8 logging 2024-03-04 08:32:52 +08:00
Nick Fisher 06d8df0394 expose addAnimationComponent and dont add by default on loadGlb 2024-03-04 08:32:38 +08:00
Nick Fisher 40ec8accf7 expose addAnimationComponent and dont add by default on loadGlb 2024-03-04 08:32:22 +08:00
Nick Fisher 6c6bcfe7a4 work 2024-03-01 22:48:39 +08:00
Nick Fisher 9295059885 namespace changes, setCameraRotation accepts quat, getMainCamera 2024-03-01 22:47:35 +08:00
Nick Fisher 6525dea6c2 namespace changes 2024-03-01 22:47:01 +08:00