Commit Graph

52 Commits

Author SHA1 Message Date
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
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
a10fe6584d add testCollisions method for manual collision checking 2024-02-18 21:48:03 +08:00
Nick Fisher
5e2946fe30 update generated bindings 2024-02-18 15:23:36 +08:00
Nick Fisher
2ae3f8c466 rename (asset to entity) 2024-02-15 15:16:56 +08:00
Nick Fisher
0b315f3dfe bump Dart SDK version for NativeCallable 2024-02-15 13:45:51 +08:00
Nick Fisher
4913956b3e add createGeometry 2024-02-14 10:48:56 +08:00
Nick Fisher
1638599078 support collisions & restructure transforms to only update once per frame 2024-02-13 13:31:18 +08:00
Nick Fisher
48a1c6dc0b use decompose/composeMatrix for transforms and add mouse controls for rotation 2024-02-03 14:11:02 +08:00
Nick Fisher
63a52025dd support relative setPosition, add hardware keyboard listener + control, log FPS 2024-02-03 11:56:06 +08:00
Nick Fisher
0d9cf8a9ff merge in work on controller from webjs branch 2024-02-02 18:17:40 +08:00
Nick Fisher
3e368e1a31 expose getters for near/far culling distance and clean up example project for more readability on frustum 2023-12-17 15:17:17 +08:00
Nick Fisher
660395a40e enable setting output directory for recording 2023-11-20 22:59:50 +08:00
Nick Fisher
5c1be3d047 add option to record to PNGs (inc background threadpool for encoding) 2023-11-20 15:28:55 +08:00
Nick Fisher
a24f56b31a restructure render loop to correct timings and expose FFI methods for setBoneTransform/setMorphWeights 2023-11-20 11:35:50 +08:00
Nick Fisher
f0683b0b24 remove morph animation FFI-specific methods (regular methods are OK to use outside the engine thread) 2023-11-19 18:12:38 +08:00
Nick Fisher
0c698d16e3 use boneName instead of boneIndex for setBoneTransform 2023-11-18 00:28:31 +08:00
Nick Fisher
572a945025 add support for multiple bone animations using quaternions 2023-11-17 23:44:30 +08:00
Nick Fisher
f5d5a36f22 add setBoneTransform method 2023-11-17 16:40:17 +08:00
Nick Fisher
f2a458b9ca add setCameraCulling method to set near/far culling plane and return vector_math:Frustum from planes returned by get_camera_frustum 2023-11-09 15:08:34 +08:00
Nick Fisher
395de95d37 more methods for projection/culling projection matrices & frustum 2023-11-09 11:41:40 +08:00
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
921f654978 update generated_bindings with consistent assetId flutter_filament_plugin 2023-11-07 17:25:36 +11:00
Nick Fisher
b5fffe617e use ffi-native for generated bindings 2023-11-07 13:15:12 +08:00
LukasPoque
9862f39bcd fix lint warnings through ignore lines 2023-11-06 17:13:13 +01: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
8b9e6a2b3a rename plugin from PolyvoxFilament to FlutterFilament
rename plugin from PolyvoxFilament to FlutterFilament
2023-10-26 14:08:20 +11:00
Nick Fisher
6bddc94b3d regenerate FFI bindings 2023-10-13 11:23:13 +08:00
Nick Fisher
98bcf5d7ad implement picker/getNameForEntity 2023-10-11 11:10:47 +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
9e903bc4f6 update generated bindings 2023-10-03 17:21:07 +11:00
Nick Fisher
313baef727 merge in Windows support 2023-09-30 16:54:20 +10: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
a7aac001c2 remove old FFI bindings 2023-09-22 08:25:51 +08:00
Nick Fisher
ed72c16724 allow partial morph animations 2023-08-18 15:43:20 +08:00
Nick Fisher
44aa3109bc add animation fading and revert to platform channel handler 2023-08-08 10:44:10 +08:00
Nick Fisher
313fb9bebf add hide/reveal entity 2023-07-03 22:54:27 +08:00
Nick Fisher
4adf8bbf80 merge 2023-06-22 13:47:24 +08:00
Nick Fisher
555d1199a2 add implementation for setMorphWeights 2023-06-22 13:38:17 +08:00
Nick Fisher
bbb3cb5727 fix dynamic bone animations 2023-04-28 20:53:16 +08:00
Nick Fisher
62c4be0563 fix dynamic bone animations 2023-04-27 16:32:32 +08:00
Nick Fisher
a692e4b7b7 fix resourceLoader 2023-04-21 09:12:34 +08:00
Nick Fisher
7225cb53b1 fix morph animations 2023-04-20 15:45:59 +08:00