Commit Graph

141 Commits

Author SHA1 Message Date
Nick Fisher
2db353cc3b add getCameraFrustum() and getCameraProjectionMatrix() 2023-11-08 20:30:14 +08:00
Nick Fisher
0748323316 add free() method for stability on Windows 2023-11-07 17:54:57 +11:00
Nick Fisher
e42d5e6263 correctly initialize manipulatorMode to default 2023-11-07 17:49:21 +11:00
Nick Fisher
48be185bba start using menu for example project & add methods for getting camera model/view matrices 2023-11-03 22:17:39 +08:00
Nick Fisher
f5cc7a8174 update example project 2023-11-03 17:28:25 +08:00
Nick Fisher
58a9542121 add model/view matrix getters & manipulator options 2023-11-03 15:20:15 +08:00
Nick Fisher
5ba5d7d6ea add mutex for animation updates 2023-11-03 13:10:02 +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
1e6f9dcc9d initialize various FilamentViewer pointers to nullptr 2023-10-22 17:45:48 +11:00
Nick Fisher
91d3894c83 make ResourceBuffer rvalue ref constructor noexcept 2023-10-16 17:02:59 +11:00
Nick Fisher
4eebe02f29 add destroy_swap_chain_ffi and move setRendering into its own task 2023-10-13 11:22:42 +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
79292914d2 fix type for nativeTextureId and add picker definition 2023-10-11 09:30:01 +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
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
4a9bf91fae don't include C++ Log.hpp in ResourceBuffer 2023-10-03 00:46:58 +08:00
Nick Fisher
2a3a99c974 move Filament headers to own directory under iOS/macOS 2023-10-03 00:15:41 +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
7463318a62 downgrade Android libs/headers to v1.32.4 2023-10-01 16:18:15 +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
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
fd843147ad add missing method handlers on Windows and use 32bit depth buffer for render target by default 2023-09-28 10:46:20 +10:00
Nick Fisher
b7b2aebf28 merge moveCameraToAsset changes 2023-09-27 16:10:10 +10:00
Nick Fisher
32049876b4 initial work on custom Platform to wrap EGL D3D surface 2023-09-27 16:03:50 +10: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
6cdc9bd3dc downgrade Filament libs to v1.34.2 for Windows 2023-09-25 21:52:09 +10:00
Nick Fisher
609e349d58 first pass Windows support 2023-09-23 15:27:09 +10:00
Nick Fisher
61d62eb463 rename window argument in create_swap_chain 2023-09-22 08:18:32 +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
f963fe6063 don't initialize to nullptr (doesn't compile in Xcode) 2023-09-14 09:53:01 +08:00
Nick Fisher
7ba1598d9e use intptr_t for textureId 2023-09-14 09:52:42 +08:00
Nick Fisher
4c99c86571 change int types for consistency 2023-09-14 09:50:17 +08:00
Nick Fisher
e1edb6299a add setBloom method 2023-08-24 09:36:30 +08:00
Nick Fisher
482666da31 expose setToneMapping method 2023-08-24 09:29:16 +08:00
Nick Fisher
730a5e530e implement missing method handlers on Linux 2023-08-21 05:13:56 +08:00
Nick Fisher
af646ba3c6 compile image material for OpenGL & Metal 2023-08-21 04:16:47 +08:00
Nick Fisher
042439a72b add method for setting material color 2023-08-19 13:52:57 +08:00
Nick Fisher
ed72c16724 allow partial morph animations 2023-08-18 15:43:20 +08:00
Nick Fisher
d82bdff939 upgrade Filament to v1.41 2023-08-18 12:01:14 +08:00
Nick Fisher
e62bf64c04 allow multiple simultaneous gltf animatiosn 2023-08-09 13:59:10 +08:00