Commit Graph

380 Commits

Author SHA1 Message Date
Nick Fisher
f1f2a237bb chore: remove combined integration_test 2024-10-25 12:01:01 +08:00
Nick Fisher
7165b13d48 chore: clean up thermion_dart test directory for GitHub actions 2024-10-25 11:41:45 +08:00
Nick Fisher
3dce7a61a8 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.12
 - thermion_flutter@0.2.1-dev.12
 - thermion_flutter_web@0.2.0+3
 - thermion_flutter_platform_interface@0.2.1-dev.12
 - thermion_flutter_ffi@0.2.1-dev.12
2024-10-25 11:25:11 +08:00
Nick Fisher
5dac06d335 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.12
 - thermion_flutter_web@0.2.0+2
 - thermion_flutter_platform_interface@0.2.1-dev.11
 - thermion_flutter_ffi@0.2.1-dev.11
 - thermion_flutter@0.2.1-dev.11
2024-10-25 11:24:32 +08:00
Nick Fisher
d7debf981c Merge branch 'master' into develop 2024-10-25 14:15:51 +11:00
Nick Fisher
2b4a73f355 feat: add SCALE2_MOVE InputType 2024-10-25 10:37:57 +08:00
Nick Fisher
06b20ec6fc fix: properly pass through loadResourcesAsync flag for loadGlbFromBuffer 2024-10-25 10:37:34 +08:00
Nick Fisher
a3b6d60e16 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.11
 - thermion_flutter@0.2.1-dev.10
 - thermion_flutter_web@0.2.0+1
 - thermion_flutter_platform_interface@0.2.1-dev.10
 - thermion_flutter_ffi@0.2.1-dev.10
2024-10-24 12:59:43 +08:00
Nick Fisher
2713286ca5 Merge pull request #71 from nmfisher/develop
Allow finer control over input handling
2024-10-24 15:56:11 +11:00
Nick Fisher
6f648702e9 feat: add SCALE2_ROTATE to InputHandler 2024-10-24 12:52:14 +08:00
Nick Fisher
5e17e0c6d1 feat!: expose velocity, rotation and timestamp for scale events in listener. accept rotationSensitivity/zoomSensitivity for FixedOrbitRotateInputHandlerDelegate 2024-10-24 10:07:32 +08:00
Nick Fisher
0fcc44bff8 doc: update docstrings for setLayerVisibilty and setVisibilityLayer 2024-10-23 15:48:34 +08:00
Nick Fisher
f65324e555 chore: cleanup LFS 2024-10-23 15:17:25 +08:00
Nick Fisher
d4a3985a65 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.10
 - thermion_flutter@0.2.1-dev.9
 - thermion_flutter_ffi@0.2.1-dev.9
 - thermion_flutter_platform_interface@0.2.1-dev.9
 - thermion_flutter_web@0.2.0
2024-10-23 14:46:40 +08:00
Nick Fisher
d73e723003 feat: set SCALE2:InputAction.ZOOM by default 2024-10-23 14:45:48 +08:00
Nick Fisher
aa7306fc4c feat: track zoom delta for DelegateInputHandler 2024-10-23 14:45:48 +08:00
Nick Fisher
d8296f85bf feat: set InputType.SCALE1 to ROTATE by default for DelegateInputHandler.fixedOrbit 2024-10-23 14:45:47 +08:00
Nick Fisher
b96dda26c0 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.9
 - thermion_flutter@0.2.1-dev.8
 - thermion_flutter_ffi@0.2.1-dev.8
 - thermion_flutter_web@0.1.1
 - thermion_flutter_platform_interface@0.2.1-dev.8
2024-10-23 14:45:47 +08:00
Nick Fisher
12f97cf78f chore: test cleanup 2024-10-23 14:45:47 +08:00
Nick Fisher
219dfa801f chore: test cleanup 2024-10-23 14:45:47 +08:00
Nick Fisher
1826c23692 chore: test cleanup 2024-10-23 14:45:47 +08:00
Nick Fisher
b5dd62a614 doc: add BUILDING.md with Windows instructions 2024-10-23 14:45:47 +08:00
Nick Fisher
59e7d7c7c3 chore!: View.getCamera returns Future<Camera> 2024-10-23 14:45:47 +08:00
Nick Fisher
e66cb35899 fix:move createUnlitMaterialInstance and createGeometry to render thread 2024-10-23 14:45:47 +08:00
Nick Fisher
d9aa90350c feat: produce debug symbols on Windows 2024-10-23 14:45:47 +08:00
Nick Fisher
4a9d28e59d fix:move createUnlitMaterialInstance and createGeometry to render thread 2024-10-23 14:45:47 +08:00
Nick Fisher
636e1961dd fix:move createUnlitMaterialInstance and createGeometry to render thread 2024-10-23 14:45:47 +08:00
Nick Fisher
ff27652fb6 chore: rename SceneManager* methods 2024-10-23 14:45:47 +08:00
Nick Fisher
3b6285cff8 fix: dont calculate surface orientation for non-triangle geometry 2024-10-23 14:45:47 +08:00
Nick Fisher
0d865977b4 chore: test cleanup 2024-10-23 14:45:47 +08:00
Nick Fisher
a6872f5a77 cleanup tests 2024-10-23 14:45:46 +08:00
Nick Fisher
d26d786f67 fix!: (windows) add flushAndWait call to capture() to prevent stalling on Windows; use provided buffer as pixelBuffer rather than duplicate allocation 2024-10-23 14:45:46 +08:00
Nick Fisher
71aa4be3b1 fix!: add meshoptimizer lib on Windows 2024-10-23 14:45:46 +08:00
Nick Fisher
70507a5919 fix!: Dart-only release mode builds on Window 2024-10-23 14:45:46 +08:00
Nick Fisher
a5c3d7b215 feat: simplify FixedOrbitCameraRotationDelegate 2024-10-23 14:45:23 +08:00
Nick Fisher
68053b0f5a rename gestureHandler to inputHandler 2024-10-23 14:45:23 +08:00
Nick Fisher
33acc73ab7 chore: add flutter quickstart example, assets and update README 2024-10-23 14:45:23 +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
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