Commit Graph

1607 Commits

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