Commit Graph

256 Commits

Author SHA1 Message Date
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
Nick Fisher
f9dfb68e9f update built unlit material 2024-10-23 14:44:59 +08:00
Nick Fisher
208eb4ad06 remove old default paramsf rom UnlitMaterialProvider 2024-10-23 14:44:59 +08:00
Nick Fisher
5608abdf79 add setMaterialProperty for int, add create_unlit_material_instance, use double4 instead of float4 2024-10-23 14:44:59 +08:00
Nick Fisher
2e404f2087 add setMaterialProperty for int, add create_unlit_material_instance 2024-10-23 14:44:59 +08:00
Nick Fisher
024201a7b7 set default layer for loadGlb to 0,. add setMaterialProperty for int, add SceneManager::createUnlitMaterialInstance 2024-10-23 14:44:58 +08:00
Nick Fisher
834726b49e set default layer for loadGlb to 0,. add setMaterialProperty for int 2024-10-23 14:44:58 +08:00
Nick Fisher
204f8204f1 change float4 to double4 2024-10-23 14:44:58 +08:00
Nick Fisher
3cf4790148 update tests 2024-10-23 14:44:58 +08:00
Nick Fisher
180f3f08dc update unproject texture to accept input texture 2024-10-23 14:44:58 +08:00
Nick Fisher
67698775a3 update unproject texture to accept input texture 2024-10-23 14:44:58 +08:00
Nick Fisher
22f97beeaa update unproject texture to accept input texture 2024-10-23 14:44:58 +08:00
Nick Fisher
9f98f21d38 update unproject texture to accept input texture 2024-10-23 14:44:58 +08:00
Nick Fisher
94ff71281f don't call clearBackgroundImage when setBackgroundImage is called (would deadlock) 2024-10-23 14:44:58 +08:00
Nick Fisher
4a96df1574 set default material for geometry to baseColorIndex 0 2024-10-23 14:44:58 +08:00
Nick Fisher
80448d4a24 depth pre-pass when projecting texture 2024-10-23 14:44:58 +08:00
Nick Fisher
257c4b29f2 add spot constructor 2024-10-23 14:44:58 +08:00
Nick Fisher
3f9db33340 add test cube texture image 2024-10-23 14:44:58 +08:00