Commit Graph
100 Commits
Author SHA1 Message Date
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 779d5cba1c chore(release): publish packages
- thermion_flutter@0.2.0-dev.3.0
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 e99bf6b14b chore!: (flutter) cleanup for pub.dev publishing 2024-10-23 14:45:01 +08:00
Nick Fisher 84775f7e2a fix!: remove EntityControllerMouseWidget (replace with GestureHandler) 2024-10-23 14:45:01 +08:00
Nick Fisher 8c6bc456a8 chore(release): publish packages
- thermion_flutter@0.2.0-dev.2.0
2024-10-23 14:45:01 +08:00
Nick Fisher d58d8bbc35 chore: (flutter) web packaging fixes (use logger) 2024-10-23 14:45:01 +08:00
Nick Fisher 0738f32751 chore: (flutter) web packaging fixes 2024-10-23 14:45:01 +08:00
Nick Fisher 110962cc37 chore: (flutter) web packaging fixes 2024-10-23 14:45:01 +08:00
Nick Fisher 70e529605c chore: (flutter) add package:web to flutter deps 2024-10-23 14:45:01 +08:00
Nick Fisher aa02e04091 chore!: remove EntityListWidget - will replace with new Scene 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 f552e61157 rename Android plugin class in pubspec.yaml 2024-10-23 14:45:01 +08:00
Nick Fisher e397b68060 add namespace for build.gradle 2024-10-23 14:45:00 +08:00
Nick Fisher cb5580d770 add namespace for AndroidManifest.xml 2024-10-23 14:45:00 +08:00
Nick Fisher 0cd4ecf701 rename Android package/paths 2024-10-23 14:45:00 +08:00
Nick Fisher 46291d4a63 (flutter) provide nicer implementation of FixedOrbitCameraRotationDelegate 2024-10-23 14:45:00 +08:00
Nick Fisher 1344d1c424 (flutter) update FreeFlight camera delegate 2024-10-23 14:45:00 +08:00
Nick Fisher bb0f3d417f add PickDelegate to DelegateGestureHandler 2024-10-23 14:45:00 +08:00
Nick Fisher 0f6d02a83f add PICK_ENTITY to GestureAction 2024-10-23 14:45:00 +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 60bd7498ea (flutter) use scheduleFrameCallback to invoke requestFrame to match Flutter/vsync 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 686b4800aa add PickDelegate 2024-10-23 14:44:59 +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 02aa14d7b7 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 7dde3b5d27 add base color/texture to unlit 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
Nick Fisher 2c42fbd38d update test 2024-10-23 14:44:58 +08:00
Nick Fisher 8eca3ec76b add image methods to test helper 2024-10-23 14:44:58 +08:00
Nick Fisher 0b64bc580d update showcase 2024-10-23 14:44:58 +08:00
Nick Fisher ce2266d0ed test updates 2024-10-23 14:44:57 +08:00
Nick Fisher 60530fad6b widget updates 2024-10-23 14:44:57 +08:00
Nick Fisher b8f94ed8a9 increase min Dart SDK to 3.5 for .address FFI accessors 2024-10-23 14:44:57 +08:00
Nick Fisher 330b1ca5d8 update ffigen with new headers 2024-10-23 14:44:57 +08:00
Nick Fisher 40a7f86cef fixes for createMaterialInstance 2024-10-23 14:44:57 +08:00
Nick Fisher a9b3050265 gesture detector fixes 2024-10-23 14:44:57 +08:00
Nick Fisher b7e64b3abe ThermionViewer: add create/destroy materialinstance, add MaterialInstance property to createGeometry, priority/layer to loadGlbFromBuffer 2024-10-23 14:44:57 +08:00
Nick Fisher 56baa44c99 widget cleanup 2024-10-23 14:44:57 +08:00
Nick Fisher 357d815489 use TMaterialInstance for FFI API, add priority/layer params to load_glb_from_buffer 2024-10-23 14:44:57 +08:00
Nick Fisher e542855639 add priority/layer to FFI viewer, use struct for model matrix, add createUbershaderMaterialInstance and destroyMaterialInstance 2024-10-23 14:44:57 +08:00
Nick Fisher 6fc3f49152 update bindings 2024-10-23 14:44:57 +08:00
Nick Fisher e67c77b322 use SceneManager::LAYERS enum for Overlay, set priority/layer in loadGlbFromBuffer, add create/destroy material instance 2024-10-23 14:44:57 +08:00
Nick Fisher c3291f672e use SceneManager::LAYERS enum for Overlay 2024-10-23 14:44:57 +08:00
Nick Fisher 176036402a use SceneManager::LAYERS enum for gizmo 2024-10-23 14:44:57 +08:00
Nick Fisher 9d5488b82d add priority/layer to load_glb_from_buffer 2024-10-23 14:44:57 +08:00
Nick Fisher a2618dab31 native types, add create/destroy material instance, add SceneManager::LAYERS enum 2024-10-23 14:44:57 +08:00
Nick Fisher bb46241f98 refactor: native types 2024-10-23 14:44:57 +08:00
Nick Fisher ff7fee2d94 refactor: native types 2024-10-23 14:44:57 +08:00
Nick Fisher 9a23a24bd3 refactor: move native types to own header, add methods for create/destroy material instance, add priority/layer to load_glb_from_buffer 2024-10-23 14:44:56 +08:00
Nick Fisher a62762be92 refactor: Dart types 2024-10-23 14:44:56 +08:00
Nick Fisher 60dbc4ffd6 add texture methods (including unproject) 2024-10-23 14:44:39 +08:00
Nick Fisher 773077ab9c don't store gizmo material in LFS 2024-10-23 14:44:39 +08:00
Nick Fisher 679d208c8d test update 2024-10-23 14:44:39 +08:00
Nick Fisher 19bec9a9cf restructure viewer/types/helper folders, remove old WASM/web FFI interop, add SceneUpdated stream 2024-10-23 14:44:39 +08:00
Nick Fisher a7f6ae19f0 update tests 2024-10-23 14:44:39 +08:00
Nick Fisher 475f90d224 restructure viewer/types/helper folders, remove old WASM/web FFI interop, add SceneUpdated stream 2024-10-23 14:44:39 +08:00
Nick Fisher 285c9016d7 gesture handler & delegate improvements 2024-10-23 14:44:39 +08:00
Nick Fisher 5923d07abc allow setting material property by name 2024-10-23 14:44:39 +08:00
Nick Fisher 91cece81fb (flutter) export delegate gesture handler 2024-10-23 14:44:38 +08:00
Nick Fisher b714d421f6 remove using namespace filament* 2024-10-23 14:44:38 +08:00
Nick Fisher 20852c7ae5 update bindings 2024-10-23 14:44:38 +08:00
Nick Fisher f18f04734d allow setting material property by name 2024-10-23 14:44:38 +08:00
Nick Fisher 2eb7cc286b remove using namespace filament* 2024-10-23 14:44:38 +08:00
Nick Fisher ae91e3e2c1 geometry receives/casts shadows by default 2024-10-23 14:44:38 +08:00
Nick Fisher d73b437104 gesture handler improvements 2024-10-23 14:44:38 +08:00
Nick Fisher 04b9d9e400 remove superseded desktop/mobile gesture detector widget 2024-10-23 14:44:38 +08:00