Commit Graph

142 Commits

Author SHA1 Message Date
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
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
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
af543f46b2 add onLoad/onUnload streams 2023-11-08 17:47:11 +08:00
LukasPoque
93693788ac fix dart docs to match the method args naming 2023-11-06 17:19:40 +01:00
Nick Fisher
8120cbea6d properly free memory in model/view matrix getters 2023-11-03 22:43:04 +08: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
83469e93b9 add new interface methods for camera 2023-11-03 13:18:04 +08:00
Nick Fisher
4a5c62a306 move rect ValueNotifier to interface 2023-10-27 20:57:13 +08:00
Nick Fisher
40485081bc require createViewer to be specified manually 2023-10-27 20:32:16 +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
a56943fb86 use pixelRatio properly 2023-10-26 11:27:42 +11:00
Nick Fisher
2fd6f44785 fixes for window resizing on Windows 2023-10-26 02:10:22 +11:00
Nick Fisher
0928d9d273 rendering correctly with backing window but some issues re pixel density, scroll & foregrounding on start 2023-10-25 17:52:37 +11:00
Nick Fisher
537f0e1c8e change TextureDetails to ValueNotifier and add MethodChannel listener on Dart side for resize (Windows only) 2023-10-24 12:23:20 +11:00
Nick Fisher
ed3555c237 reorder morph animations according to actual mesh morph targets 2023-10-18 16:04:14 +08:00
Nick Fisher
50c47fe908 move LiveLinkFace-related data loaders to viewer project 2023-10-18 14:37:45 +08:00
Nick Fisher
7f7eb89a45 remove debug mode delay on Android 2023-10-17 18:25:41 +08:00
Nick Fisher
2553d854e9 replace isReadyForScene with hasViewer stream and update version number/CHANGELOG 2023-10-17 08:57:00 +08:00
Nick Fisher
6ab814114e rewrite resize handler for better support on Windows 2023-10-17 00:13:44 +11:00
Nick Fisher
6cf8e58bed refactor resizing to address race condition on Windows 2023-10-16 17:02:24 +11:00
Nick Fisher
d655672587 more documentation for FilamentController 2023-10-13 10:14:43 +08:00
Nick Fisher
1be2367b4f don't expose FILAMENT_ASSET_ERROR 2023-10-11 15:34:19 +08:00
Nick Fisher
4d827badc4 add abstract def for getNameForEntity 2023-10-11 15:31:47 +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
135465755d add missing setPostProcessing definitions 2023-10-10 18:10:14 +11:00
Nick Fisher
45576466c9 allow passing uberarchive path to FilamentViewer and expose destroy_viewer 2023-10-04 14:49:48 +08:00
Nick Fisher
d24a6135d5 remove FilamentController size property to abstract and make all methods return Futures 2023-10-03 14:22:04 +08:00
Nick Fisher
99484d6838 remove superseded cruft from MacOS plugin 2023-09-29 18:40:29 +08:00
Nick Fisher
a6506e6346 initial work to re-implement FFI with background thread render loop 2023-09-29 13:54:04 +08:00