Nick Fisher
bbba889080
chore(release): publish packages
...
- thermion_dart@0.2.1-dev.0.0.15
- thermion_flutter@0.2.1-dev.15
- thermion_flutter_web@0.2.0+6
- thermion_flutter_platform_interface@0.2.1-dev.15
- thermion_flutter_ffi@0.2.1-dev.15
2024-10-31 15:32:22 +08:00
Nick Fisher
2f1c2fdd9f
chore: add logging to ThermionTextureWidget
2024-10-31 15:31:41 +08:00
Nick Fisher
cee5631064
fix: multiply coordinates by pixelRatio for scale events
2024-10-31 15:31:18 +08:00
Nick Fisher
e22a0aec4d
fix: remove superfluous ceil() calls for picking coordinates
2024-10-31 15:30:49 +08:00
Nick Fisher
c40faeb888
feat: expose zoomSensitivity argument for flight input handler
2024-10-31 15:27:49 +08:00
Nick Fisher
f666b36e43
fix: replace assets symlink for quickstart project
2024-10-30 12:12:09 +08:00
Nick Fisher
965be02891
fix: replace symlinks for camera_manipulation project
2024-10-30 12:12:09 +08:00
Nick Fisher
a760e0e594
chore(release): publish packages
...
- thermion_dart@0.2.1-dev.0.0.14
- thermion_flutter@0.2.1-dev.14
- thermion_flutter_platform_interface@0.2.1-dev.14
- thermion_flutter_ffi@0.2.1-dev.14
- thermion_flutter_web@0.2.0+5
2024-10-30 11:43:21 +08:00
Nick Fisher
82bbb572a5
feat: sanitize file paths in build.dart for Windows compatibility
2024-10-30 11:43:15 +08:00
Nick Fisher
2a9158d0e0
chore: use dependency_overrides for camera_manipulation project
2024-10-30 11:43:14 +08:00
Nick Fisher
3e29749eb4
fix: reduce size of pick functor for compatibility with armeabi-v7a
2024-10-30 11:43:14 +08:00
Nick Fisher
1ac72b7c7b
chore(release): publish packages
...
- thermion_dart@0.2.1-dev.0.0.13
- thermion_flutter_web@0.2.0+4
- thermion_flutter@0.2.1-dev.13
- thermion_flutter_ffi@0.2.1-dev.13
- thermion_flutter_platform_interface@0.2.1-dev.13
2024-10-30 11:43:14 +08:00
Nick Fisher
fb1ed9f34b
chore: test cleanup
2024-10-30 11:43:14 +08:00
Nick Fisher
07bdc028df
feat: pass through fragment coordinates for picking
2024-10-30 11:43:14 +08:00
Nick Fisher
4ed0e69321
chore: remove sandbox from macos quickstart project
2024-10-30 11:43:14 +08:00
Nick Fisher
61f8be2d62
test: add perspective projection test
2024-10-30 11:43:14 +08:00
Nick Fisher
25505c7648
Update dart.yml
2024-10-30 11:43:14 +08:00
Nick Fisher
7282e713ef
Update dart.yml
2024-10-30 11:43:14 +08:00
Nick Fisher
d76882f194
Update dart.yml
2024-10-30 11:43:14 +08:00
Nick Fisher
d24c55033b
Update dart.yml
2024-10-30 11:43:14 +08:00
Nick Fisher
64a163a6d6
chore: dummy tests
2024-10-30 11:43:14 +08:00
Nick Fisher
f4e2a4bdc6
chore: dummy tests
2024-10-30 11:43:14 +08:00
Nick Fisher
420193a7e2
chore: dummy tests
2024-10-30 11:43:14 +08:00
Nick Fisher
99b79b4f16
chore: dummy test for GitHub actions
2024-10-30 11:43:14 +08:00
Nick Fisher
d6b2e8f8d3
chore: rename test
2024-10-30 11:43:14 +08:00
Nick Fisher
014e1bfbcd
Update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
343f3cfd61
chore: update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
db3ec6b194
chore: update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
063a0b7ca7
chore: cleanup tests
2024-10-30 11:43:13 +08:00
Nick Fisher
5fe91f95db
Update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
46cfc6e72f
Update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
f71874cbf7
chore: remove combined integration_test
2024-10-30 11:43:13 +08:00
Nick Fisher
c793de7aba
Update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
ac3550a27c
Update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
b61e7df4ec
Update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
1665a9698f
chore: clean up thermion_dart test directory for GitHub actions
2024-10-30 11:43:13 +08:00
Nick Fisher
53bfd894b1
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-30 11:43:13 +08:00
Nick Fisher
f2cd165ee0
Update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
8947f7c819
Update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
8402619b97
Update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
5c955d15db
Update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
e01072ff00
Update dart.yml
2024-10-30 11:43:13 +08:00
Nick Fisher
e3fe7aaa88
chore: (flutter) (example) use dependency overrides for local thermion packages. We want to build this application for CI before releasing, so we need to be testing the packages that will be built
2024-10-30 11:43:13 +08:00
Nick Fisher
ff5ac01a1d
chore: (windows) remove unused libs
2024-10-30 11:43:12 +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
a8d21fe316
Merge pull request #72 from nmfisher/develop
...
Gesture handling improvements & build fixes
2024-10-25 14:24:20 +11:00
Nick Fisher
d784efa44a
Update dart.yml
2024-10-25 11:22:49 +08:00
Nick Fisher
b2a4955d54
Update dart.yml
2024-10-25 11:19:50 +08:00
Nick Fisher
02d7a0acfd
Update dart.yml
2024-10-25 14:16:29 +11:00
Nick Fisher
ee5c08f795
fix: (flutter) (windows) remove deleted source file from Windows CMakeLists
2024-10-25 14:16:22 +11: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
37608a8fbe
fix: LFS materials
2024-10-24 12:58:13 +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
1ba4b2a5be
chore: merge master
2024-10-23 15:16:06 +08:00
Nick Fisher
de4733edf1
chore: remove superseded LFS files
2024-10-23 15:12:46 +08:00
Nick Fisher
75936c75d0
doc: fix doc index
2024-10-23 15:04:26 +08:00
Nick Fisher
6f6ee807cf
chore: update published dependency for sample project
2024-10-23 14:59:31 +08:00
Nick Fisher
7a1ce5c281
docs: update doc index
2024-10-23 14:59:09 +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
02c3876131
doc: update camera_manipulation example project and docs
2024-10-23 14:45:48 +08:00
Nick Fisher
641ed45b59
doc: add camera_manipulation example project
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
3ba16e019c
chore: add quickstart .metadata
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
b99886095b
fix: fix all Windows warnings so apps will compile with /WX
2024-10-23 14:45:46 +08:00
Nick Fisher
8dabe08792
feat: (flutter) (windows) add DestroyRenderingSurface method
2024-10-23 14:45:46 +08:00
Nick Fisher
de4fd3b8d0
feat: (flutter) (windows) add DestroyRenderingSurface method
2024-10-23 14:45:46 +08:00
Nick Fisher
7778afe3ec
feat: (flutter) (windows) add DestroyRenderingSurface method
2024-10-23 14:45:46 +08:00
Nick Fisher
f817406dbc
feat: (flutter) (windows) add Destroy() to BackingWindow
2024-10-23 14:45:46 +08:00
Nick Fisher
a16e3fcd3c
chore: cleanup thermion_flutter pubspec.yaml
2024-10-23 14:45:46 +08:00
Nick Fisher
2bbaff5f15
chore: cleanup quickstart pubspec.yaml
2024-10-23 14:45:46 +08:00
Nick Fisher
18023f1606
chore: cleanup thermion_flutter_ffi pubspec
2024-10-23 14:45:46 +08:00
Nick Fisher
707793c6b2
chore: rearrange thermion_flutter_ffi src dir
2024-10-23 14:45:44 +08:00
Nick Fisher
f080720712
chore: update quickstart for Windows
2024-10-23 14:45:23 +08:00
Nick Fisher
cf7d8e45f4
doc: add camera_manipulation
2024-10-23 14:45:23 +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
39762c8132
chore: update quickstart
2024-10-23 14:45:23 +08:00
Nick Fisher
e27a8ee601
doc: update README
2024-10-23 14:45:23 +08:00
Nick Fisher
0a10dc426b
fix: on resize, destroy swapchain if destroySwapChainOnResize is true
2024-10-23 14:45:23 +08:00
Nick Fisher
53ee466fb6
chore: update quickstart android project files
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
dbbb4d7123
fix: add listener in ThermionFlutterTextureBackedPlatform to unset viewer on dispose
2024-10-23 14:45:22 +08:00
Nick Fisher
de39af13d0
fix: add listener in ThermionFlutterMethodChannelInterface to unset viewer on dispose
2024-10-23 14:45:22 +08:00
Nick Fisher
9244009350
fix: clean up destruction logic for FlutterPlatformTexture
2024-10-23 14:45:22 +08:00
Nick Fisher
bb10a75f0e
fix: use internal Set for determining first ThermionTextureWidget to call requestFrame and cleanup destruction logic
2024-10-23 14:45:22 +08:00
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
Nick Fisher
3c9ee7f82f
chore: make pub.dev happy
2024-10-23 14:45:19 +08:00
Nick Fisher
6ec57d02fd
chore(release): publish packages
...
- thermion_dart@0.2.1-dev.0.0.2
- thermion_flutter_web@0.1.0+3
- thermion_flutter_ffi@0.2.1-dev.1
- thermion_flutter@0.2.1-dev.1
- thermion_flutter_platform_interface@0.2.1-dev.1
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
a6738a8493
chore(release): publish packages
...
- thermion_dart@0.2.1-dev.0.0.1
- thermion_flutter_web@0.1.0+2
- thermion_flutter@0.2.1-dev.0
- thermion_flutter_platform_interface@0.2.1-dev.0
- thermion_flutter_ffi@0.2.1-dev.0
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
11fa485440
chore(release): publish packages
...
- thermion_dart@0.2.1-dev.0.0.0
- thermion_flutter@0.2.1-dev.0.0.0
- thermion_flutter_ffi@0.2.1-dev.0.0.0
- thermion_flutter_platform_interface@0.2.1-dev.0.0.0
- thermion_flutter_web@0.1.0+1
2024-10-23 14:45:18 +08:00
Nick Fisher
3e67b64b90
chore(release): publish packages
...
- thermion_dart@0.2.0
- thermion_flutter@0.2.0
- thermion_flutter_ffi@0.2.0
- thermion_flutter_platform_interface@0.2.0
- thermion_flutter_web@0.1.0
2024-10-23 14:45:18 +08:00
Nick Fisher
021180dbe3
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.8.0.0
- thermion_flutter@0.2.0-dev.8.0.0
- thermion_flutter_ffi@0.2.0-dev.8.0.0
- thermion_flutter_platform_interface@0.2.0-dev.8.0.0
- thermion_flutter_web@0.1.0-dev.8.0.0
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
4adcf7bca5
chore: remove EMSCRIPTEN ifdefs in *RenderThread methods (no longer used)
2024-10-23 14:45:18 +08:00
Nick Fisher
8ddaf24a94
chore: cleanup
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
3596723d3d
chore: refactoring and cleanup for Gizmo
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
11f668e163
chore: don't keep superfluous handle to rtDepth and rtColor
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
faabe2f2a2
feat: add rendering check to ThermionWidget ticker
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
b5d47ae2a5
fix!: replace queuePosition/Rotation with queueTransforms
2024-10-23 14:45:03 +08:00
Nick Fisher
c2b1d8660e
fix!: replace queuePosition/Rotation with queueTransforms
2024-10-23 14:45:03 +08:00
Nick Fisher
b2024d38b5
feat: add uvScale to unlit material
2024-10-23 14:45:03 +08:00
Nick Fisher
589201ad39
feat: add ThirdPersonCameraDelegate
2024-10-23 14:45:03 +08:00
Nick Fisher
34c0d87703
feat!: set baseColorIndex to -1 by default in unlit materialss
2024-10-23 14:45:03 +08:00
Nick Fisher
f71078e112
chore: update tests
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
Nick Fisher
f023810859
chore: camera transform tests
2024-10-23 14:45:03 +08:00
Nick Fisher
256d5d4eb1
feat: set camera model matrix directly
2024-10-23 14:45:03 +08:00
Nick Fisher
7edbf8fc8d
chore: rearrange library dirs, gesture handler improvements
2024-10-23 14:45:02 +08:00
Nick Fisher
2a20075797
chore: import cleanup
2024-10-23 14:45:02 +08:00
Nick Fisher
c91cbeba1a
chore: rearrange flutter gesture/widget directory structure
2024-10-23 14:45:02 +08:00
Nick Fisher
9da4710d54
chore: rearrange flutter gesture/widget directory structure
2024-10-23 14:45:02 +08:00
Nick Fisher
2d1ee3bbbe
chore: rename thermion_flutter src dir
2024-10-23 14:45:02 +08:00
Nick Fisher
758704d464
renaming/refactoring and allow creating new cameras
2024-10-23 14:45:02 +08:00
Nick Fisher
9639caf019
feat: expose more camera methods
2024-10-23 14:45:02 +08:00
Nick Fisher
0d45365ba3
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.7.0
- thermion_flutter_web@0.1.0-dev.7.0
- thermion_flutter@0.2.0-dev.7.0
- thermion_flutter_platform_interface@0.2.0-dev.7.0
- thermion_flutter_ffi@0.2.0-dev.7.0
2024-10-23 14:45:02 +08:00
Nick Fisher
c19a1b3154
fix!: fix min SDK for thermion_dart
2024-10-23 14:45:02 +08:00
Nick Fisher
ac45bd2963
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.6.0
- thermion_flutter_web@0.1.0-dev.6.0
- thermion_flutter@0.2.0-dev.6.0
- thermion_flutter_platform_interface@0.2.0-dev.6.0
- thermion_flutter_ffi@0.2.0-dev.6.0
2024-10-23 14:45:02 +08:00
Nick Fisher
f2d94878da
chore!: cleanup deleted export
2024-10-23 14:45:02 +08:00
Nick Fisher
532eadf434
chore(release): publish packages
...
- thermion_flutter@0.2.0-dev.6.0
2024-10-23 14:45:02 +08:00
Nick Fisher
673842acbc
chore!: remove superseded HardwareKeyboard* classes
2024-10-23 14:45:02 +08:00
Nick Fisher
aaca5ad372
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.5.0
- thermion_flutter_web@0.1.0-dev.5.0
- thermion_flutter@0.2.0-dev.5.0
- thermion_flutter_platform_interface@0.2.0-dev.5.0
- thermion_flutter_ffi@0.2.0-dev.5.0
2024-10-23 14:45:02 +08:00
Nick Fisher
f6906ac3fd
chore!: remove EntityTransformController (requires replacement)
2024-10-23 14:45:02 +08:00
Nick Fisher
38a5395c78
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.4.0
- thermion_flutter_web@0.1.0-dev.4.0
- thermion_flutter@0.2.0-dev.4.0
- thermion_flutter_platform_interface@0.2.0-dev.4.0
- thermion_flutter_ffi@0.2.0-dev.4.0
2024-10-23 14:45:01 +08:00
Nick Fisher
85dcd5a5b9
fix!: (web/wasm) free pick callbacks on dispose
2024-10-23 14:45:01 +08:00
Nick Fisher
92fbe2e5d5
chore!: restructure viewer folders as libraries to only export the public interface
2024-10-23 14:45:01 +08:00
Nick Fisher
779d5cba1c
chore(release): publish packages
...
- thermion_flutter@0.2.0-dev.3.0
2024-10-23 14:45:01 +08:00
Nick Fisher
f4217401e2
chore: add path to dev deps
2024-10-23 14:45:01 +08:00
Nick Fisher
e99bf6b14b
chore!: (flutter) cleanup for pub.dev publishing
2024-10-23 14:45:01 +08:00
Nick Fisher
84775f7e2a
fix!: remove EntityControllerMouseWidget (replace with GestureHandler)
2024-10-23 14:45:01 +08:00
Nick Fisher
8c6bc456a8
chore(release): publish packages
...
- thermion_flutter@0.2.0-dev.2.0
2024-10-23 14:45:01 +08:00
Nick Fisher
d58d8bbc35
chore: (flutter) web packaging fixes (use logger)
2024-10-23 14:45:01 +08:00
Nick Fisher
0738f32751
chore: (flutter) web packaging fixes
2024-10-23 14:45:01 +08:00
Nick Fisher
110962cc37
chore: (flutter) web packaging fixes
2024-10-23 14:45:01 +08:00
Nick Fisher
70e529605c
chore: (flutter) add package:web to flutter deps
2024-10-23 14:45:01 +08:00
Nick Fisher
aa02e04091
chore!: remove EntityListWidget - will replace with new Scene
2024-10-23 14:45:01 +08:00
Nick Fisher
a670ce1cf0
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.1.0
- thermion_flutter@0.2.0-dev.1.0
- thermion_flutter_ffi@0.2.0-dev.1.0
- thermion_flutter_platform_interface@0.2.0-dev.1.0
- thermion_flutter_web@0.1.0-dev.1.0
2024-10-23 14:45:01 +08:00
Nick Fisher
f552e61157
rename Android plugin class in pubspec.yaml
2024-10-23 14:45:01 +08:00
Nick Fisher
e397b68060
add namespace for build.gradle
2024-10-23 14:45:00 +08:00
Nick Fisher
cb5580d770
add namespace for AndroidManifest.xml
2024-10-23 14:45:00 +08:00
Nick Fisher
0cd4ecf701
rename Android package/paths
2024-10-23 14:45:00 +08:00
Nick Fisher
46291d4a63
(flutter) provide nicer implementation of FixedOrbitCameraRotationDelegate
2024-10-23 14:45:00 +08:00
Nick Fisher
1344d1c424
(flutter) update FreeFlight camera delegate
2024-10-23 14:45:00 +08:00
Nick Fisher
bb0f3d417f
add PickDelegate to DelegateGestureHandler
2024-10-23 14:45:00 +08:00
Nick Fisher
0f6d02a83f
add PICK_ENTITY to GestureAction
2024-10-23 14:45:00 +08:00
Nick Fisher
56e00c9c55
add background color tests
2024-10-23 14:45:00 +08:00
Nick Fisher
943ca26eae
normalize direction in addLight
2024-10-23 14:45:00 +08:00
Nick Fisher
8e1c611e92
set clearOptions to true
2024-10-23 14:45:00 +08:00
Nick Fisher
ed5f23faf2
introduce stronger native typing, camera projection/culling methods, update tests
2024-10-23 14:45:00 +08:00
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
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
Nick Fisher
5923d07abc
allow setting material property by name
2024-10-23 14:44:39 +08:00
Nick Fisher
91cece81fb
(flutter) export delegate gesture handler
2024-10-23 14:44:38 +08:00
Nick Fisher
b714d421f6
remove using namespace filament*
2024-10-23 14:44:38 +08:00
Nick Fisher
20852c7ae5
update bindings
2024-10-23 14:44:38 +08:00
Nick Fisher
f18f04734d
allow setting material property by name
2024-10-23 14:44:38 +08:00
Nick Fisher
2eb7cc286b
remove using namespace filament*
2024-10-23 14:44:38 +08:00
Nick Fisher
ae91e3e2c1
geometry receives/casts shadows by default
2024-10-23 14:44:38 +08:00
Nick Fisher
d73b437104
gesture handler improvements
2024-10-23 14:44:38 +08:00
Nick Fisher
04b9d9e400
remove superseded desktop/mobile gesture detector widget
2024-10-23 14:44:38 +08:00
Nick Fisher
6e7741706e
add pan camera implementation and fix velocity timer
2024-10-23 14:44:38 +08:00
Nick Fisher
af0ee0584d
add delegate-based implementations for gesture handlers
2024-10-23 14:44:38 +08:00
Nick Fisher
cabed69c48
remove double sided from HighlightOverlay material
2024-10-23 14:44:38 +08:00
Nick Fisher
2832686193
adjust gizmo size
2024-10-23 14:44:38 +08:00
Nick Fisher
d7149c8282
fix setCameraModelMatrix4
2024-10-23 14:44:38 +08:00
Nick Fisher
571c7e60aa
update bindings
2024-10-23 14:44:38 +08:00
Nick Fisher
a434829a6c
initialize viewportDimensions to (0,0) in ThermionViewer
2024-10-23 14:44:38 +08:00
Nick Fisher
60b8716315
fix winding order in GeometryHelper
2024-10-23 14:44:38 +08:00
Nick Fisher
7aba6d15b7
reduce size of gizmo
2024-10-23 14:44:37 +08:00
Nick Fisher
48ada59a2f
remove logging
2024-10-23 14:44:37 +08:00
Nick Fisher
c5aa1abb30
culling fixes for HighlightOverlay
2024-10-23 14:44:37 +08:00
Nick Fisher
daeedd6f73
add v2 gesture handlers
2024-10-23 14:44:37 +08:00
Nick Fisher
cac80159ff
add v2 gesture handlers
2024-10-23 14:44:37 +08:00
Nick Fisher
a5cb23c32e
chore!: rename controller to viewer in gesture detector widgets
2024-10-23 14:44:37 +08:00
Nick Fisher
0f5b7e5e6d
update material building in Makefile
2024-10-23 14:44:37 +08:00
Nick Fisher
12aaebd154
update test
2024-10-23 14:44:37 +08:00
Nick Fisher
8899d4b960
use opaque CameraPtr to set camera matrices/properties/etc
2024-10-23 14:44:37 +08:00
Nick Fisher
1ba91a1fd6
rename getBoundingBox to getViewportBoundingBox and add camera methods
2024-10-23 14:44:37 +08:00
Nick Fisher
c34d89affd
rename getBoundingBox to getViewportBoundingBox
2024-10-23 14:44:37 +08:00
Nick Fisher
e07a4fac97
explicitly mark type of Camera for Gizmo
2024-10-23 14:44:37 +08:00
Nick Fisher
76428b2e70
use opaque CameraPtr to set camera matrices/properties/etc
2024-10-23 14:44:37 +08:00
Nick Fisher
78a0763ad7
remove camera methods from FilamentViewer
2024-10-23 14:44:37 +08:00
Nick Fisher
32591f5af7
remove camera methods from FilamentViewer
2024-10-23 14:44:37 +08:00
Nick Fisher
c1898b97c9
use opaque CameraPtr to set camera matrices/properties/etc
2024-10-23 14:44:37 +08:00
Nick Fisher
5c82b6351c
mark all ffigen functions as leaf
2024-10-23 14:44:37 +08:00
Nick Fisher
14f62a6427
remove update_viewport_and_camera_projection_ffi
2024-10-23 14:44:36 +08:00
Nick Fisher
2a30a6f2e1
remove update_viewport_and_camera_projection_ffi
2024-10-23 14:44:36 +08:00
Nick Fisher
7b96ee0d9c
add matrix helper
2024-10-23 14:44:36 +08:00
Nick Fisher
5994908197
update stubbed ThermionViewer methods
2024-10-23 14:44:36 +08:00
Nick Fisher
d6c3badbba
remove unused get_camera_position method
2024-10-23 14:44:36 +08:00
Nick Fisher
9aa9e84bc0
update stub ThermionViewer
2024-10-23 14:44:36 +08:00
Nick Fisher
f3637eab3f
update bindings
2024-10-23 14:44:36 +08:00
Nick Fisher
9f9ee09f9c
add loadGlbFromBuffer implementation to ThermionViewerFFI
2024-10-23 14:44:36 +08:00
Nick Fisher
08b986c5e3
add createGeometryWithNormals to SceneManager
2024-10-23 14:44:36 +08:00
Nick Fisher
c8f6c2582b
add createGeometryWithNormals to SceneManager
2024-10-23 14:44:36 +08:00
Nick Fisher
ae1c8dbdfc
add normals to CustomGeometry implementation
2024-10-23 14:44:36 +08:00
Nick Fisher
3b5c91b15c
add normals to CustomGeometry interface
2024-10-23 14:44:36 +08:00
Nick Fisher
7a6e9cd598
HighlightOverlay fixes
2024-10-23 14:44:36 +08:00
Nick Fisher
6a8f0bda09
don't set stencil highlight in Gizmo
2024-10-23 14:44:36 +08:00
Nick Fisher
05305aa27d
add create_geometry_with_normals method
2024-10-23 14:44:36 +08:00
Nick Fisher
ae59288b1f
add create_geometry_with_normals method
2024-10-23 14:44:36 +08:00
Nick Fisher
7269a5e527
add create_geometry_with_normals_ffi method, switch load_glb_from_buffer type to uint8_t for Dart leaf compat and add keepData param
2024-10-23 14:44:36 +08:00
Nick Fisher
02dffaade5
add create_geometry_with_normals_ffi method, switch load_glb_from_buffer type to uint8_t for Dart leaf compat and add keepData param
2024-10-23 14:44:35 +08:00
Nick Fisher
9686650987
update test helpers
2024-10-23 14:44:35 +08:00
Nick Fisher
eefa3cbe98
(flutter) add experimental GestureHandler widget and decouple from ThermionGestureDetectorDesktop
2024-10-23 14:44:35 +08:00
Nick Fisher
0a4b5c8676
(flutter) add experimental GestureHandler widget and decouple from ThermionGestureDetectorDesktop
2024-10-23 14:44:35 +08:00
Nick Fisher
dff3cc21fa
add loadGlbFromBuffer method and normals param to ThermionViewer
2024-10-23 14:44:35 +08:00
Nick Fisher
d7bb0e492c
(flutter) set enablePicking to false by default in ThermionGestureDetector
2024-10-23 14:44:35 +08:00
Nick Fisher
af92c26124
(flutter) add const FlutterWebOptions
2024-10-23 14:44:35 +08:00
Nick Fisher
d1ffa246a9
(flutter) add CameraOrientationWidget
2024-10-23 14:44:35 +08:00
Nick Fisher
4e7b79f98d
(flutter) add const constructor for flutter options
2024-10-23 14:44:35 +08:00
Nick Fisher
9cff791ce5
add GeometryHelper
2024-10-23 14:44:35 +08:00
Nick Fisher
fdb2d75cf0
(flutter) add CameraOrientationWidget
2024-10-23 14:44:35 +08:00
Nick Fisher
825c6e1a80
feat: parent the cloned entity instance when setting stencil highlight
2024-10-23 14:44:35 +08:00
Nick Fisher
ec9366d72b
feat: add getAncestor method
2024-10-23 14:44:35 +08:00
Nick Fisher
ff304ad3d4
feat: add getAncestor method
2024-10-23 14:44:35 +08:00
Nick Fisher
b71ba411fd
update bindings
2024-10-23 14:44:35 +08:00
Nick Fisher
dfe7b4e6c6
feat: set stencil highlight on gizmo attach
2024-10-23 14:44:35 +08:00
Nick Fisher
96e2de6de1
update tests
2024-10-23 14:44:35 +08:00
Nick Fisher
d4d4dc4fd7
feat: move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector and removeStencilHighlight
2024-10-23 14:44:34 +08:00
Nick Fisher
2ccbb4c0c4
chore: remove createGeometry method from FilamentViewer, set default view blend mode
2024-10-23 14:44:34 +08:00
Nick Fisher
709b098054
fix: properly destroy entities/material/etc in Gizmo on destruction, remove custom scene creation logic
2024-10-23 14:44:34 +08:00
Nick Fisher
53ff6c72f0
feat: move HighlightOverlay to nested class, move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector
2024-10-23 14:44:34 +08:00
Nick Fisher
8044adcc50
feat: add removeStencilHighlight, accept color param for setStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionDartApi
2024-10-23 14:44:34 +08:00
Nick Fisher
9b91da3798
feat: add removeStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionViewer
2024-10-23 14:44:34 +08:00
Nick Fisher
286910e722
chore: delete old unlit_opaque material
2024-10-23 14:44:34 +08:00
Nick Fisher
8fe4322536
chore: rebuild unlit material
2024-10-23 14:44:34 +08:00
Nick Fisher
a7005d13df
feat: add scale parameter to unlit material
2024-10-23 14:44:34 +08:00
Nick Fisher
8ca4205d2c
fix: add Fence to capture() and set stencil buffer by default
2024-10-23 14:44:34 +08:00
Nick Fisher
af30b27724
test: add test cube.glb
2024-10-23 14:44:34 +08:00
Nick Fisher
2d688e74f2
chore: remove old materials Makefile
2024-10-23 14:44:34 +08:00
Nick Fisher
0a4e3501dc
feat: add flag for keepData for gltf instancing, add highlightScene, add stencilHighlight method
2024-10-23 14:44:34 +08:00
Nick Fisher
1b50ca2b57
chore: minor widget fixes
2024-10-23 14:44:34 +08:00
Nick Fisher
b454bbd662
feat: add grid material
2024-10-23 14:44:34 +08:00
Nick Fisher
1480920938
feat: allow passing null options to ThermionWidget
2024-10-23 14:44:34 +08:00
Nick Fisher
65a6231f23
feat: grid uses own material
2024-10-23 14:44:33 +08:00
Nick Fisher
4b70116754
chore: clean up old commented code
2024-10-23 14:44:33 +08:00
Nick Fisher
e136b0a9f1
fix: ignore pick results directly on axis
2024-10-23 14:44:33 +08:00
Nick Fisher
e45cc0267f
feat: add grid material
2024-10-23 14:44:33 +08:00
Nick Fisher
d17cce2ca4
feat: expose setLightDirection and setLightPosition
2024-10-23 14:44:33 +08:00
Nick Fisher
c93cc296a0
chore: update binding
2024-10-23 14:44:33 +08:00
Nick Fisher
f63d42a75b
chore: (js) stub missing methods
2024-10-23 14:44:33 +08:00
Nick Fisher
1ae7be0846
chore: (wasm) add missing interop methods
2024-10-23 14:44:33 +08:00
Nick Fisher
c3388f2a48
feat: (flutter) (web) if importCanvasAsWidget is false, render transparency
2024-10-23 14:44:33 +08:00
Nick Fisher
4909f4395d
chore: stub ThermionWidget methods
2024-10-23 14:44:33 +08:00
Nick Fisher
2a8122e280
feat: (flutter) move DPR calculation to resizeTexture and add createViewerWithOptions method to ThermionFlutterFFI
2024-10-23 14:44:33 +08:00
Nick Fisher
937eaaaaa1
fix: (flutter) pass ThermionFlutterOptions to ThermionWidget, use dpr for resizeTexture, delete unnecessary TransparencyPainter class
2024-10-23 14:44:33 +08:00
Nick Fisher
f0974509bf
feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated
2024-10-23 14:44:33 +08:00
Nick Fisher
0d71b0d8fe
feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated
2024-10-23 14:44:33 +08:00
Nick Fisher
cf0a76c343
feat: (flutter) (web) use options to determine whether to create canvas, and set fixed position + offset
2024-10-23 14:44:33 +08:00
Nick Fisher
0f5b90998e
test: update viewport gizmo test
2024-10-23 14:44:33 +08:00
Nick Fisher
8963b79db0
chore: (flutter) export platform interface from thermion_flutter package
2024-10-23 14:44:33 +08:00
Nick Fisher
dc0a698330
chore: stub new methods
2024-10-23 14:44:32 +08:00
Nick Fisher
6e54ed096f
doc: pixelRatio
2024-10-23 14:44:32 +08:00
Nick Fisher
a552c11983
feat: add ThermionFlutterOptions classes, rename interface parameter for offsetTop and ensure pixelRatio is passed to resizeTexture
2024-10-23 14:44:32 +08:00
Nick Fisher
1bdf6888c6
fix: emscripten export visibility for add_light
2024-10-23 14:44:32 +08:00
Nick Fisher
f69fcbb783
chore: use float instead of float32_t in FilamentViewer
2024-10-23 14:44:32 +08:00
Nick Fisher
6771431038
chore: add nested PickCallbackHandler to Gizmo
2024-10-23 14:44:32 +08:00
Nick Fisher
712568d118
chore: update Makefile to add missing headers to resgen files
2024-10-23 14:44:32 +08:00
Nick Fisher
4916c4cc50
fix: (flutter/web) use window.devicePixelRatio for viewport
2024-10-23 14:44:32 +08:00
Nick Fisher
8ed26c72e2
fix: (wasm) use correct coords for pick, free memory correctly, keep pixelratio copy
2024-10-23 14:44:32 +08:00
Nick Fisher
919010235c
fix: (flutter) desktop gesture detector changes for new Gizmo methods
2024-10-23 14:44:32 +08:00
Nick Fisher
580d795054
chore: Dart Gizmo class cleanup
2024-10-23 14:44:32 +08:00
Nick Fisher
329193f2f2
feat: add setGizmoVisibility/pickGizmo methods to ThermionViewer
2024-10-23 14:44:32 +08:00
Nick Fisher
b20acaec6f
feat: remove gizmo view references, exclude gizmo entities from picking, add createIbl
2024-10-23 14:44:32 +08:00
Nick Fisher
516d420a1e
feat: createIbl
2024-10-23 14:44:32 +08:00
Nick Fisher
b92b34a8ad
chore: init SceneManager pointers to nullptr
2024-10-23 14:44:32 +08:00
Nick Fisher
7d7596bbdd
fix: add more nan checks for gizmo manipulation
2024-10-23 14:44:31 +08:00
Nick Fisher
acac2dba90
feat: expose API methods for create_ibl, pick/set gizmo visibility
2024-10-23 14:44:31 +08:00
Nick Fisher
727ac7d9df
feat: create transparent overlay for gizmo for easier picking
2024-10-23 14:44:31 +08:00
Nick Fisher
2fc54ae343
feat: rescale gizmo based on distance from camera
2024-10-23 14:44:31 +08:00
Nick Fisher
e04cd0488e
feat: rescale gizmo based on distance from camera
2024-10-23 14:44:31 +08:00
Nick Fisher
f867e21647
fix: add check for nan NDC coordinates for viewport translation
2024-10-23 14:44:31 +08:00
Nick Fisher
ec27935d81
fix stub methods
2024-10-23 14:44:31 +08:00
Nick Fisher
08ae0387a9
add implementations to JS bridge/shim classes
2024-10-23 14:44:31 +08:00
Nick Fisher
ca69c783d3
add missing methods to wasm viewer
2024-10-23 14:44:31 +08:00
Nick Fisher
12198dd6df
feat: highlight gizmo on hover
2024-10-23 14:44:31 +08:00
Nick Fisher
d1fbbe1167
add implementations to FFI viewer
2024-10-23 14:44:31 +08:00
Nick Fisher
65e79b0d07
fix!: (flutter) pass pixelRatio to createTexture
2024-10-23 14:44:31 +08:00
Nick Fisher
9fb9df1843
(flutter) (web) initialize viewer to 1x1 then resize on createTexture
2024-10-23 14:44:31 +08:00
Nick Fisher
b15166a599
feat!: (flutter) (web) upgrade package:web dep to 1.0.0
2024-10-23 14:44:31 +08:00
Nick Fisher
bf81dfe806
fix!: (flutter) pass pixelRatio to createTexture
2024-10-23 14:44:31 +08:00
Nick Fisher
f588b3b6e7
feat: expose setLayerEnabled, viewportDimensions and getCameraFov on ThermionView
2024-10-23 14:44:31 +08:00
Nick Fisher
c29db74b1d
stub out new methods
2024-10-23 14:44:31 +08:00
Nick Fisher
213fc3da91
fix!: (flutter) pass pixelRatio to createTexture
2024-10-23 14:44:30 +08:00
Nick Fisher
ab4f721914
fix!: (flutter) pass pixelRatio to createTexture
2024-10-23 14:44:30 +08:00
Nick Fisher
8ac9876ec3
chore: update bindings
2024-10-23 14:44:30 +08:00
Nick Fisher
4fbc113fcb
chore: add viewport test
2024-10-23 14:44:30 +08:00
Nick Fisher
4d3d744cd6
feat: layers, grid
2024-10-23 14:44:30 +08:00
Nick Fisher
21416fa8c8
feat: layers, grid
2024-10-23 14:44:30 +08:00
Nick Fisher
f2f973bf00
feat: ignore grid overlay and gizmo center when picking, implement highlighting
2024-10-23 14:44:30 +08:00
Nick Fisher
0c655dbfd4
feat: SceneManager updates (setLayer, add grid, queueRelativePositionUpdateWorld
2024-10-23 14:44:30 +08:00
Nick Fisher
ebac947c92
feat: expose set_layer_enabled, get_camera_fov and queue_relative_position_updateg_world_axis to ThermionDartApi.h
2024-10-23 14:44:30 +08:00
Nick Fisher
ce85a9d0b1
feat: add getCameraFov to FilamentViewer
2024-10-23 14:44:30 +08:00
Nick Fisher
f114ca33d5
feat: add new grid overlay files to web CmakeLists
2024-10-23 14:44:30 +08:00
Nick Fisher
850628f7f6
chore: rebuild materials
2024-10-23 14:44:30 +08:00
Nick Fisher
8681d58ffb
fix: update material output path in Makefile
2024-10-23 14:44:30 +08:00
Nick Fisher
8f2cd5a353
add grid overlay
2024-10-23 14:44:30 +08:00
Nick Fisher
f6f12e2566
use inactive/active color gizmo
2024-10-23 14:44:30 +08:00
Nick Fisher
3512ed6da3
chore: don't use shader to overlay gizmo
2024-10-23 14:44:30 +08:00
Nick Fisher
4a29a77a78
feat: re-implement (native) Gizmo class, expose preserveScaling parameter for setParent, add methods for getting viewport bounding box from renderable entity
2024-10-23 14:44:29 +08:00
Nick Fisher
aa17962936
fix: (web) add emscripten guards for flushAndWait call when swapchain destroyed
2024-10-23 14:44:29 +08:00
Nick Fisher
10cab8dcb4
feat!: (web) (flutter) create canvas when createViewer is called (no longer need to manually add canvas element to web HTML)
2024-10-23 14:44:29 +08:00
Nick Fisher
0a720fae72
feat: add capture() function and expose viewportDimensions on ThermionViewer (allows easier saving of captured images to PNG)
2024-10-23 14:44:29 +08:00
Nick Fisher
0153b5be22
feat: (web) allow table growth in emscripten module for passing C-style callback function pointers
2024-10-23 14:44:29 +08:00
Nick Fisher
479a9ead03
feat: (web) add capture() method and missing camera navigation controls
2024-10-23 14:44:29 +08:00
Nick Fisher
b207a48175
feat!: resize canvas on web
2024-10-23 14:44:29 +08:00
Nick Fisher
9e3311c6f9
feat!: update web/http dependencies
2024-10-23 14:44:29 +08:00
Nick Fisher
88257c7e03
feat: download WASM module directly on web (no need to embed in index.html any more) and expose updateViewportAndCameraProjection
2024-10-23 14:44:29 +08:00
Nick Fisher
a30e2f295f
feat: add startOffset parameter to gltf playAnimation
2024-10-23 14:44:29 +08:00
Nick Fisher
96ad9dee18
chore(release): publish packages
...
- thermion_dart@0.1.3
- thermion_flutter_ffi@0.1.0+12
- thermion_flutter_web@0.0.3
- thermion_flutter_platform_interface@0.1.0+11
- thermion_flutter@0.1.1+13
2024-10-23 14:44:29 +08:00
Nick Fisher
8800195c2c
chore: remove top-level .gitattributes
2024-10-23 14:41:21 +08:00
Nick Fisher
74b7c938a8
feat: set SCALE2:InputAction.ZOOM by default
2024-10-23 14:36:47 +08:00
Nick Fisher
3dcacfe631
doc: update camera_manipulation example project and docs
2024-10-23 14:36:26 +08:00
Nick Fisher
bf02406bf4
doc: add camera_manipulation example project
2024-10-23 14:11:48 +08:00
Nick Fisher
4371dbda3c
feat: track zoom delta for DelegateInputHandler
2024-10-23 14:10:41 +08:00
Nick Fisher
c6640cef96
feat: set InputType.SCALE1 to ROTATE by default for DelegateInputHandler.fixedOrbit
2024-10-23 14:03:47 +08:00
Nick Fisher
11ca6972c6
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 13:46:45 +08:00
Nick Fisher
e235d22c7c
chore: add quickstart .metadata
2024-10-23 13:46:00 +08:00
Nick Fisher
512d74568a
chore: test cleanup
2024-10-23 16:43:17 +11:00
Nick Fisher
617c2ba578
chore: test cleanup
2024-10-23 16:43:02 +11:00
Nick Fisher
5476c6248c
chore: test cleanup
2024-10-23 16:42:33 +11:00
Nick Fisher
916366bd10
doc: add BUILDING.md with Windows instructions
2024-10-23 16:42:09 +11:00
Nick Fisher
5e66893719
chore!: View.getCamera returns Future<Camera>
2024-10-23 16:41:51 +11:00
Nick Fisher
16964b4987
fix:move createUnlitMaterialInstance and createGeometry to render thread
2024-10-23 16:40:55 +11:00
Nick Fisher
73846ffa9b
feat: produce debug symbols on Windows
2024-10-23 16:40:30 +11:00
Nick Fisher
d5824239f5
fix:move createUnlitMaterialInstance and createGeometry to render thread
2024-10-23 16:39:42 +11:00
Nick Fisher
c4270fc918
fix:move createUnlitMaterialInstance and createGeometry to render thread
2024-10-23 16:38:23 +11:00
Nick Fisher
a29a1605a7
chore: rename SceneManager* methods
2024-10-23 16:28:42 +11:00
Nick Fisher
22868a594f
fix: dont calculate surface orientation for non-triangle geometry
2024-10-23 16:28:00 +11:00
Nick Fisher
aed64a27e8
chore: test cleanup
2024-10-23 15:11:33 +11:00
Nick Fisher
2b338a63ba
cleanup tests
2024-10-23 15:08:14 +11:00
Nick Fisher
cda4027f83
fix!: (windows) add flushAndWait call to capture() to prevent stalling on Windows; use provided buffer as pixelBuffer rather than duplicate allocation
2024-10-23 15:02:28 +11:00
Nick Fisher
7814269e15
Create dart.yml
2024-10-23 14:35:44 +11:00
Nick Fisher
e2175db7cb
fix!: add meshoptimizer lib on Windows
2024-10-23 14:16:03 +11:00
Nick Fisher
f1828b0c92
fix!: Dart-only release mode builds on Window
2024-10-23 14:15:41 +11:00
Nick Fisher
5cf9fab4f2
fix: fix all Windows warnings so apps will compile with /WX
2024-10-23 02:41:16 +11:00
Nick Fisher
c3764df4e2
feat: (flutter) (windows) add DestroyRenderingSurface method
2024-10-23 02:25:06 +11:00
Nick Fisher
a2a1033701
feat: (flutter) (windows) add DestroyRenderingSurface method
2024-10-23 02:24:49 +11:00
Nick Fisher
2536f7fc6f
feat: (flutter) (windows) add DestroyRenderingSurface method
2024-10-23 02:24:34 +11:00
Nick Fisher
b6fe78b82c
feat: (flutter) (windows) add Destroy() to BackingWindow
2024-10-23 02:23:54 +11:00
Nick Fisher
f8cddf0bce
chore: cleanup thermion_flutter pubspec.yaml
2024-10-23 02:23:15 +11:00
Nick Fisher
2c7a32b47e
chore: cleanup quickstart pubspec.yaml
2024-10-23 02:22:45 +11:00
Nick Fisher
e6dd4c6cfe
chore: cleanup thermion_flutter_ffi pubspec
2024-10-23 02:22:23 +11:00
Nick Fisher
fb756fe9ba
chore: rearrange thermion_flutter_ffi src dir
2024-10-23 02:22:04 +11:00
Nick Fisher
c21e890b48
chore: update quickstart for Windows
2024-10-23 02:21:00 +11:00
Nick Fisher
3720aa98df
Merge branch 'develop' of https://github.com/nmfisher/thermion into develop
2024-10-23 01:24:44 +11:00
Nick Fisher
640aa7854a
doc: add camera_manipulation
2024-10-22 22:23:51 +08:00
Nick Fisher
9689690730
feat: simplify FixedOrbitCameraRotationDelegate
2024-10-22 22:23:35 +08:00
Nick Fisher
a08620d7c9
rename gestureHandler to inputHandler
2024-10-22 22:23:13 +08:00
Nick Fisher
fdbdc8e3f3
chore: update quickstart
2024-10-22 22:22:30 +08:00
Nick Fisher
071d3b3023
doc: update README
2024-10-22 22:22:16 +08:00
Nick Fisher
f6b12d946a
merge
2024-10-23 01:20:22 +11:00
Nick Fisher
11572b4939
fix: on resize, destroy swapchain if destroySwapChainOnResize is true
2024-10-22 14:11:02 +08:00
Nick Fisher
0c75b9a994
chore: update quickstart android project files
2024-10-22 14:10:22 +08:00
Nick Fisher
ed44aad076
chore: add flutter quickstart example, assets and update README
2024-10-22 13:11:48 +08:00
Nick Fisher
6dc00bff74
fix: add listener in ThermionFlutterTextureBackedPlatform to unset viewer on dispose
2024-10-22 12:48:26 +08:00
Nick Fisher
5f2407baeb
fix: add listener in ThermionFlutterMethodChannelInterface to unset viewer on dispose
2024-10-22 12:48:05 +08:00
Nick Fisher
45f41f3cf7
fix: clean up destruction logic for FlutterPlatformTexture
2024-10-22 12:47:35 +08:00
Nick Fisher
0c29d61a35
fix: use internal Set for determining first ThermionTextureWidget to call requestFrame and cleanup destruction logic
2024-10-22 12:47:13 +08:00
Nick Fisher
58e549e3b3
chore: await future in ThermionFlutterPlugin
2024-10-22 12:46:36 +08:00
Nick Fisher
2ae4f6b338
chore: remove destroy() methods from FFIRenderTarget/FFISwapChain, implement destroyRenderTarget/destroySwapChain and clean up ThermionViewerFFI disposal
2024-10-22 12:46:18 +08:00
Nick Fisher
e28e41c1d9
chore: update stubbed methods
2024-10-22 12:45:30 +08:00
Nick Fisher
05dfe51260
chore: add destroySwapChain/destroyRenderTarget methods to Dart vieer and allow setting null renderTarget
2024-10-22 12:45:16 +08:00
Nick Fisher
ec6e94f4ca
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-22 12:44:46 +08:00
Nick Fisher
bdb332bd79
fix: set View render target to nullptr if Dart renderTarget is null
2024-10-22 12:44:00 +08:00
Nick Fisher
9295dfc7c1
docs: add quickstart to README
2024-10-22 12:43:31 +08:00
Nick Fisher
fb4bee4801
docs: remove Windows native_toolchain_c fixes from docs
2024-10-22 12:43:15 +08:00
Nick Fisher
8b7c2aa48d
fix: set render target to null for each view and then destroy render targets when viewer disposed
2024-10-22 12:42:50 +08:00
Nick Fisher
9bec96f160
chore: rename Viewer_destroyOnRenderThread method and cleanup unused SwapChain parameter in render threa
2024-10-22 12:42:19 +08:00
Nick Fisher
cb517c907d
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-14 09:36:55 +08:00
Nick Fisher
a6f5e59cbb
fix: move ThermionWin32.h to include
2024-10-14 09:36:28 +08:00
Nick Fisher
9420143a36
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-14 09:25:59 +08:00
Nick Fisher
eb8835b63a
Merge pull request #69 from nmfisher/feature/multiple_swapchains
...
Support multiple views/widgets/swapchains
2024-10-14 12:05:21 +11:00
Nick Fisher
f9468db266
Windows embedder fixes
2024-10-14 11:23:56 +11:00
Nick Fisher
1135ba054c
cleanup
2024-10-12 15:07:14 +11:00
Nick Fisher
8f7509a23f
cleanup
2024-10-12 15:06:57 +11:00
Nick Fisher
cba9ee98ad
(flutter) set view renderable on Windows
2024-10-12 14:56:04 +11:00
Nick Fisher
0ec0fef8f3
move standalone Windows file to extras
2024-10-12 14:55:41 +11:00
Nick Fisher
a348562f56
cleanup
2024-10-12 14:36:51 +11:00
Nick Fisher
392a606bbc
don't call endFrame() if no views were rendered
2024-10-12 14:36:05 +11:00
Nick Fisher
440bed4485
add files to run standalone Windows
2024-10-12 14:34:42 +11:00
Nick Fisher
a321966e5b
fix Windows build.dart to avoid native_assets fork; add implementations for ThermionFlutterWindows
2024-10-12 02:14:37 +11:00
Nick Fisher
f180c1018f
mobile gesture handler
2024-10-11 15:37:03 +08:00
Nick Fisher
f267aa6dc6
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-10 20:58:19 +08:00
Nick Fisher
1c74e83c2c
add native_assets_cli to dependencies
2024-10-10 20:57:50 +08:00
Nick Fisher
099a895eb6
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-10 20:49:40 +08:00
Nick Fisher
3b810f84da
add animation tests
2024-10-10 20:49:08 +08:00
Nick Fisher
10f2c7d36b
update cube test asset with morph targets
2024-10-10 20:49:01 +08:00
Nick Fisher
5b849638de
update cube test asset with morph targets
2024-10-10 20:48:54 +08:00
Nick Fisher
857fd6f782
update tests
2024-10-10 20:48:41 +08:00
Nick Fisher
29edec63ab
bump animation_tools_dart dependency
2024-10-10 20:47:45 +08:00
Nick Fisher
c6afc4756a
bump animation_tools_dart dependency
2024-10-10 20:47:33 +08:00
Nick Fisher
365657cf88
add pick to view tests
2024-10-10 20:47:17 +08:00
Nick Fisher
5441dedcf4
add fall-through for InputAction.ZOOM for Third Person camera delegate
2024-10-10 20:47:00 +08:00
Nick Fisher
254b6d8af2
move zoom delta to InputAction.ZOOM for FreeFlight rotation delegate
2024-10-10 20:46:34 +08:00
Nick Fisher
1459aea5cf
move zoom delta to InputAction.ZOOM for FixedOrbit rotation delegate
2024-10-10 20:46:16 +08:00
Nick Fisher
80d8525671
pass through sensitivity options in DelegateGestureHandler and implement cameraUpdated
2024-10-10 20:45:33 +08:00
Nick Fisher
389a165ed3
rearrange package folders
2024-10-10 20:44:55 +08:00
Nick Fisher
d8f309d21b
add stubbed methods
2024-10-10 20:44:39 +08:00
Nick Fisher
ee983ddfaa
add InputAction.ZOOM
2024-10-10 20:43:58 +08:00
Nick Fisher
c1cdd37e9d
add DefaultPickDelegate
2024-10-10 20:43:31 +08:00
Nick Fisher
646f05933d
use condition_variable for render thread requestFrame as well as tasks
2024-10-10 20:43:04 +08:00
Nick Fisher
3f854a7f27
rearrange utils dir
2024-10-10 14:59:11 +08:00
Nick Fisher
740dbea8bd
add Axis class and rearrange utils dir
2024-10-10 14:58:50 +08:00
Nick Fisher
95a44936ac
add option for async loading glTF resources
2024-10-10 14:58:09 +08:00
Nick Fisher
9deafc7371
return View when picking, use uint32_t for morphIndices
2024-10-10 08:42:16 +08:00
Nick Fisher
c1af7e374d
set bloom enabled by default, but 0 strength
2024-10-10 08:39:48 +08:00
Nick Fisher
cd71db72be
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-02 17:59:56 +08:00
Nick Fisher
a9d90f966b
chore: make pub.dev happy
2024-10-02 17:59:34 +08:00
Nick Fisher
1a323ca551
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-02 17:58:24 +08:00
Nick Fisher
2d85e191bc
chore: make pub.dev happy
2024-10-02 17:58:08 +08:00
Nick Fisher
1b971a859c
chore(release): publish packages
...
- thermion_dart@0.2.1-dev.0.0.2
- thermion_flutter_web@0.1.0+3
- thermion_flutter_ffi@0.2.1-dev.1
- thermion_flutter@0.2.1-dev.1
- thermion_flutter_platform_interface@0.2.1-dev.1
2024-10-02 17:56:55 +08:00
Nick Fisher
78b697d1c2
chore: make pub.dev happy
2024-10-02 17:56:37 +08:00
Nick Fisher
9da2ce6672
chore(release): publish packages
...
- thermion_dart@0.2.1-dev.0.0.1
- thermion_flutter_web@0.1.0+2
- thermion_flutter@0.2.1-dev.0
- thermion_flutter_platform_interface@0.2.1-dev.0
- thermion_flutter_ffi@0.2.1-dev.0
2024-10-02 17:55:23 +08:00
Nick Fisher
39fabd501d
chore: move swift bindings to test folder to make pub.dev happy
2024-10-02 17:53:31 +08:00
Nick Fisher
3f1867dd6f
chore(release): publish packages
...
- thermion_dart@0.2.1-dev.0.0.0
- thermion_flutter@0.2.1-dev.0.0.0
- thermion_flutter_ffi@0.2.1-dev.0.0.0
- thermion_flutter_platform_interface@0.2.1-dev.0.0.0
- thermion_flutter_web@0.1.0+1
2024-10-02 17:46:54 +08:00
Nick Fisher
68d29041b0
chore(release): publish packages
...
- thermion_dart@0.2.0
- thermion_flutter@0.2.0
- thermion_flutter_ffi@0.2.0
- thermion_flutter_platform_interface@0.2.0
- thermion_flutter_web@0.1.0
2024-10-02 17:41:13 +08:00
Nick Fisher
b300e86962
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.8.0.0
- thermion_flutter@0.2.0-dev.8.0.0
- thermion_flutter_ffi@0.2.0-dev.8.0.0
- thermion_flutter_platform_interface@0.2.0-dev.8.0.0
- thermion_flutter_web@0.1.0-dev.8.0.0
2024-10-02 16:50:41 +08:00
Nick Fisher
562ecf2ee5
feat: camera and resizing improvements
2024-10-02 16:47:55 +08:00
Nick Fisher
d294938a2c
chore: remove EMSCRIPTEN ifdefs in *RenderThread methods (no longer used)
2024-09-30 18:24:05 +08:00
Nick Fisher
027cf23069
chore: cleanup
2024-09-30 18:20:30 +08:00
Nick Fisher
c4598637bb
feat: support multiple ThermionWidget on Android
2024-09-30 18:20:05 +08:00
Nick Fisher
8a94b6a334
feat: use imported texture on iOS
2024-09-30 14:51:11 +08:00
Nick Fisher
c80c163212
feat: working implementation of multiple widgets on macos
2024-09-30 13:45:57 +08:00
Nick Fisher
921a994eb6
refactor: continual refactor to support multiple render targets
2024-09-28 18:28:05 +08:00
Nick Fisher
65e60da288
chore: upgrade Swift interop gen
2024-09-28 17:59:05 +08:00
Nick Fisher
661185083e
chore: refactoring and cleanup for Gizmo
2024-09-28 13:24:28 +08:00
Nick Fisher
a2a26555e2
feat: more work on multiple views/swapchains
2024-09-28 11:19:06 +08:00
Nick Fisher
7f11250b79
refactor!: refactor to support multiple Views/Render Targets
2024-09-27 23:16:01 +08:00
Nick Fisher
a6d2f2ecf9
feat!: big refactor to support multiple swapchains
2024-09-27 18:39:20 +08:00
Nick Fisher
399d447eec
chore: don't keep superfluous handle to rtDepth and rtColor
2024-09-27 16:40:30 +08:00
Nick Fisher
fb6204e47c
chore: cleanup
2024-09-27 15:19:53 +08:00
Nick Fisher
566856c8fb
chore: update bindings
2024-09-27 15:13:45 +08:00
Nick Fisher
d29dd207b6
feat: add rendering check to ThermionWidget ticker
2024-09-27 15:13:33 +08:00
Nick Fisher
e20489900d
fix!: replace queuePosition/Rotation with queueTransforms
2024-09-27 15:12:43 +08:00
Nick Fisher
567a268ded
fix!: replace queuePosition/Rotation with queueTransforms
2024-09-27 15:12:33 +08:00
Nick Fisher
6a57d242f9
feat: add setParameterFloat2 method
2024-09-27 15:12:14 +08:00
Nick Fisher
41e0851d70
feat: add setParameterFloat2 method
2024-09-27 15:12:05 +08:00
Nick Fisher
95b378348c
refactor!: remove RenderThread methods no longer needed
2024-09-27 15:11:47 +08:00
Nick Fisher
1309bf7c6e
fix!: replace queuePosition/Rotation with queueTransforms
2024-09-27 15:10:13 +08:00
Nick Fisher
2531b507b0
fix!: replace queuePosition/Rotation with queueTransforms
2024-09-27 15:09:49 +08:00
Nick Fisher
16dc0419e2
feat: add uvScale to unlit material
2024-09-27 15:08:30 +08:00
Nick Fisher
4e7ec6bfb4
feat: add ThirdPersonCameraDelegate
2024-09-27 15:06:51 +08:00
Nick Fisher
035ad48fe4
feat!: set baseColorIndex to -1 by default in unlit materialss
2024-09-27 15:06:32 +08:00
Nick Fisher
ff7c582157
chore: update tests
2024-09-27 15:06:02 +08:00
Nick Fisher
0876a91e17
add ThirdPersonCameraDelegate
2024-09-27 15:05:41 +08:00
Nick Fisher
a2d3c1d73e
chore: getter for native camera view matrix
2024-09-26 18:49:32 +08:00
Nick Fisher
1a721deee6
more camera work
2024-09-26 18:41:34 +08:00
Nick Fisher
4355d9c83f
more camera work
2024-09-26 16:51:14 +08:00
Nick Fisher
239891c400
chore: rearrange library/export structure
2024-09-26 16:35:33 +08:00
Nick Fisher
ac10aa0a1e
chore: camera transform tests
2024-09-26 15:56:54 +08:00
Nick Fisher
7ecf414a47
feat: set camera model matrix directly
2024-09-26 15:52:50 +08:00
Nick Fisher
87c96d06a4
chore: rearrange library dirs, gesture handler improvements
2024-09-26 15:52:23 +08:00
Nick Fisher
26a8d9c6b5
chore: import cleanup
2024-09-26 10:48:40 +08:00
Nick Fisher
947a77f619
chore: rearrange flutter gesture/widget directory structure
2024-09-26 10:46:52 +08:00
Nick Fisher
c850513b7f
chore: rearrange flutter gesture/widget directory structure
2024-09-26 10:46:10 +08:00
Nick Fisher
c47d827139
chore: rename thermion_flutter src dir
2024-09-26 10:44:47 +08:00
Nick Fisher
a2684ae47d
renaming/refactoring and allow creating new cameras
2024-09-25 23:56:25 +08:00
Nick Fisher
2b1339b560
feat: expose more camera methods
2024-09-25 23:09:27 +08:00
Nick Fisher
59aec2bcc9
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.7.0
- thermion_flutter_web@0.1.0-dev.7.0
- thermion_flutter@0.2.0-dev.7.0
- thermion_flutter_platform_interface@0.2.0-dev.7.0
- thermion_flutter_ffi@0.2.0-dev.7.0
2024-09-25 22:35:46 +08:00
Nick Fisher
61d1581b96
fix!: fix min SDK for thermion_dart
2024-09-25 22:35:30 +08:00
Nick Fisher
8e47332ce8
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.6.0
- thermion_flutter_web@0.1.0-dev.6.0
- thermion_flutter@0.2.0-dev.6.0
- thermion_flutter_platform_interface@0.2.0-dev.6.0
- thermion_flutter_ffi@0.2.0-dev.6.0
2024-09-25 21:58:28 +08:00
Nick Fisher
ffe8bee98b
chore!: cleanup deleted export
2024-09-25 21:58:19 +08:00
Nick Fisher
1e07486017
chore(release): publish packages
...
- thermion_flutter@0.2.0-dev.6.0
2024-09-25 21:57:38 +08:00
Nick Fisher
58da196876
chore!: remove superseded HardwareKeyboard* classes
2024-09-25 21:56:16 +08:00
Nick Fisher
78af155a6d
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.5.0
- thermion_flutter_web@0.1.0-dev.5.0
- thermion_flutter@0.2.0-dev.5.0
- thermion_flutter_platform_interface@0.2.0-dev.5.0
- thermion_flutter_ffi@0.2.0-dev.5.0
2024-09-25 21:52:58 +08:00
Nick Fisher
d7e1b3d7ba
chore!: remove EntityTransformController (requires replacement)
2024-09-25 21:52:42 +08:00
Nick Fisher
877eae35cd
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.4.0
- thermion_flutter_web@0.1.0-dev.4.0
- thermion_flutter@0.2.0-dev.4.0
- thermion_flutter_platform_interface@0.2.0-dev.4.0
- thermion_flutter_ffi@0.2.0-dev.4.0
2024-09-25 21:51:19 +08:00
Nick Fisher
87846b68de
fix!: (web/wasm) free pick callbacks on dispose
2024-09-25 21:50:31 +08:00
Nick Fisher
6581ee8a2a
chore!: restructure viewer folders as libraries to only export the public interface
2024-09-25 21:49:15 +08:00
Nick Fisher
951064e657
chore(release): publish packages
...
- thermion_flutter@0.2.0-dev.3.0
2024-09-25 21:20:54 +08:00
Nick Fisher
68ebf945a5
chore: add path to dev deps
2024-09-25 21:20:34 +08:00
Nick Fisher
153817e859
chore!: (flutter) cleanup for pub.dev publishing
2024-09-25 21:20:04 +08:00
Nick Fisher
ba0bc54fa7
fix!: remove EntityControllerMouseWidget (replace with GestureHandler)
2024-09-25 21:19:41 +08:00
Nick Fisher
9b99975017
chore(release): publish packages
...
- thermion_flutter@0.2.0-dev.2.0
2024-09-25 21:18:00 +08:00
Nick Fisher
e6a6862ba4
chore: (flutter) web packaging fixes (use logger)
2024-09-25 21:17:38 +08:00
Nick Fisher
b7d3e9191a
chore: (flutter) web packaging fixes
2024-09-25 21:17:20 +08:00
Nick Fisher
b461b2c5db
chore: (flutter) web packaging fixes
2024-09-25 21:17:09 +08:00
Nick Fisher
8f7f48bcaa
chore: (flutter) add package:web to flutter deps
2024-09-25 21:16:48 +08:00
Nick Fisher
7dc8e394f7
chore!: remove EntityListWidget - will replace with new Scene
2024-09-25 21:16:24 +08:00
Nick Fisher
f5c8faa5c3
chore(release): publish packages
...
- thermion_dart@0.2.0-dev.1.0
- thermion_flutter@0.2.0-dev.1.0
- thermion_flutter_ffi@0.2.0-dev.1.0
- thermion_flutter_platform_interface@0.2.0-dev.1.0
- thermion_flutter_web@0.1.0-dev.1.0
2024-09-25 21:06:28 +08:00
Nick Fisher
c84b4010d1
Merge pull request #68 from nmfisher/improvements
...
Improvements
2024-09-25 21:02:53 +08:00
Nick Fisher
b720c1294f
rename Android plugin class in pubspec.yaml
2024-09-25 19:27:38 +08:00
Nick Fisher
d442ab5ce6
add namespace for build.gradle
2024-09-25 19:27:19 +08:00
Nick Fisher
61fdf300f4
add namespace for AndroidManifest.xml
2024-09-25 19:27:04 +08:00
Nick Fisher
4dabca9160
rename Android package/paths
2024-09-25 19:26:51 +08:00
Nick Fisher
85d6946645
(flutter) provide nicer implementation of FixedOrbitCameraRotationDelegate
2024-09-25 19:26:19 +08:00
Nick Fisher
4b1d8ce729
(flutter) update FreeFlight camera delegate
2024-09-24 14:24:29 +08:00
Nick Fisher
c52b0084ce
add PickDelegate to DelegateGestureHandler
2024-09-24 14:21:13 +08:00
Nick Fisher
8db725d8bd
add PICK_ENTITY to GestureAction
2024-09-24 14:20:49 +08:00
Nick Fisher
c67d1cbbc4
add background color tests
2024-09-24 14:20:33 +08:00
Nick Fisher
3ea4062e33
normalize direction in addLight
2024-09-24 14:20:14 +08:00
Nick Fisher
65e99b9212
set clearOptions to true
2024-09-23 13:51:18 +08:00
Nick Fisher
e83193ba0d
introduce stronger native typing, camera projection/culling methods, update tests
2024-09-21 11:36:41 +08:00
Nick Fisher
835338ef63
(flutter) use scheduleFrameCallback to invoke requestFrame to match Flutter/vsync
2024-09-21 10:22:49 +08:00
Nick Fisher
57872d2e40
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-09-21 10:21:46 +08:00
Nick Fisher
b5a7996769
add Dart Camera type
2024-09-21 10:18:36 +08:00
Nick Fisher
ddbb4ec5c6
rename CameraPtr to TCamera and use named arguments for setCameraLensProjection
2024-09-20 18:31:20 +08:00
Nick Fisher
7cb3080596
move MaterialInstance methods to own class
2024-09-20 18:18:08 +08:00
Nick Fisher
f6c91294aa
rename setLayerEnabled to setLayerVisibility, add setVisibilityLayer method
2024-09-20 17:34:17 +08:00
Nick Fisher
412d333525
add PickDelegate
2024-09-20 14:54:18 +08:00
Nick Fisher
378dede02d
add ThermionPickResult typedef
2024-09-20 14:53:48 +08:00
Nick Fisher
0e3db2635f
update bindings
2024-09-20 14:53:34 +08:00
Nick Fisher
77147cbafd
add setMaterialDepthWrite method
2024-09-20 14:53:16 +08:00
Nick Fisher
43e5fd7766
add setMaterialDepthWrite method
2024-09-20 14:53:06 +08:00
Nick Fisher
fc3ca3d6b3
update tests
2024-09-20 14:08:47 +08:00
Nick Fisher
51f52bb71b
update stub
2024-09-20 14:08:26 +08:00
Nick Fisher
033c3f632d
add createUnlitMaterialInstance, setMaterialPropertyInt methods to viewer interface
2024-09-20 14:08:16 +08:00
Nick Fisher
6d862ef36a
update bindings
2024-09-20 14:07:37 +08:00
Nick Fisher
f816274fb9
replace some async methods with futures, fix setMaterialProperty4, update unproject, setMaterialPropertyInt, createUnlitMaterialInstance
2024-09-20 14:07:09 +08:00
Nick Fisher
0816286696
export geometry from thermion_dart
2024-09-20 14:05:14 +08:00
Nick Fisher
b421df5e2f
remove image.mat from LFS
2024-09-20 14:04:59 +08:00
Nick Fisher
f6a136643d
remove image.mat from LFS
2024-09-20 14:04:43 +08:00
Nick Fisher
b5e278183a
update built unlit material
2024-09-20 14:04:27 +08:00
Nick Fisher
8e85042e37
remove old default paramsf rom UnlitMaterialProvider
2024-09-20 14:04:11 +08:00
Nick Fisher
f943756624
add setMaterialProperty for int, add create_unlit_material_instance, use double4 instead of float4
2024-09-20 14:03:50 +08:00
Nick Fisher
92814aed56
add setMaterialProperty for int, add create_unlit_material_instance
2024-09-20 14:03:29 +08:00
Nick Fisher
e8a1b976e1
set default layer for loadGlb to 0,. add setMaterialProperty for int, add SceneManager::createUnlitMaterialInstance
2024-09-20 14:02:30 +08:00
Nick Fisher
ef48dbce30
add base color/texture to unlit
2024-09-20 14:01:59 +08:00
Nick Fisher
196cc6b980
set default layer for loadGlb to 0,. add setMaterialProperty for int
2024-09-20 14:01:41 +08:00
Nick Fisher
1788c74d4c
change float4 to double4
2024-09-20 14:01:02 +08:00
Nick Fisher
74e808d1dc
update tests
2024-09-19 21:10:42 +08:00
Nick Fisher
72dacc5b21
update unproject texture to accept input texture
2024-09-19 21:10:28 +08:00
Nick Fisher
ebdaf65b89
update unproject texture to accept input texture
2024-09-19 21:10:22 +08:00
Nick Fisher
fa43149c98
update unproject texture to accept input texture
2024-09-19 21:10:10 +08:00
Nick Fisher
e8ae7193ee
update unproject texture to accept input texture
2024-09-19 21:09:23 +08:00
Nick Fisher
aa21c0fb76
don't call clearBackgroundImage when setBackgroundImage is called (would deadlock)
2024-09-19 21:08:55 +08:00
Nick Fisher
10826466a4
set default material for geometry to baseColorIndex 0
2024-09-19 17:08:06 +08:00
Nick Fisher
3b2d7d8c47
depth pre-pass when projecting texture
2024-09-19 16:59:01 +08:00
Nick Fisher
212443cb8e
add spot constructor
2024-09-19 13:44:17 +08:00
Nick Fisher
523141d54b
add test cube texture image
2024-09-19 13:02:51 +08:00
Nick Fisher
d8a0859f16
update test
2024-09-19 13:00:40 +08:00
Nick Fisher
c70cc9abb5
add image methods to test helper
2024-09-19 12:53:44 +08:00
Nick Fisher
66b626e605
update showcase
2024-09-19 12:53:30 +08:00
Nick Fisher
4b28119318
test updates
2024-09-19 12:52:27 +08:00
Nick Fisher
666506aed0
widget updates
2024-09-19 12:52:16 +08:00
Nick Fisher
a55f63a428
increase min Dart SDK to 3.5 for .address FFI accessors
2024-09-19 12:51:30 +08:00
Nick Fisher
fb441e151c
update ffigen with new headers
2024-09-19 12:51:09 +08:00
Nick Fisher
82d85386c0
fixes for createMaterialInstance
2024-09-19 12:50:57 +08:00
Nick Fisher
242b2f6faa
gesture detector fixes
2024-09-19 09:19:23 +08:00
Nick Fisher
31d31dd583
ThermionViewer: add create/destroy materialinstance, add MaterialInstance property to createGeometry, priority/layer to loadGlbFromBuffer
2024-09-19 09:17:45 +08:00
Nick Fisher
f6077012b1
widget cleanup
2024-09-19 09:16:45 +08:00
Nick Fisher
18bb45dcd8
use TMaterialInstance for FFI API, add priority/layer params to load_glb_from_buffer
2024-09-19 09:16:06 +08:00
Nick Fisher
10b919e4f4
add priority/layer to FFI viewer, use struct for model matrix, add createUbershaderMaterialInstance and destroyMaterialInstance
2024-09-19 09:15:31 +08:00
Nick Fisher
98cedf821c
update bindings
2024-09-19 09:14:10 +08:00
Nick Fisher
729f72e768
use SceneManager::LAYERS enum for Overlay, set priority/layer in loadGlbFromBuffer, add create/destroy material instance
2024-09-19 09:12:57 +08:00
Nick Fisher
d01861e949
use SceneManager::LAYERS enum for Overlay
2024-09-19 09:12:16 +08:00
Nick Fisher
adec48f253
use SceneManager::LAYERS enum for gizmo
2024-09-19 09:12:02 +08:00
Nick Fisher
27a8ce18d5
add priority/layer to load_glb_from_buffer
2024-09-19 09:11:40 +08:00
Nick Fisher
4b740a9f5a
native types, add create/destroy material instance, add SceneManager::LAYERS enum
2024-09-19 09:11:20 +08:00
Nick Fisher
0b34b4546e
refactor: native types
2024-09-19 09:10:24 +08:00
Nick Fisher
c17919cd97
refactor: native types
2024-09-19 09:09:42 +08:00
Nick Fisher
462f1f02bf
refactor: move native types to own header, add methods for create/destroy material instance, add priority/layer to load_glb_from_buffer
2024-09-19 09:09:16 +08:00
Nick Fisher
ddc433a126
refactor: Dart types
2024-09-19 09:07:35 +08:00
Nick Fisher
ab649e860d
update gitattr
2024-09-16 20:51:27 +08:00
Nick Fisher
676ddc3773
add texture methods (including unproject)
2024-09-16 20:51:14 +08:00
Nick Fisher
7d2cf3f91b
don't store gizmo material in LFS
2024-09-16 11:25:21 +08:00
Nick Fisher
492d41d756
test update
2024-09-16 11:24:24 +08:00
Nick Fisher
191c2fd709
restructure viewer/types/helper folders, remove old WASM/web FFI interop, add SceneUpdated stream
2024-09-16 11:08:27 +08:00
Nick Fisher
027fc9ae04
update tests
2024-09-16 11:08:19 +08:00
Nick Fisher
b73d0e1e96
restructure viewer/types/helper folders, remove old WASM/web FFI interop, add SceneUpdated stream
2024-09-16 11:07:54 +08:00
Nick Fisher
315f2b63b9
gesture handler & delegate improvements
2024-09-13 18:32:02 +08:00
Nick Fisher
ad205679cb
allow setting material property by name
2024-09-13 15:27:46 +08:00
Nick Fisher
6ef8d19e94
(flutter) export delegate gesture handler
2024-09-13 15:27:20 +08:00
Nick Fisher
6b0f25ca59
remove using namespace filament*
2024-09-13 15:27:01 +08:00
Nick Fisher
820d341f67
update bindings
2024-09-13 15:26:44 +08:00
Nick Fisher
70f904d54c
allow setting material property by name
2024-09-13 15:20:45 +08:00
Nick Fisher
aee607908d
remove using namespace filament*
2024-09-13 15:18:01 +08:00
Nick Fisher
c99c57e24d
geometry receives/casts shadows by default
2024-09-13 14:52:20 +08:00
Nick Fisher
00d75be479
gesture handler improvements
2024-09-13 14:25:10 +08:00
Nick Fisher
3a9bd31919
remove superseded desktop/mobile gesture detector widget
2024-09-13 13:47:26 +08:00
Nick Fisher
51be1bce39
add pan camera implementation and fix velocity timer
2024-09-13 13:46:41 +08:00
Nick Fisher
822b8e14c1
add delegate-based implementations for gesture handlers
2024-09-13 13:30:00 +08:00
Nick Fisher
2ab30a7933
remove double sided from HighlightOverlay material
2024-09-13 11:09:09 +08:00
Nick Fisher
1be8a5e862
adjust gizmo size
2024-09-13 11:08:49 +08:00
Nick Fisher
98d61fa1b3
fix setCameraModelMatrix4
2024-09-13 10:36:24 +08:00
Nick Fisher
5b3d16a316
update bindings
2024-09-13 10:36:07 +08:00
Nick Fisher
b6863828b4
initialize viewportDimensions to (0,0) in ThermionViewer
2024-09-13 10:35:57 +08:00
Nick Fisher
98fefd0e52
fix winding order in GeometryHelper
2024-09-13 10:35:33 +08:00
Nick Fisher
d476d78e2b
reduce size of gizmo
2024-09-13 10:35:13 +08:00
Nick Fisher
98113fb79f
remove logging
2024-09-13 10:34:59 +08:00
Nick Fisher
90827ff012
culling fixes for HighlightOverlay
2024-09-13 10:34:47 +08:00
Nick Fisher
44078ba2e0
add v2 gesture handlers
2024-09-13 10:34:23 +08:00
Nick Fisher
866219ee2e
add v2 gesture handlers
2024-09-13 10:34:12 +08:00
Nick Fisher
d785bd6b7e
chore!: rename controller to viewer in gesture detector widgets
2024-09-12 08:54:07 +08:00
Nick Fisher
3e4e6653a8
update material building in Makefile
2024-09-11 23:09:56 +08:00
Nick Fisher
8d250e2664
update test
2024-09-11 23:09:41 +08:00
Nick Fisher
d455cea29e
use opaque CameraPtr to set camera matrices/properties/etc
2024-09-11 23:09:27 +08:00
Nick Fisher
374e8eb910
rename getBoundingBox to getViewportBoundingBox and add camera methods
2024-09-11 23:08:07 +08:00
Nick Fisher
833fc74b4c
rename getBoundingBox to getViewportBoundingBox
2024-09-11 23:07:47 +08:00
Nick Fisher
62417bfebd
explicitly mark type of Camera for Gizmo
2024-09-11 23:07:29 +08:00
Nick Fisher
abc9ecbeee
use opaque CameraPtr to set camera matrices/properties/etc
2024-09-11 23:07:03 +08:00
Nick Fisher
a1f71ab459
remove camera methods from FilamentViewer
2024-09-11 23:06:32 +08:00
Nick Fisher
d123929fb4
remove camera methods from FilamentViewer
2024-09-11 23:06:06 +08:00
Nick Fisher
141827c59c
use opaque CameraPtr to set camera matrices/properties/etc
2024-09-11 23:05:40 +08:00
Nick Fisher
9fbcc9edaf
mark all ffigen functions as leaf
2024-09-11 23:04:57 +08:00
Nick Fisher
83d9c5be30
remove update_viewport_and_camera_projection_ffi
2024-09-11 23:04:36 +08:00
Nick Fisher
6aadbbc3d0
remove update_viewport_and_camera_projection_ffi
2024-09-11 23:04:27 +08:00
Nick Fisher
d5bc865cf4
add matrix helper
2024-09-11 23:04:02 +08:00
Nick Fisher
d766733489
update stubbed ThermionViewer methods
2024-09-11 23:03:53 +08:00
Nick Fisher
f51c640d17
remove unused get_camera_position method
2024-09-11 20:01:21 +08:00
Nick Fisher
66f10b598a
update stub ThermionViewer
2024-09-11 19:59:43 +08:00
Nick Fisher
59957650aa
update bindings
2024-09-11 19:59:33 +08:00
Nick Fisher
d43fbd8964
add loadGlbFromBuffer implementation to ThermionViewerFFI
2024-09-11 19:59:25 +08:00
Nick Fisher
f5de4349bf
add createGeometryWithNormals to SceneManager
2024-09-11 18:09:42 +08:00
Nick Fisher
f67e1a021d
add createGeometryWithNormals to SceneManager
2024-09-11 18:09:14 +08:00
Nick Fisher
33f2c5fbf7
add normals to CustomGeometry implementation
2024-09-11 18:08:48 +08:00
Nick Fisher
6a7bde930d
add normals to CustomGeometry interface
2024-09-11 18:08:35 +08:00
Nick Fisher
b827a2142b
HighlightOverlay fixes
2024-09-11 18:08:13 +08:00
Nick Fisher
8bd2416bad
don't set stencil highlight in Gizmo
2024-09-11 18:07:38 +08:00
Nick Fisher
3684eb248c
add create_geometry_with_normals method
2024-09-11 18:07:17 +08:00
Nick Fisher
9077632d1b
add create_geometry_with_normals method
2024-09-11 18:07:07 +08:00
Nick Fisher
d40261ae29
add create_geometry_with_normals_ffi method, switch load_glb_from_buffer type to uint8_t for Dart leaf compat and add keepData param
2024-09-11 18:06:50 +08:00
Nick Fisher
77dbb574c7
add create_geometry_with_normals_ffi method, switch load_glb_from_buffer type to uint8_t for Dart leaf compat and add keepData param
2024-09-11 18:06:31 +08:00
Nick Fisher
89a660144e
update test helpers
2024-09-11 18:05:36 +08:00
Nick Fisher
7554af5d41
(flutter) add experimental GestureHandler widget and decouple from ThermionGestureDetectorDesktop
2024-09-11 18:05:24 +08:00
Nick Fisher
4b742fea2d
(flutter) add experimental GestureHandler widget and decouple from ThermionGestureDetectorDesktop
2024-09-11 18:05:18 +08:00
Nick Fisher
a6c6cff8b6
add loadGlbFromBuffer method and normals param to ThermionViewer
2024-09-11 18:04:36 +08:00
Nick Fisher
5813753ef9
(flutter) set enablePicking to false by default in ThermionGestureDetector
2024-09-11 18:03:52 +08:00
Nick Fisher
cf0dad2631
(flutter) add const FlutterWebOptions
2024-09-11 18:03:29 +08:00
Nick Fisher
cfddb99a8b
(flutter) add CameraOrientationWidget
2024-09-11 18:01:45 +08:00
Nick Fisher
845d5bf223
(flutter) add const constructor for flutter options
2024-09-11 18:01:33 +08:00
Nick Fisher
dbbd972909
add GeometryHelper
2024-09-11 17:54:21 +08:00
Nick Fisher
aba3ba24af
(flutter) add CameraOrientationWidget
2024-09-11 17:54:08 +08:00
Nick Fisher
81c27dde9f
feat: parent the cloned entity instance when setting stencil highlight
2024-09-08 13:55:25 +08:00
Nick Fisher
476b552fd0
feat: add getAncestor method
2024-09-08 13:52:33 +08:00
Nick Fisher
5c4d5d4b9d
feat: add getAncestor method
2024-09-08 13:52:04 +08:00
Nick Fisher
ae5ef2c286
update bindings
2024-09-07 18:01:39 +08:00
Nick Fisher
b0f3c8a087
feat: set stencil highlight on gizmo attach
2024-09-07 18:01:30 +08:00
Nick Fisher
43fc7ffc65
update tests
2024-09-07 18:01:03 +08:00
Nick Fisher
ee24fca20e
feat: move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector and removeStencilHighlight
2024-09-07 18:00:50 +08:00
Nick Fisher
a00fdbe042
chore: remove createGeometry method from FilamentViewer, set default view blend mode
2024-09-07 17:59:55 +08:00
Nick Fisher
c2eb28a8f5
fix: properly destroy entities/material/etc in Gizmo on destruction, remove custom scene creation logic
2024-09-07 17:59:03 +08:00
Nick Fisher
4c6c20f3de
feat: move HighlightOverlay to nested class, move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector
2024-09-07 17:57:38 +08:00
Nick Fisher
b2ae8135c6
feat: add removeStencilHighlight, accept color param for setStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionDartApi
2024-09-07 17:55:40 +08:00
Nick Fisher
aecde97200
feat: add removeStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionViewer
2024-09-07 17:54:42 +08:00
Nick Fisher
331caccc22
chore: delete old unlit_opaque material
2024-09-07 17:54:12 +08:00
Nick Fisher
63e2b74bb1
chore: rebuild unlit material
2024-09-07 17:53:55 +08:00
Nick Fisher
433f03161c
feat: add scale parameter to unlit material
2024-09-07 17:53:41 +08:00
Nick Fisher
6ec84b6249
fix: add Fence to capture() and set stencil buffer by default
2024-09-06 13:03:51 +08:00
Nick Fisher
29b6a48816
test: add test cube.glb
2024-09-06 12:44:54 +08:00
Nick Fisher
00755fd417
chore: remove old materials Makefile
2024-09-06 12:44:40 +08:00
Nick Fisher
9c5156e41a
feat: add flag for keepData for gltf instancing, add highlightScene, add stencilHighlight method
2024-09-06 12:36:16 +08:00
Nick Fisher
226c45ee2e
chore: minor widget fixes
2024-09-05 22:22:25 +08:00
Nick Fisher
e04390b2fe
feat: add grid material
2024-09-05 22:21:19 +08:00
Nick Fisher
9a87eb4d9b
feat: allow passing null options to ThermionWidget
2024-09-05 22:21:09 +08:00
Nick Fisher
2284d9d081
feat: grid uses own material
2024-09-05 22:20:27 +08:00
Nick Fisher
cf61369a8d
chore: clean up old commented code
2024-09-05 22:20:11 +08:00
Nick Fisher
4e14bd2396
fix: ignore pick results directly on axis
2024-09-05 22:19:54 +08:00
Nick Fisher
0798d5c071
feat: add grid material
2024-09-05 22:19:27 +08:00
Nick Fisher
80d5b1d23f
feat: expose setLightDirection and setLightPosition
2024-09-05 22:18:54 +08:00
Nick Fisher
0bd87288d1
chore: update binding
2024-09-05 17:53:24 +08:00
Nick Fisher
51e06c2eb9
chore: (js) stub missing methods
2024-09-05 17:52:53 +08:00
Nick Fisher
b29663923d
chore: (wasm) add missing interop methods
2024-09-05 17:52:40 +08:00
Nick Fisher
f57a323cda
feat: (flutter) (web) if importCanvasAsWidget is false, render transparency
2024-09-05 17:52:19 +08:00
Nick Fisher
03ffe85113
chore: stub ThermionWidget methods
2024-09-05 17:51:36 +08:00
Nick Fisher
4edc8aa85b
feat: (flutter) move DPR calculation to resizeTexture and add createViewerWithOptions method to ThermionFlutterFFI
2024-09-05 17:51:22 +08:00
Nick Fisher
04ecb4d56f
fix: (flutter) pass ThermionFlutterOptions to ThermionWidget, use dpr for resizeTexture, delete unnecessary TransparencyPainter class
2024-09-05 17:49:02 +08:00
Nick Fisher
0ac0a92024
feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated
2024-09-05 17:47:54 +08:00
Nick Fisher
ae1e14ddb7
feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated
2024-09-05 17:47:41 +08:00
Nick Fisher
aa246ab63a
feat: (flutter) (web) use options to determine whether to create canvas, and set fixed position + offset
2024-09-05 17:45:49 +08:00
Nick Fisher
d4350d7d99
test: update viewport gizmo test
2024-09-05 17:44:18 +08:00
Nick Fisher
f07fe6084a
chore: (flutter) export platform interface from thermion_flutter package
2024-09-05 17:43:58 +08:00
Nick Fisher
4e29055a20
chore: stub new methods
2024-09-05 17:43:35 +08:00
Nick Fisher
6d0c06a853
doc: pixelRatio
2024-09-05 17:43:19 +08:00
Nick Fisher
abe6e1fcb8
feat: add ThermionFlutterOptions classes, rename interface parameter for offsetTop and ensure pixelRatio is passed to resizeTexture
2024-09-05 17:43:04 +08:00
Nick Fisher
683105c4f7
fix: emscripten export visibility for add_light
2024-09-05 17:42:17 +08:00
Nick Fisher
6f2331582c
chore: use float instead of float32_t in FilamentViewer
2024-09-05 17:41:55 +08:00
Nick Fisher
f0f97e310c
chore: add nested PickCallbackHandler to Gizmo
2024-09-05 17:41:24 +08:00
Nick Fisher
2331f2c31a
chore: update Makefile to add missing headers to resgen files
2024-08-27 21:51:29 +08:00
Nick Fisher
704b7f6734
fix: (flutter/web) use window.devicePixelRatio for viewport
2024-08-27 21:51:09 +08:00
Nick Fisher
7ac7ae43ab
fix: (wasm) use correct coords for pick, free memory correctly, keep pixelratio copy
2024-08-27 21:50:07 +08:00
Nick Fisher
d52b23d6b5
fix: (flutter) desktop gesture detector changes for new Gizmo methods
2024-08-27 21:49:28 +08:00
Nick Fisher
8b17916cd9
chore: Dart Gizmo class cleanup
2024-08-27 21:49:04 +08:00
Nick Fisher
4a0f4e3ac8
feat: add setGizmoVisibility/pickGizmo methods to ThermionViewer
2024-08-27 21:48:27 +08:00
Nick Fisher
85116f43a2
feat: remove gizmo view references, exclude gizmo entities from picking, add createIbl
2024-08-27 21:47:56 +08:00
Nick Fisher
3ecb8920ea
feat: createIbl
2024-08-27 21:47:02 +08:00
Nick Fisher
8923d97129
chore: init SceneManager pointers to nullptr
2024-08-27 21:46:47 +08:00
Nick Fisher
375e1cc887
fix: add more nan checks for gizmo manipulation
2024-08-27 21:46:21 +08:00
Nick Fisher
78dcbc8bb9
feat: expose API methods for create_ibl, pick/set gizmo visibility
2024-08-27 21:45:49 +08:00
Nick Fisher
a3f7b98bf7
feat: create transparent overlay for gizmo for easier picking
2024-08-27 21:45:19 +08:00
Nick Fisher
12b61e8767
feat: rescale gizmo based on distance from camera
2024-08-27 16:54:40 +08:00
Nick Fisher
0e3b014c2c
feat: rescale gizmo based on distance from camera
2024-08-27 16:50:54 +08:00
Nick Fisher
10db8c39f3
fix: add check for nan NDC coordinates for viewport translation
2024-08-25 21:54:08 +08:00
Nick Fisher
371bcb3706
fix stub methods
2024-08-24 16:28:12 +08:00
Nick Fisher
714c575409
add implementations to JS bridge/shim classes
2024-08-24 16:26:05 +08:00
Nick Fisher
c0941e3b7f
add missing methods to wasm viewer
2024-08-24 16:25:37 +08:00
Nick Fisher
026acb7467
feat: highlight gizmo on hover
2024-08-24 16:25:17 +08:00
Nick Fisher
3c05cc6a43
add implementations to FFI viewer
2024-08-24 16:24:59 +08:00
Nick Fisher
f1a2926bdf
fix!: (flutter) pass pixelRatio to createTexture
2024-08-24 16:24:06 +08:00
Nick Fisher
88e8a138ac
(flutter) (web) initialize viewer to 1x1 then resize on createTexture
2024-08-24 16:23:54 +08:00
Nick Fisher
53d0301828
feat!: (flutter) (web) upgrade package:web dep to 1.0.0
2024-08-24 16:23:00 +08:00
Nick Fisher
b10fec1963
fix!: (flutter) pass pixelRatio to createTexture
2024-08-24 16:22:31 +08:00
Nick Fisher
08e1eb7778
feat: expose setLayerEnabled, viewportDimensions and getCameraFov on ThermionView
2024-08-24 16:22:12 +08:00
Nick Fisher
d6713c090c
stub out new methods
2024-08-24 16:21:35 +08:00
Nick Fisher
497ecbf881
fix!: (flutter) pass pixelRatio to createTexture
2024-08-24 16:20:06 +08:00
Nick Fisher
6f7d03737e
fix!: (flutter) pass pixelRatio to createTexture
2024-08-24 16:19:50 +08:00
Nick Fisher
ad60c6bbe1
chore: update bindings
2024-08-24 16:19:07 +08:00
Nick Fisher
92fdda722b
chore: add viewport test
2024-08-24 16:18:53 +08:00
Nick Fisher
3cc876f972
feat: layers, grid
2024-08-24 16:18:23 +08:00
Nick Fisher
7d1e706045
feat: layers, grid
2024-08-24 16:18:12 +08:00
Nick Fisher
11756fcedd
feat: ignore grid overlay and gizmo center when picking, implement highlighting
2024-08-24 16:17:34 +08:00
Nick Fisher
2e1f2cd56d
feat: SceneManager updates (setLayer, add grid, queueRelativePositionUpdateWorld
2024-08-24 16:02:54 +08:00
Nick Fisher
c08611b2c3
feat: expose set_layer_enabled, get_camera_fov and queue_relative_position_updateg_world_axis to ThermionDartApi.h
2024-08-24 16:02:06 +08:00
Nick Fisher
f87f89427d
feat: add getCameraFov to FilamentViewer
2024-08-24 16:01:03 +08:00
Nick Fisher
c3319ebbf3
feat: add new grid overlay files to web CmakeLists
2024-08-24 16:00:15 +08:00
Nick Fisher
f7b765c5d0
chore: rebuild materials
2024-08-24 15:59:55 +08:00
Nick Fisher
9512b74008
fix: update material output path in Makefile
2024-08-24 15:59:36 +08:00
Nick Fisher
5a3517f953
add grid overlay
2024-08-24 15:59:04 +08:00
Nick Fisher
731c4981c9
use inactive/active color gizmo
2024-08-24 15:58:49 +08:00
Nick Fisher
8f20a8a859
chore: don't use shader to overlay gizmo
2024-08-24 15:21:36 +08:00
Nick Fisher
7693a0fe14
feat: re-implement (native) Gizmo class, expose preserveScaling parameter for setParent, add methods for getting viewport bounding box from renderable entity
2024-08-22 18:04:06 +08:00
Nick Fisher
98c3676fdf
fix: (web) add emscripten guards for flushAndWait call when swapchain destroyed
2024-08-21 17:18:37 +08:00
Nick Fisher
d7664a9746
feat!: (web) (flutter) create canvas when createViewer is called (no longer need to manually add canvas element to web HTML)
2024-08-21 17:17:58 +08:00
Nick Fisher
d868fd6970
feat: add capture() function and expose viewportDimensions on ThermionViewer (allows easier saving of captured images to PNG)
2024-08-21 14:33:48 +08:00
Nick Fisher
300396b97e
feat: (web) allow table growth in emscripten module for passing C-style callback function pointers
2024-08-21 14:30:17 +08:00
Nick Fisher
1d8faa70a1
feat: (web) add capture() method and missing camera navigation controls
2024-08-21 14:29:40 +08:00
Nick Fisher
1051b1bb0e
feat!: resize canvas on web
2024-08-17 11:43:43 +08:00
Nick Fisher
c367824041
feat!: update web/http dependencies
2024-08-17 11:43:03 +08:00
Nick Fisher
81cedf0d43
feat: download WASM module directly on web (no need to embed in index.html any more) and expose updateViewportAndCameraProjection
2024-08-17 11:42:25 +08:00
Nick Fisher
16c6203b97
feat: add startOffset parameter to gltf playAnimation
2024-07-29 16:13:45 +08:00
Nick Fisher
3e1d785f58
Merge pull request #65 from nmfisher/develop
...
Documentation
2024-07-23 09:41:23 +08:00
Nick Fisher
b7c0eeb7b4
chore(release): publish packages
...
- thermion_dart@0.1.3
- thermion_flutter_ffi@0.1.0+12
- thermion_flutter_web@0.0.3
- thermion_flutter_platform_interface@0.1.0+11
- thermion_flutter@0.1.1+13
2024-07-23 09:40:05 +08:00
Nick Fisher
fd31b4dcad
docs: rename examples to showcase
2024-07-23 09:38:26 +08:00
Nick Fisher
41bf9ededa
feat: add clearMorphAnimationData function
2024-07-23 09:38:26 +08:00
Hannes Hultergård
d745712650
Add example files that can be parsed by pub.dev
2024-07-23 09:38:26 +08:00
Nick Fisher
1df732be7c
chore(release): publish packages
...
- thermion_flutter_ffi@0.1.0+11
- thermion_flutter@0.1.1+12
2024-07-23 09:38:26 +08:00
Nick Fisher
8b413eca52
fix: add logging dependency
2024-07-23 09:38:25 +08:00
Nick Fisher
3597077d39
chore(release): publish packages
...
- thermion_dart@0.1.2
- thermion_flutter_ffi@0.1.0+10
- thermion_flutter_web@0.0.2
- thermion_flutter@0.1.1+11
- thermion_flutter_platform_interface@0.1.0+10
2024-07-23 09:38:25 +08:00
Nick Fisher
7704a06601
fix: manually remove leading slash for compiler path on Windows when building for Android
2024-07-23 09:38:25 +08:00
Paul Ampadu
7b3ad027bf
Update quickstart.mdx
2024-07-23 09:38:25 +08:00
Nick Fisher
cde3af08aa
fix: web/JS bool checks need to compare to int
2024-07-23 09:38:25 +08:00
Nick Fisher
7418fb867d
feat: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths
2024-07-23 09:38:25 +08:00
Nick Fisher
ce71e09f65
fix: shadow JS<->WASM bridge methods
2024-07-23 09:38:25 +08:00
Nick Fisher
7a362411b1
Merge pull request #56 from payl-ampa/patch-2
...
docs: correct link to windows page in quickstart page
2024-07-05 10:26:21 +10:00
Paul Ampadu
e95dfe4671
Update quickstart.mdx
2024-07-04 10:59:27 -07:00
Nick Fisher
e7b79bb6b9
fix: web/JS bool checks need to compare to int
2024-07-04 21:49:13 +08:00
Nick Fisher
59bc309f5b
feat: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths
2024-07-04 16:29:56 +08:00
Nick Fisher
d2fb40f317
fix: shadow JS<->WASM bridge methods
2024-07-04 16:29:08 +08:00
Nick Fisher
5dec13f00b
chore(release): publish packages
...
- thermion_dart@0.1.1+5
- thermion_flutter_web@0.0.1+9
- thermion_flutter@0.1.1+10
- thermion_flutter_platform_interface@0.1.0+9
- thermion_flutter_ffi@0.1.0+9
2024-07-04 14:44:04 +08:00
Nick Fisher
7464c05483
Merge pull request #55 from nmfisher/develop
...
feat: shadows, web, docs, image material
2024-07-04 16:42:25 +10:00
Nick Fisher
7b97b2e6c3
save fetched resources to IndexedDB on web
2024-07-04 14:19:37 +08:00
Nick Fisher
168f46cf56
add shadow methods to wasm/js viewers
2024-07-04 14:19:04 +08:00