Commit Graph

523 Commits

Author SHA1 Message Date
Nick Fisher 89cdf5e52d feat: add setParameterFloat2 method 2024-10-23 14:45:04 +08:00
Nick Fisher dc27396c6f feat: add setParameterFloat2 method 2024-10-23 14:45:03 +08:00
Nick Fisher e2eb1137d2 refactor!: remove RenderThread methods no longer needed 2024-10-23 14:45:03 +08:00
Nick Fisher b5d47ae2a5 fix!: replace queuePosition/Rotation with queueTransforms 2024-10-23 14:45:03 +08:00
Nick Fisher c2b1d8660e fix!: replace queuePosition/Rotation with queueTransforms 2024-10-23 14:45:03 +08:00
Nick Fisher b2024d38b5 feat: add uvScale to unlit material 2024-10-23 14:45:03 +08:00
Nick Fisher 589201ad39 feat: add ThirdPersonCameraDelegate 2024-10-23 14:45:03 +08:00
Nick Fisher 34c0d87703 feat!: set baseColorIndex to -1 by default in unlit materialss 2024-10-23 14:45:03 +08:00
Nick Fisher f71078e112 chore: update tests 2024-10-23 14:45:03 +08:00
Nick Fisher fb8c82d838 add ThirdPersonCameraDelegate 2024-10-23 14:45:03 +08:00
Nick Fisher 41432a07ed chore: getter for native camera view matrix 2024-10-23 14:45:03 +08:00
Nick Fisher 2408104bd0 more camera work 2024-10-23 14:45:03 +08:00
Nick Fisher d1cd68cda6 more camera work 2024-10-23 14:45:03 +08:00
Nick Fisher 3dffaddfe8 chore: rearrange library/export structure 2024-10-23 14:45:03 +08:00
Nick Fisher f023810859 chore: camera transform tests 2024-10-23 14:45:03 +08:00
Nick Fisher 256d5d4eb1 feat: set camera model matrix directly 2024-10-23 14:45:03 +08:00
Nick Fisher 7edbf8fc8d chore: rearrange library dirs, gesture handler improvements 2024-10-23 14:45:02 +08:00
Nick Fisher 758704d464 renaming/refactoring and allow creating new cameras 2024-10-23 14:45:02 +08:00
Nick Fisher 9639caf019 feat: expose more camera methods 2024-10-23 14:45:02 +08:00
Nick Fisher 0d45365ba3 chore(release): publish packages
- thermion_dart@0.2.0-dev.7.0
 - thermion_flutter_web@0.1.0-dev.7.0
 - thermion_flutter@0.2.0-dev.7.0
 - thermion_flutter_platform_interface@0.2.0-dev.7.0
 - thermion_flutter_ffi@0.2.0-dev.7.0
2024-10-23 14:45:02 +08:00
Nick Fisher c19a1b3154 fix!: fix min SDK for thermion_dart 2024-10-23 14:45:02 +08:00
Nick Fisher ac45bd2963 chore(release): publish packages
- thermion_dart@0.2.0-dev.6.0
 - thermion_flutter_web@0.1.0-dev.6.0
 - thermion_flutter@0.2.0-dev.6.0
 - thermion_flutter_platform_interface@0.2.0-dev.6.0
 - thermion_flutter_ffi@0.2.0-dev.6.0
2024-10-23 14:45:02 +08:00
Nick Fisher f2d94878da chore!: cleanup deleted export 2024-10-23 14:45:02 +08:00
Nick Fisher aaca5ad372 chore(release): publish packages
- thermion_dart@0.2.0-dev.5.0
 - thermion_flutter_web@0.1.0-dev.5.0
 - thermion_flutter@0.2.0-dev.5.0
 - thermion_flutter_platform_interface@0.2.0-dev.5.0
 - thermion_flutter_ffi@0.2.0-dev.5.0
2024-10-23 14:45:02 +08:00
Nick Fisher f6906ac3fd chore!: remove EntityTransformController (requires replacement) 2024-10-23 14:45:02 +08:00
Nick Fisher 38a5395c78 chore(release): publish packages
- thermion_dart@0.2.0-dev.4.0
 - thermion_flutter_web@0.1.0-dev.4.0
 - thermion_flutter@0.2.0-dev.4.0
 - thermion_flutter_platform_interface@0.2.0-dev.4.0
 - thermion_flutter_ffi@0.2.0-dev.4.0
2024-10-23 14:45:01 +08:00
Nick Fisher 85dcd5a5b9 fix!: (web/wasm) free pick callbacks on dispose 2024-10-23 14:45:01 +08:00
Nick Fisher 92fbe2e5d5 chore!: restructure viewer folders as libraries to only export the public interface 2024-10-23 14:45:01 +08:00
Nick Fisher f4217401e2 chore: add path to dev deps 2024-10-23 14:45:01 +08:00
Nick Fisher a670ce1cf0 chore(release): publish packages
- thermion_dart@0.2.0-dev.1.0
 - thermion_flutter@0.2.0-dev.1.0
 - thermion_flutter_ffi@0.2.0-dev.1.0
 - thermion_flutter_platform_interface@0.2.0-dev.1.0
 - thermion_flutter_web@0.1.0-dev.1.0
2024-10-23 14:45:01 +08:00
Nick Fisher 56e00c9c55 add background color tests 2024-10-23 14:45:00 +08:00
Nick Fisher 943ca26eae normalize direction in addLight 2024-10-23 14:45:00 +08:00
Nick Fisher 8e1c611e92 set clearOptions to true 2024-10-23 14:45:00 +08:00
Nick Fisher ed5f23faf2 introduce stronger native typing, camera projection/culling methods, update tests 2024-10-23 14:45:00 +08:00
Nick Fisher ab1de78b74 rename from *FFI to *RenderThread, return bool from render() to check frame timings, update render loop to wait on condition variable, add requestFrame() method 2024-10-23 14:45:00 +08:00
Nick Fisher 493d547c7b add Dart Camera type 2024-10-23 14:45:00 +08:00
Nick Fisher 7bcfd0f805 rename CameraPtr to TCamera and use named arguments for setCameraLensProjection 2024-10-23 14:45:00 +08:00
Nick Fisher 3e1b151488 move MaterialInstance methods to own class 2024-10-23 14:45:00 +08:00
Nick Fisher 820ad7cb28 rename setLayerEnabled to setLayerVisibility, add setVisibilityLayer method 2024-10-23 14:45:00 +08:00
Nick Fisher cb7828820d add ThermionPickResult typedef 2024-10-23 14:44:59 +08:00
Nick Fisher a6d457f664 update bindings 2024-10-23 14:44:59 +08:00
Nick Fisher fd95c634f1 add setMaterialDepthWrite method 2024-10-23 14:44:59 +08:00
Nick Fisher df0a744cc9 add setMaterialDepthWrite method 2024-10-23 14:44:59 +08:00
Nick Fisher af55ef56c9 update tests 2024-10-23 14:44:59 +08:00
Nick Fisher 6c6991f0a9 update stub 2024-10-23 14:44:59 +08:00
Nick Fisher d248a85aee add createUnlitMaterialInstance, setMaterialPropertyInt methods to viewer interface 2024-10-23 14:44:59 +08:00
Nick Fisher 64642204fc update bindings 2024-10-23 14:44:59 +08:00
Nick Fisher 5bb84618c3 replace some async methods with futures, fix setMaterialProperty4, update unproject, setMaterialPropertyInt, createUnlitMaterialInstance 2024-10-23 14:44:59 +08:00
Nick Fisher fc5cce71b7 export geometry from thermion_dart 2024-10-23 14:44:59 +08:00
Nick Fisher b00aa0696f remove image.mat from LFS 2024-10-23 14:44:59 +08:00