Commit Graph

1740 Commits

Author SHA1 Message Date
Nick Fisher
6cf4efdf31 chore: await future in ThermionFlutterPlugin 2024-10-23 14:45:22 +08:00
Nick Fisher
83fe74253f chore: remove destroy() methods from FFIRenderTarget/FFISwapChain, implement destroyRenderTarget/destroySwapChain and clean up ThermionViewerFFI disposal 2024-10-23 14:45:22 +08:00
Nick Fisher
4be95072fd chore: update stubbed methods 2024-10-23 14:45:22 +08:00
Nick Fisher
9a8c245e31 chore: add destroySwapChain/destroyRenderTarget methods to Dart vieer and allow setting null renderTarget 2024-10-23 14:45:22 +08:00
Nick Fisher
f2e0f32054 chore: remove destroy() methods from RenderTarget and SwapChain (these need to be managed by Viewer to handle instances where the viewer itself has been disposed 2024-10-23 14:45:22 +08:00
Nick Fisher
a6c9ee60a9 fix: set View render target to nullptr if Dart renderTarget is null 2024-10-23 14:45:21 +08:00
Nick Fisher
9cef768dfc docs: add quickstart to README 2024-10-23 14:45:21 +08:00
Nick Fisher
75d5fb2f8d docs: remove Windows native_toolchain_c fixes from docs 2024-10-23 14:45:21 +08:00
Nick Fisher
e417756971 fix: set render target to null for each view and then destroy render targets when viewer disposed 2024-10-23 14:45:21 +08:00
Nick Fisher
9d961af8ed chore: rename Viewer_destroyOnRenderThread method and cleanup unused SwapChain parameter in render threa 2024-10-23 14:45:21 +08:00
Nick Fisher
ac25475155 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.8
 - thermion_flutter_web@0.1.0+9
 - thermion_flutter@0.2.1-dev.7
 - thermion_flutter_platform_interface@0.2.1-dev.7
 - thermion_flutter_ffi@0.2.1-dev.7
2024-10-23 14:45:21 +08:00
Nick Fisher
983228a8ac fix: move ThermionWin32.h to include 2024-10-23 14:45:21 +08:00
Nick Fisher
6e627d8f9f chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.7
 - thermion_flutter_web@0.1.0+8
 - thermion_flutter@0.2.1-dev.6
 - thermion_flutter_platform_interface@0.2.1-dev.6
 - thermion_flutter_ffi@0.2.1-dev.6
2024-10-23 14:45:21 +08:00
Nick Fisher
dd82d5d3e7 Windows embedder fixes 2024-10-23 14:45:21 +08:00
Nick Fisher
df319f007f cleanup 2024-10-23 14:45:21 +08:00
Nick Fisher
880551aaa3 cleanup 2024-10-23 14:45:21 +08:00
Nick Fisher
b8c76a16cc (flutter) set view renderable on Windows 2024-10-23 14:45:21 +08:00
Nick Fisher
a52f835288 move standalone Windows file to extras 2024-10-23 14:45:21 +08:00
Nick Fisher
bd9295bc90 cleanup 2024-10-23 14:45:21 +08:00
Nick Fisher
a43ee8fa3a don't call endFrame() if no views were rendered 2024-10-23 14:45:21 +08:00
Nick Fisher
d8a42a4136 add files to run standalone Windows 2024-10-23 14:45:21 +08:00
Nick Fisher
e2d11014d0 fix Windows build.dart to avoid native_assets fork; add implementations for ThermionFlutterWindows 2024-10-23 14:45:20 +08:00
Nick Fisher
6d1e56caac mobile gesture handler 2024-10-23 14:45:20 +08:00
Nick Fisher
c322c6aff9 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.6
 - thermion_flutter_web@0.1.0+7
 - thermion_flutter_platform_interface@0.2.1-dev.5
 - thermion_flutter@0.2.1-dev.5
 - thermion_flutter_ffi@0.2.1-dev.5
2024-10-23 14:45:20 +08:00
Nick Fisher
7631aec796 add native_assets_cli to dependencies 2024-10-23 14:45:20 +08:00
Nick Fisher
033e863750 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.5
 - thermion_flutter_platform_interface@0.2.1-dev.4
 - thermion_flutter_web@0.1.0+6
 - thermion_flutter@0.2.1-dev.4
 - thermion_flutter_ffi@0.2.1-dev.4
2024-10-23 14:45:20 +08:00
Nick Fisher
05b96c6972 add animation tests 2024-10-23 14:45:20 +08:00
Nick Fisher
9fc26a2078 update cube test asset with morph targets 2024-10-23 14:45:20 +08:00
Nick Fisher
c894925db1 update cube test asset with morph targets 2024-10-23 14:45:20 +08:00
Nick Fisher
b0da2f63a8 update tests 2024-10-23 14:45:20 +08:00
Nick Fisher
1c05793f03 bump animation_tools_dart dependency 2024-10-23 14:45:20 +08:00
Nick Fisher
bd123ba2f1 bump animation_tools_dart dependency 2024-10-23 14:45:20 +08:00
Nick Fisher
4aad34ce93 add pick to view tests 2024-10-23 14:45:20 +08:00
Nick Fisher
b2bd8ee66f add fall-through for InputAction.ZOOM for Third Person camera delegate 2024-10-23 14:45:20 +08:00
Nick Fisher
018434ea57 move zoom delta to InputAction.ZOOM for FreeFlight rotation delegate 2024-10-23 14:45:20 +08:00
Nick Fisher
71c230552d move zoom delta to InputAction.ZOOM for FixedOrbit rotation delegate 2024-10-23 14:45:20 +08:00
Nick Fisher
2a4b440db2 pass through sensitivity options in DelegateGestureHandler and implement cameraUpdated 2024-10-23 14:45:20 +08:00
Nick Fisher
22eeb492b0 rearrange package folders 2024-10-23 14:45:19 +08:00
Nick Fisher
19a1bc0f1d add stubbed methods 2024-10-23 14:45:19 +08:00
Nick Fisher
58010dafde add InputAction.ZOOM 2024-10-23 14:45:19 +08:00
Nick Fisher
6e64cc3617 add DefaultPickDelegate 2024-10-23 14:45:19 +08:00
Nick Fisher
056ba55f1c use condition_variable for render thread requestFrame as well as tasks 2024-10-23 14:45:19 +08:00
Nick Fisher
abd1fdefca rearrange utils dir 2024-10-23 14:45:19 +08:00
Nick Fisher
1fc3807fa8 add Axis class and rearrange utils dir 2024-10-23 14:45:19 +08:00
Nick Fisher
ae91e09943 add option for async loading glTF resources 2024-10-23 14:45:19 +08:00
Nick Fisher
5087cc48f5 return View when picking, use uint32_t for morphIndices 2024-10-23 14:45:19 +08:00
Nick Fisher
f7da303d29 set bloom enabled by default, but 0 strength 2024-10-23 14:45:19 +08:00
Nick Fisher
f90bc7b165 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.4
 - thermion_flutter_web@0.1.0+5
 - thermion_flutter@0.2.1-dev.3
 - thermion_flutter_platform_interface@0.2.1-dev.3
 - thermion_flutter_ffi@0.2.1-dev.3
2024-10-23 14:45:19 +08:00
Nick Fisher
9a1354d287 chore: make pub.dev happy 2024-10-23 14:45:19 +08:00
Nick Fisher
b3721122f0 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.3
 - thermion_flutter_web@0.1.0+4
 - thermion_flutter@0.2.1-dev.2
 - thermion_flutter_platform_interface@0.2.1-dev.2
 - thermion_flutter_ffi@0.2.1-dev.2
2024-10-23 14:45:19 +08:00