Commit Graph

43 Commits

Author SHA1 Message Date
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 9d961af8ed chore: rename Viewer_destroyOnRenderThread method and cleanup unused SwapChain parameter in render threa 2024-10-23 14:45:21 +08:00
Nick Fisher dd82d5d3e7 Windows embedder fixes 2024-10-23 14:45:21 +08:00
Nick Fisher 6d1e56caac mobile gesture handler 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 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 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 9a1354d287 chore: make pub.dev happy 2024-10-23 14:45:19 +08:00
Nick Fisher 99f0bb8468 chore: make pub.dev happy 2024-10-23 14:45:18 +08:00
Nick Fisher 17d6ca9459 chore: move swift bindings to test folder to make pub.dev happy 2024-10-23 14:45:18 +08:00
Nick Fisher 4f012662e6 feat: camera and resizing improvements 2024-10-23 14:45:18 +08:00
Nick Fisher 50ed0bdfda feat: support multiple ThermionWidget on Android 2024-10-23 14:45:18 +08:00
Nick Fisher e1efd5e4e0 feat: use imported texture on iOS 2024-10-23 14:45:18 +08:00
Nick Fisher fbd54a2a09 feat: working implementation of multiple widgets on macos 2024-10-23 14:45:14 +08:00
Nick Fisher 22020d8607 refactor: continual refactor to support multiple render targets 2024-10-23 14:45:04 +08:00
Nick Fisher 767aa88930 chore: upgrade Swift interop gen 2024-10-23 14:45:04 +08:00
Nick Fisher 03ab646713 feat: more work on multiple views/swapchains 2024-10-23 14:45:04 +08:00
Nick Fisher a5ca6132f0 refactor!: refactor to support multiple Views/Render Targets 2024-10-23 14:45:04 +08:00
Nick Fisher ef5b12af4f feat!: big refactor to support multiple swapchains 2024-10-23 14:45:04 +08:00
Nick Fisher bb303f98d2 chore: cleanup 2024-10-23 14:45:04 +08:00
Nick Fisher 56061e6471 chore: update bindings 2024-10-23 14:45:04 +08:00
Nick Fisher 6dd09a12da fix!: replace queuePosition/Rotation with queueTransforms 2024-10-23 14:45:04 +08:00
Nick Fisher 68ccd983a0 fix!: replace queuePosition/Rotation with queueTransforms 2024-10-23 14:45:04 +08:00
Nick Fisher 89cdf5e52d feat: add setParameterFloat2 method 2024-10-23 14:45:04 +08:00
Nick Fisher dc27396c6f feat: add setParameterFloat2 method 2024-10-23 14:45:03 +08:00
Nick Fisher e2eb1137d2 refactor!: remove RenderThread methods no longer needed 2024-10-23 14:45:03 +08:00
Nick Fisher 589201ad39 feat: add ThirdPersonCameraDelegate 2024-10-23 14:45:03 +08:00
Nick Fisher fb8c82d838 add ThirdPersonCameraDelegate 2024-10-23 14:45:03 +08:00
Nick Fisher 41432a07ed chore: getter for native camera view matrix 2024-10-23 14:45:03 +08:00
Nick Fisher 2408104bd0 more camera work 2024-10-23 14:45:03 +08:00
Nick Fisher d1cd68cda6 more camera work 2024-10-23 14:45:03 +08:00
Nick Fisher 3dffaddfe8 chore: rearrange library/export structure 2024-10-23 14:45:03 +08:00