Commit Graph

53 Commits

Author SHA1 Message Date
Nick Fisher 6561af6825 change transform order for relative setPosition to SRT 2024-02-05 08:43:54 +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 17e4014b3e merge in changes from web/js branch by hand (bone animation updates) 2024-02-02 17:16:25 +08:00
Nick Fisher b899ce544e don't invalidate iterator before changing non-deleted asset indices 2023-12-17 13:11:16 +08:00
Nick Fisher f5244975df fix incorrect/premature destruction of entities 2023-12-15 23:38:38 +08:00
Nick Fisher 0474e0305e clean up unused variables 2023-11-20 23:00:14 +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 28bbc42e14 use correct bone transform for animation + setter 2023-11-18 13:33:54 +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 5ba5d7d6ea add mutex for animation updates 2023-11-03 13:10:02 +08:00
Nick Fisher 2fd6f44785 fixes for window resizing on Windows 2023-10-26 02:10:22 +11:00
Nick Fisher 482ab29f49 iterate over completed animations in reverse order 2023-10-18 10:40:56 +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 3d074f4563 check for glTF load errors and remove assets correctly 2023-10-03 17:19:43 +11:00
Nick Fisher 1f5f24c740 logging 2023-10-03 00:20:23 +08:00
Nick Fisher 313baef727 merge in Windows support 2023-09-30 16:54:20 +10: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 833022e4e0 add moveCameraToAsset 2023-09-25 22:30:07 +08: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 2a30a4dd40 remove StandardMaterialProvider 2023-09-22 08:18:09 +08:00
Nick Fisher c5d19f8576 fix AssetManager includes for proper compilation on Android 2023-09-19 17:49:15 +08:00
Nick Fisher 96556d5af0 stop animations are completed 2023-09-15 13:51:38 +08:00
Nick Fisher 574d15a2ed use custom ubershader material 2023-09-14 09:49:41 +08:00
Nick Fisher c522cd6ee9 merge 2023-09-01 12:56:25 +08:00
Nick Fisher 7687e54a0d fix animation looping bug 2023-08-24 00:57:33 +08:00
Nick Fisher 03dd2cf6ac fix int64->int32 conversion bug for morph indices 2023-08-23 15:38:12 +08:00
Nick Fisher 8bc2807592 logging 2023-08-23 15:04:23 +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 33dfc0b2b1 fixes for unnamed entities, disable unlitProvider and asset ktx2decoder 2023-08-18 12:02:14 +08:00
Nick Fisher e62bf64c04 allow multiple simultaneous gltf animatiosn 2023-08-09 13:59:10 +08:00
Nick Fisher fa8c6b1ca0 add getAnimationDuration method 2023-08-08 14:34:15 +08:00
Nick Fisher 9fd02b12a4 merge 2023-08-08 10:45:15 +08:00
Nick Fisher 44aa3109bc add animation fading and revert to platform channel handler 2023-08-08 10:44:10 +08:00
Nick Fisher 85c3e03cf0 cleanup 2023-07-18 11:32:15 +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 76c7f78e3f cleanup 2023-04-21 08:44:54 +08:00
Nick Fisher 80a781a3c4 iOS fixes 2023-04-20 22:15:50 +08:00
Nick Fisher 7225cb53b1 fix morph animations 2023-04-20 15:45:59 +08:00