Commit Graph

1590 Commits

Author SHA1 Message Date
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