Commit Graph

448 Commits

Author SHA1 Message Date
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
ff25744a84 use std::variant for AnimationComponent to distinguish between arbitrray entities and glTF FilamentAsset 2024-04-26 10:56:30 +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
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
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
357c585d44 add (very rough) gizmo, restructure Dart package into library, add EntityListWidget 2024-03-25 22:21:37 +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
13fa60e8de pass callback to native pick() and remove pick_ffi 2024-03-09 11:17:25 +08:00
Nick Fisher
b8aab1d030 turn PP off by default 2024-03-07 17:16:03 +11:00
Nick Fisher
34d5478beb disable postprocessing by default 2024-03-07 16:42:57 +11:00
Nick Fisher
89c7f7ddc3 hardcode frame interval to 1 2024-03-06 20:06:05 +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
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
e2a56f4136 fix bad copy-paste bug 2024-03-04 21:43:35 +08:00
Nick Fisher
d8ae4c0949 logging 2024-03-04 15:40:58 +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
a3b67bef91 namespace changes 2024-03-01 22:46:53 +08:00
Nick Fisher
9b9a0b7ce5 split component managers 2024-03-01 22:46:23 +08:00
Nick Fisher
a10fe6584d add testCollisions method for manual collision checking 2024-02-18 21:48:03 +08:00
Nick Fisher
8961f7ca8f use iOS 13.0 as min target 2024-02-18 15:23:19 +08:00
Nick Fisher
130ab8ea86 rename AssetManager to SceneManager, add camera FOV/antialiasing methods, do symmetric AABB checking for collisions 2024-02-18 15:23:04 +08:00
Nick Fisher
00803c35ab rename AssetManager to SceneManager, add camera FOV/antialiasing methods, do symmetric AABB checking for collisions 2024-02-18 15:22:47 +08:00
Nick Fisher
8107258a1e update image material 2024-02-16 20:37:07 +08:00
Nick Fisher
2ae3f8c466 rename (asset to entity) 2024-02-15 15:16:56 +08:00
Nick Fisher
935b876ce9 add flag for affectsCollidingTransform, add setParent method for transforms 2024-02-15 14:50:14 +08:00
Nick Fisher
73c039b413 differentiate between setPosition/queuePositionUpdate (+rotate), use EntityId in collision callback, fix collisions + add skiing effect 2024-02-15 13:45:09 +08:00
Nick Fisher
5d1eccacac add StandardComponents for collision 2024-02-14 10:49:12 +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
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
0d9cf8a9ff merge in work on controller from webjs branch 2024-02-02 18:17:40 +08:00