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
Nick Fisher
5622b0ce9f
chore(release): publish packages
...
- thermion_dart@0.1.1+4
- thermion_flutter_web@0.0.1+8
- thermion_flutter@0.1.1+9
- thermion_flutter_platform_interface@0.1.0+8
- thermion_flutter_ffi@0.1.0+8
2024-07-02 16:18:17 +08:00
Nick Fisher
c7a0b2f5cc
fix: defer creating image entity/material/etc until actually requested
...
feat: expose shadow options
2024-07-02 16:17:36 +08:00
Nick Fisher
7546b2a6c5
Merge pull request #51 from payl-ampa/patch-1
...
Update quickstart.mdx - Simple link fix
2024-06-30 16:15:39 +10:00
Paul Ampadu
e363c82f2d
Update quickstart.mdx
...
Simple link fix
2024-06-29 00:13:59 -07:00
Nick Fisher
b9643dbd94
Merge pull request #49 from nmfisher/develop
...
docs: Update docs
2024-06-28 00:03:18 +10:00
Nick Fisher
2664e08eb3
update README
2024-06-27 21:57:23 +08:00
Nick Fisher
733ba7d439
docs: add discord link
2024-06-27 21:52:34 +08:00
Nick Fisher
2255be3a86
Merge pull request #48 from nmfisher/develop
...
docs: update docs
2024-06-27 23:47:10 +10:00
Nick Fisher
03f8e2e353
docs: update docs
2024-06-27 21:46:06 +08:00
Nick Fisher
be1bf3f3ca
Merge pull request #47 from nmfisher/develop
...
docs: update docs with sidebar links
2024-06-27 23:36:22 +10:00
Nick Fisher
5f1334660e
docs: update docs with sidebar links
2024-06-27 21:35:44 +08:00
Nick Fisher
ec381f43ef
Merge pull request #46 from nmfisher/develop
...
Documentation
2024-06-27 23:16:10 +10:00
Nick Fisher
eba843535b
docs: update quickstart
2024-06-27 21:15:13 +08:00
Nick Fisher
4fa286bd60
docs: update links
2024-06-27 21:14:23 +08:00
Nick Fisher
7293b0f8dd
Merge pull request #45 from nmfisher/develop
...
Documentation
2024-06-27 23:13:20 +10:00
Nick Fisher
0279ee1985
doc: update head README
2024-06-27 21:12:16 +08:00
Nick Fisher
83053c60f9
Merge pull request #44 from nmfisher/develop
...
Merge develop
2024-06-27 23:10:51 +10:00
Nick Fisher
ad28e5484c
chore(release): publish packages
...
- thermion_dart@0.1.1+3
- thermion_flutter@0.1.1+8
- thermion_flutter_web@0.0.1+7
- thermion_flutter_platform_interface@0.1.0+7
- thermion_flutter_ffi@0.1.0+7
2024-06-27 21:06:46 +08:00
Nick Fisher
b91d629b90
docs: update homepage links and minor documentation updates
2024-06-27 21:05:44 +08:00
Nick Fisher
96df3a0f35
chore: remove binary filamat files from repo
2024-06-26 15:50:22 +10:00
Nick Fisher
de8fb5e2d0
docs: remove old GETTING_STARTED and update quickstart with new repo link
2024-06-26 15:49:11 +10:00
Nick Fisher
51d79c7626
fix: bump ffigen dependency version & regenerate bindings (and revert to ffi.Int rather than ffi.Int32)
2024-06-26 12:46:56 +08:00
Nick Fisher
f7c22d2480
docs: update quickstart
2024-06-26 12:46:56 +08:00
Nick Fisher
b117a4a19c
chore: move examples to separate repository
2024-06-26 12:46:56 +08:00
Nick Fisher
4955837518
chore(release): publish packages
...
- thermion_dart@0.1.1+2
- thermion_flutter@0.1.1+7
- thermion_flutter_ffi@0.1.0+6
- thermion_flutter_platform_interface@0.1.0+6
- thermion_flutter_web@0.0.1+6
2024-06-26 00:12:32 +08:00
Nick Fisher
0e9cf76592
chore(release): publish packages
...
- thermion_dart@0.1.1-dev.0+2
- thermion_flutter@0.1.1-dev.0+7
- thermion_flutter_platform_interface@0.1.0-dev.0+6
- thermion_flutter_web@0.0.1-dev.0+6
- thermion_flutter_ffi@0.1.0-dev.0+6
2024-06-26 00:10:56 +08:00
Nick Fisher
368a341b76
docs: update custom native_toolchain ref for Windows
2024-06-26 01:59:06 +10:00
Nick Fisher
5cc41a9115
docs: update
2024-06-26 01:58:35 +10:00
Nick Fisher
368ce83380
rename thermion_filament namespace to thermion_flutter for Windows
2024-06-26 01:51:31 +10:00
Nick Fisher
683b79c9a0
fix: add ResourceBuffer header directly to Windows build so I don't have to fiddle around getting the CMake path right
2024-06-26 01:50:53 +10:00
Nick Fisher
81be5e25f7
fix: revert to std::thread (pthreads not easily available on Windows)
2024-06-26 01:50:22 +10:00
Nick Fisher
e8e1684694
fix: on Windows, pass static libs via -l rather than custom linkWith property so build.dart stays compatible between published & custom versions
2024-06-26 01:49:37 +10:00
Nick Fisher
d13ecde7b6
update Windows docs
2024-06-26 01:48:08 +10:00
Nick Fisher
08c3af405e
Merge pull request #43 from nmfisher/develop
...
Develop
2024-06-25 21:16:31 +10:00
Nick Fisher
0571f3e653
docs: add Android & Windows pages
2024-06-25 19:04:18 +08:00
Nick Fisher
f351512a78
Merge pull request #42 from Hannnes1/license
...
Add root LICENSE file
2024-06-25 10:48:00 +10:00
Hannes Hultergård
315b898d7c
Add root LICENSE file
2024-06-24 08:28:42 +02:00
Nick Fisher
c635bd3813
chore(release): publish packages
...
- thermion_dart@0.1.1+1
- thermion_flutter@0.1.1+6
- thermion_flutter_web@0.0.1+5
- thermion_flutter_platform_interface@0.1.0+5
- thermion_flutter_ffi@0.1.0+5
2024-06-22 10:29:41 +08:00
Nick Fisher
b4f9a5c2af
docs: update with links to playground
2024-06-22 10:29:08 +08:00
Nick Fisher
0222ba2d6c
chore(release): publish packages
...
- thermion_dart@0.1.1
2024-06-21 17:18:43 +08:00
Nick Fisher
a066df55f9
chore(release): publish packages
...
- thermion_dart@0.1.0+4
- thermion_flutter_web@0.0.1+4
- thermion_flutter_platform_interface@0.1.0+4
- thermion_flutter@0.1.1+5
- thermion_flutter_ffi@0.1.0+4
2024-06-21 16:52:19 +08:00
Nick Fisher
aa85dcfa20
fix: add dummy asset to build.dart on Linux builds so we can use the package on a Linux host
2024-06-21 16:52:10 +08:00
Nick Fisher
a3370a775f
chore(release): publish packages
...
- thermion_dart@0.1.0+3
- thermion_flutter_web@0.0.1+3
- thermion_flutter@0.1.1+4
- thermion_flutter_platform_interface@0.1.0+3
- thermion_flutter_ffi@0.1.0+3
2024-06-21 16:21:02 +08:00
Nick Fisher
b889fddcfa
fix: exit build.dart early on Linux builds so we can use the package on a Linux host
2024-06-21 16:20:42 +08:00
Nick Fisher
090c36c92b
chore(release): publish packages
...
- thermion_dart@0.1.0+2
- thermion_flutter_ffi@0.1.0+2
- thermion_flutter_web@0.0.1+2
- thermion_flutter@0.1.1+3
- thermion_flutter_platform_interface@0.1.0+2
2024-06-21 15:24:19 +08:00
Nick Fisher
9eb2285433
refactor: rearrange some stubs/imports for easier web WASM deployment
2024-06-21 15:20:08 +08:00
Nick Fisher
c28c518057
chore(release): publish packages
...
- thermion_flutter@0.1.1+2
2024-06-21 14:09:24 +08:00
Nick Fisher
81ffbdd824
fix: update Flutter example project to use new API
...
fix: don't keep example project Podfile.lock in repo
2024-06-21 11:46:25 +08:00
Nick Fisher
55b5c7068e
fix: add logging dependency to thermion_flutter
2024-06-21 11:30:23 +08:00
Nick Fisher
78a758f5d4
chore(release): publish packages
...
- thermion_dart@0.1.0+1
- thermion_flutter@0.1.1+1
- thermion_flutter_web@0.0.1+1
- thermion_flutter_platform_interface@0.1.0+1
- thermion_flutter_ffi@0.1.0+1
2024-06-21 11:26:34 +08:00
Nick Fisher
fd19fc1c68
fix: use preserveDrawingBuffer=true on web
...
using createImageFromImageBitmap to import the canvas directly into a Flutter app results in flickering unless this is set to true (as the drawing buffer is otherwise cleared after each render, which may not line up with Flutter's ticker
2024-06-21 11:19:16 +08:00
Nick Fisher
cc3020c268
remove dependency_overrides
2024-06-21 11:19:16 +08:00
Nick Fisher
6902c27d02
fix: catch exception if gizmo unavailable in ThermionGestureDestectorDesktop
2024-06-21 11:19:16 +08:00
Nick Fisher
0ec7e2af95
refactor: export ThermionViewerWasm for web and hide FFI/WASM version
2024-06-21 11:19:16 +08:00
Nick Fisher
c6c918907a
rename web interop classes
2024-06-21 11:19:16 +08:00
Nick Fisher
d3891e481e
fix log dir creation in build.dart
2024-06-21 11:19:16 +08:00
Nick Fisher
563ffd2902
Merge branch 'develop' of github.com:nmfisher/thermion into develop
2024-06-21 11:18:33 +08:00
Nick Fisher
2ce5cb1f62
Merge pull request #41 from Hannnes1/feature/melos
...
Add melos
2024-06-21 02:08:34 +10:00
Hannes
842c6b1581
Remove unnecessary files from git
2024-06-20 09:07:53 +02:00
Hannes
b833b2d288
Add melos
2024-06-19 15:47:00 +02:00
Nick Fisher
013730b108
destroy existing texture if it exists but size does match requested dimensions when createTexture is called
2024-06-19 16:39:10 +08:00
Nick Fisher
846f45bb63
don't destroy dummy image texture if clearBackgroundImage has been called without setBackgroundImage having been called first
2024-06-19 16:38:14 +08:00
Nick Fisher
735612af66
bump pubspec dependency versions
2024-06-19 13:39:43 +08:00
Nick Fisher
e823083e86
update quickstart to use new API
2024-06-19 13:32:40 +08:00
Nick Fisher
ae15f2114e
update quickstart iOS project
2024-06-19 13:32:16 +08:00
Nick Fisher
cb17bf0ffd
increment version number for thermion_flutter
2024-06-19 13:32:03 +08:00
Nick Fisher
84101b457f
add onDispose() implementations for web viewers
2024-06-19 13:31:09 +08:00
Nick Fisher
aefedf8c00
CHANGELOG
2024-06-19 13:24:08 +08:00
Nick Fisher
ab793387bc
use Unmanaged.passRetained rather than passUnretained for ThermionDartTexture
2024-06-19 13:21:47 +08:00
Nick Fisher
534e5b46a8
(Swift/macos) dont make ThermionFlutterTexture inherit from ThermionDartTexture; reuse render callbacks/resource loader functions; add check for concurrent calls to destroyTexture
2024-06-19 13:20:04 +08:00
Nick Fisher
3468e7da55
dont make ThermionFlutterTexture inherit from ThermionDartTexture
2024-06-19 13:19:04 +08:00
Nick Fisher
1f58717635
only require ThermionViewer to be passed to ThermionWidget
2024-06-19 13:17:11 +08:00
Nick Fisher
7dc0e91e6b
fix RenderLoop to use (C) ResourceLoaderWrapper and destroy RL when viewer is destroyed
2024-06-19 13:16:33 +08:00
Nick Fisher
49b8e7023b
free all resources in FilamentViewer destructor
2024-06-19 13:15:36 +08:00
Nick Fisher
a455e4f88a
construct (C++) ResourceLoaderWrapperImpl from (C) ResourceLoaderWrapper
2024-06-19 13:13:36 +08:00
Nick Fisher
3785580b01
free all resources in SceneManager
2024-06-19 13:12:28 +08:00
Nick Fisher
6cfa86fe75
make ResourceBuffer.hpp C++ only and add constructor to create from C struct
2024-06-19 13:11:01 +08:00
Nick Fisher
dc70909715
move Scene class to own file and add dispose() method
2024-06-19 13:04:34 +08:00
Nick Fisher
89f49f98c4
replace print with Logger
2024-06-19 13:01:20 +08:00
Nick Fisher
025e39318d
add implementation for onDispose to ThermionViewerFFI
2024-06-19 12:59:16 +08:00
Nick Fisher
cfa7805970
add onDispose method to ThermionViewer to register callbacks on disposal
2024-06-19 12:57:49 +08:00
Nick Fisher
31e68df1c5
make ThermionFlutterPlugin static, remove dispose() and add internal listener for ThermionViewer.onDispose
2024-06-19 12:57:16 +08:00
Nick Fisher
8e75555540
use C header for ResourceBuffer in Swift bridging
2024-06-19 12:52:58 +08:00
Nick Fisher
c8fa220362
remove dispose()/viewer getter from platform interface, rename initialize to createViewer
2024-06-19 12:52:39 +08:00
Nick Fisher
8e892a1f23
log to file for build.dart, check for SUCCESS token
2024-06-19 12:51:39 +08:00
Nick Fisher
ee8769b7d7
use C header for ResourceBuffer in Swift bridging
2024-06-19 12:50:29 +08:00
Nick Fisher
7ecf097861
reduce quickstart Dart SDK min version
2024-06-18 16:29:53 +08:00
Nick Fisher
4f4be9b7d7
rename Flutter method channels
2024-06-18 16:29:19 +08:00
Nick Fisher
338fe3bb9f
Merge branch 'master' into develop
2024-06-17 14:49:02 +08:00
Nick Fisher
04b1498cd9
Merge pull request #39 from 1l0/fix-link
...
Fix broken links
2024-06-17 16:48:44 +10:00
Nick Fisher
1d3dab88d1
bump pubspec version
2024-06-17 14:48:13 +08:00
1l0
ec16f97023
fix link
2024-06-17 15:36:57 +09:00
Nick Fisher
436b978537
rename/export Flutter widgets
2024-06-17 13:19:24 +08:00
Nick Fisher
e1aad2425f
merge
2024-06-17 12:03:54 +08:00
Nick Fisher
bf0b5762f5
Merge branch 'master' of github.com:nmfisher/thermion
2024-06-17 12:02:36 +08:00
Nick Fisher
3c20b2aa6b
documentation
2024-06-17 12:01:30 +08:00
Nick Fisher
97e1198b5c
update docs
2024-06-17 11:39:41 +08:00
Nick Fisher
14c87e7b38
Flutter/Android - create local copy of headers
2024-06-17 11:30:03 +08:00
Nick Fisher
5e5e81a107
android fixes
2024-06-17 11:23:18 +08:00
Nick Fisher
dd646e0e5c
remove pre-release tag from pub versions
2024-06-17 11:07:34 +08:00
Nick Fisher
9b19fc932d
export thermion_widget
2024-06-17 10:40:24 +08:00
Nick Fisher
1a3b3d0768
use older API for build.dart
2024-06-17 10:40:11 +08:00
Nick Fisher
49122cd6ce
clean up quickstart project
2024-06-17 10:39:55 +08:00
Nick Fisher
c037fbaed5
doc update
2024-06-17 10:38:13 +08:00
Nick Fisher
5edfd97a20
doc update
2024-06-17 10:37:39 +08:00
Nick Fisher
05cc43434a
doc update
2024-06-17 10:14:36 +08:00
Nick Fisher
f3d043d824
doc update
2024-06-17 10:11:32 +08:00
Nick Fisher
a6139f7eeb
doc update
2024-06-17 10:09:57 +08:00
Nick Fisher
701519f3a7
doc update
2024-06-17 10:09:25 +08:00
Nick Fisher
44842ecec1
doc fixes
2024-06-16 15:11:49 +08:00
Nick Fisher
2787f8529b
doc fixes
2024-06-16 15:10:41 +08:00
Nick Fisher
24866ed381
remove pubspec.lock
2024-06-16 15:09:37 +08:00
Nick Fisher
29e7e6b409
dont commit pubspec.lock
2024-06-16 15:04:38 +08:00
Nick Fisher
91e41c4eb3
various fixes for publishing all packages to pub.dev
2024-06-16 15:03:52 +08:00
Nick Fisher
19c29adb97
cleanup for publication to pub.dev
2024-06-16 14:24:06 +08:00
Nick Fisher
716da54855
documentation
2024-06-16 14:23:43 +08:00
Nick Fisher
2396a1c1b3
use published native_toolchain_c (required by pub.dev for publication)
2024-06-16 14:23:32 +08:00
Nick Fisher
217197c7d1
add Apache 2.0 licence
2024-06-16 14:23:11 +08:00
Nick Fisher
a616a76eba
update thermion_dart CHANGELOG
2024-06-16 13:56:34 +08:00
Nick Fisher
23e0f32931
rename
2024-06-16 13:56:21 +08:00
Nick Fisher
68a67dad19
remove old library dirs
2024-06-16 13:51:16 +08:00
Nick Fisher
af7b2e03b7
delete test outputs
2024-06-16 13:32:58 +08:00
Nick Fisher
cf667c63c5
set thermion_dart pubspec version
2024-06-16 13:30:35 +08:00
Nick Fisher
4a93111e4d
Merge pull request #36 from nmfisher/feature/rename_and_documentation
...
Rename package and add documentation
2024-06-16 15:25:49 +10:00
Nick Fisher
556f46b4e7
docs
2024-06-16 13:22:56 +08:00
Nick Fisher
f8edbc8e62
more renaming & documentation
2024-06-16 13:22:56 +08:00
Nick Fisher
7ec00922fb
renaming and docs
2024-06-16 13:22:56 +08:00
Nick Fisher
52f4e55b1a
update minimum requirement
2024-06-16 13:22:56 +08:00
Nick Fisher
d7e65930b4
docs
2024-06-16 13:22:56 +08:00
Nick Fisher
13df1a75a1
docs
2024-06-16 13:22:56 +08:00
Nick Fisher
1e1630c4d7
logo
2024-06-16 13:22:56 +08:00
Nick Fisher
d5e69e2683
docs
2024-06-16 13:22:54 +08:00
Nick Fisher
fe6deb925b
docs
2024-06-16 13:22:47 +08:00
Nick Fisher
68a227acaf
move logo
2024-06-16 13:22:47 +08:00
Nick Fisher
18b70363b8
rm pubspec.lock
2024-06-16 13:22:47 +08:00
Nick Fisher
d8bdd9cfbc
Update docs.json
2024-06-16 13:22:46 +08:00
Nick Fisher
dc0c855135
documentation & further renaming
2024-06-16 13:22:27 +08:00
Nick Fisher
3f88598498
doc update
2024-06-16 13:22:27 +08:00
Nick Fisher
3fad977552
git LFS for example assets
2024-06-16 13:22:27 +08:00
Nick Fisher
fe62a70e29
renaming to Thermion
2024-06-16 13:22:22 +08:00
Nick Fisher
1a5f573bc0
rename Web methods in example projects
2024-06-16 13:22:03 +08:00
Nick Fisher
cfc7b76700
update generated methods
2024-06-16 13:22:03 +08:00
Nick Fisher
bbf08e2994
rename Web methods
2024-06-16 13:22:03 +08:00
Nick Fisher
b3d5ba32f7
update web CMakeLists to not use pthreads
2024-06-16 13:22:03 +08:00
Nick Fisher
edb2b05da5
legibility
2024-06-16 13:22:03 +08:00
Nick Fisher
ee991f8bf5
use pthread instead of std::thread for emscripten compatibility
2024-06-16 13:22:03 +08:00
Nick Fisher
2199255341
ensure NULL terminator is copied to strings in get_bone_names
2024-06-16 13:22:03 +08:00
Nick Fisher
d2b548c176
rename web methods
2024-06-16 13:22:03 +08:00
Nick Fisher
bea8dc64a0
keep context handle and call engine->execute() on every call to render() (fixes lock bug on webgl)
2024-06-16 13:22:03 +08:00
Nick Fisher
6268ed7ad1
rename Web methods and move to EMSCRIPTEN_WEBGL_CONTEXT_PROXY_DISALLOW for single-threaded build
2024-06-16 13:22:03 +08:00
Nick Fisher
41fa55cfb5
set default camera zoom speed to 1.0
2024-06-16 13:22:03 +08:00
Nick Fisher
ef075fb4ba
whitespace
2024-06-16 13:22:03 +08:00
Nick Fisher
49f33cd7bf
update web/js interop types
2024-06-16 13:22:02 +08:00
Nick Fisher
e47e8e39f3
delete webgl libs from repository
2024-06-16 13:22:02 +08:00
Nick Fisher
d4cd3c23fb
re-introduce guards for bloom on Emscripten
2024-06-16 13:22:02 +08:00
Nick Fisher
3b6969909c
add last working Fluttter commit to README for WASM compat
2024-06-16 13:22:02 +08:00
Nick Fisher
663be45e6a
remove inadvertent dart:ffi dependency
2024-06-16 13:22:02 +08:00
Nick Fisher
860acce797
Merge pull request #35 from nmfisher/feature/bone-animation-blending
...
Blend between glTF and dynamic bone animations
2024-06-16 15:13:12 +10:00
Nick Fisher
c0eae7b7a9
Merge pull request #34 from nmfisher/feature/native-assets
...
Migrate to native-assets & restructure into separate Dart/Flutter packages
2024-06-16 15:11:35 +10:00
Nick Fisher
5c5897f74d
add maxDelta to blend between glTF and dynamic bone animations
2024-06-10 22:32:44 +08:00
Nick Fisher
5798a269ec
docs
2024-06-09 11:28:22 +08:00
Nick Fisher
b5ed69483c
use ifdef guards for Windows pragmas
2024-06-08 22:26:33 +08:00
Nick Fisher
0f892645af
remove example dev dependency on native_* packages
2024-06-09 00:09:19 +10:00
Nick Fisher
c1b4d6463a
remove all pubspec.lock files
2024-06-09 00:08:30 +10:00
Nick Fisher
2b4e4ec490
Merge branch 'feature/native-assets' of github.com:nmfisher/polyvox_filament into feature/native-assets
...
- prebuilt library zip files now downloaded directly from Cloudflare to
.dart_tool/dart_filament
- for Windows compatibility, we need to depend on a fork of
native_toolchain_c (to support linking against non-import libs when
creating a DLL)
2024-06-09 00:06:09 +10:00
Nick Fisher
d548f1a2df
Merge pull request #31 from Hannnes1/feature/native-assets
...
Download and unzip native assets during build
2024-06-08 15:44:43 +10:00
Nick Fisher
6f1597daec
update build.dart to support windows
2024-06-08 15:36:57 +10:00
Nick Fisher
ecb52f06da
update build.dart to support windows
2024-06-08 15:36:28 +10:00
Nick Fisher
026c65016c
add pragmas to ensure linking on Windows
2024-06-08 15:35:51 +10:00
Nick Fisher
45a651adf0
set stereoscopic options to fix issue on Windows
2024-06-08 15:35:32 +10:00
Nick Fisher
770f01c2bb
remove some logging
2024-06-08 15:34:23 +10:00
Nick Fisher
ef27e06e82
use forked native_toolchain_c
2024-06-08 15:34:06 +10:00
Nick Fisher
169acb4682
allow null flutterTextureId in FlutterFilamentTexture
2024-06-08 15:33:29 +10:00
Nick Fisher
4705359b5f
clean up example pubspec
2024-06-08 15:33:06 +10:00
Nick Fisher
4f830f1f95
fixes for Windows
2024-06-08 15:30:24 +10:00
Hannes Hultergård
9556c0b314
Remove native libraries from git
2024-06-07 16:03:39 +02:00
Hannes Hultergård
1831e31afb
Download and unzip native assets during build
2024-06-07 16:03:39 +02:00
Nick Fisher
6eea9c1f66
Merge branch 'feature/native-assets' of github.com:nmfisher/polyvox_filament into feature/native-assets
2024-06-07 20:43:55 +10:00
Nick Fisher
6b12f2532f
update Windows plugin for new native-assets structure
2024-06-07 20:43:09 +10:00
Nick Fisher
f7cc0ce6ad
remove windows specific headers
2024-06-07 20:42:07 +10:00
Nick Fisher
58d9ce04be
rename & documentation
2024-06-07 20:41:36 +10:00
Nick Fisher
c40814709d
Merge pull request #32 from Hannnes1/lockfile-remove
...
Remove pubspec.lock files from packages
2024-06-07 10:45:59 +08:00
Nick Fisher
0e0b9d2901
Merge pull request #27 from jarrodcolburn/patch-3
...
Update README.md - code block
2024-06-07 10:44:44 +08:00
Nick Fisher
34707c944b
Merge branch 'master' into patch-3
2024-06-07 10:44:35 +08:00
Nick Fisher
1c5c29f1d2
Merge pull request #26 from jarrodcolburn/patch-1
...
Update README.md - beta requirement
2024-06-07 10:44:01 +08:00
Nick Fisher
9330e2b7a7
Merge pull request #28 from jarrodcolburn/patch-2
...
Update README.md -version table
2024-06-07 10:43:42 +08:00
Hannes Hultergård
93b7c74ffe
Remove pubspec.lock files from packages
...
The dart team recommends not committing the pubspec.lock in regular
packages. The examples should still have the lock files to "ensures
changes to transitive dependencies are explicit".
https://dart.dev/guides/libraries/private-files#pubspec-lock
2024-06-06 21:23:51 +02:00
Nick Fisher
edb8de721b
update animation_tools_dart dependency
2024-06-06 23:38:06 +08:00
Nick Fisher
6efaee07c5
dont pass plugin before initialization to ExampleViewport
2024-06-06 23:34:54 +08:00
Nick Fisher
0140911515
update build.gradle for Android example project
2024-06-06 23:34:09 +08:00
Nick Fisher
77322019ec
recreate example iOS project
2024-06-06 23:33:43 +08:00
Nick Fisher
b6b4bcc94a
remove accidentally committed folder
2024-06-06 23:33:01 +08:00
Nick Fisher
5a0d18bd59
clean up MacOS bridging headers
2024-06-06 23:32:43 +08:00
Nick Fisher
559706ef53
ios bridging header fixes
2024-06-06 23:32:18 +08:00
Nick Fisher
b62bac9153
update build.dart for Android
2024-06-06 23:31:55 +08:00
Nick Fisher
0d17d28de7
Revert "remove unused Filament headers"
...
This reverts commit 778c3c959e .
2024-06-06 22:21:56 +08:00
Nick Fisher
e97e6f3a83
add checks for concurrent texture creation, don't recreate texture if same size as existing
2024-06-06 22:19:25 +08:00
Nick Fisher
01f4814a9a
clean up FlutterFilamentTexture
2024-06-06 22:18:13 +08:00
Nick Fisher
9e8676e9cd
don't destroy Texture on FilamentWidget disposal
2024-06-06 22:17:52 +08:00
Nick Fisher
bc68c530ac
update Android interop
2024-06-06 22:17:09 +08:00
Nick Fisher
ed2a1eb482
update Android CMakeLists.txt for new native-assets build
2024-06-06 22:14:48 +08:00
Nick Fisher
1dcc4b5108
remove unnecessary cast from SceneManager
2024-06-06 22:14:22 +08:00
Nick Fisher
cc27577f4d
logging
2024-06-06 22:13:30 +08:00
Nick Fisher
778c3c959e
remove unused Filament headers
2024-06-06 22:13:07 +08:00
Nick Fisher
f82813b7f3
move Android libs to release dir
2024-06-06 22:12:47 +08:00
Nick Fisher
dda9a61f20
rename Android C++ glue file
2024-06-06 22:10:56 +08:00
Nick Fisher
6ad53ae413
add Android support to build.dart
2024-06-06 22:10:00 +08:00
Nick Fisher
e26a649424
remove old logging
2024-06-05 22:30:57 +08:00
Nick Fisher
d99d39a306
update android example project
2024-06-05 22:30:42 +08:00
Nick Fisher
e9bbf2f8b3
dont ignore return value when removing lights to stop compiler complaining
2024-06-05 22:30:23 +08:00
Nick Fisher
fb030e9bc8
add missing android header files
2024-06-05 22:29:59 +08:00
Nick Fisher
1293c47da1
add missing android libs
2024-06-05 22:29:36 +08:00
Nick Fisher
78662ccade
fix quaternion order in JS interop bindings
2024-06-04 22:20:40 +08:00
Nick Fisher
6ecfb60521
remove logging
2024-06-04 22:20:24 +08:00
Nick Fisher
fce1846c27
recalculate world transform from parent hierarchy when setting bone animation
2024-06-04 22:20:13 +08:00
Nick Fisher
2f38cfceee
fade tests
2024-06-04 20:54:16 +08:00
Nick Fisher
3c289bd13d
don't enqueue gltf animation if already playing
2024-06-04 20:53:58 +08:00
Nick Fisher
2f1edc706b
update web bindings
2024-06-04 20:53:34 +08:00
Nick Fisher
15392071e4
add fade in/out arguments to JS export types
2024-06-04 20:53:20 +08:00
Nick Fisher
dadd7d1f5d
add looping to animation debug widget
2024-06-04 13:16:16 +08:00
Nick Fisher
fd06424f28
add various bone methods to JS interop
2024-06-04 13:15:45 +08:00
Nick Fisher
f31bbccdc9
add fade in/out to dynamic bone animations
2024-06-04 13:14:53 +08:00
Nick Fisher
765d0e0839
update skinning tests
2024-06-03 22:31:23 +08:00
Nick Fisher
69bc4d6ff6
add missing emscripten resolve callback arg
2024-06-03 22:31:07 +08:00
Nick Fisher
7af0f6f00d
don't add multiple component instances and interpolate between gltf and dynamic bone animation
2024-06-03 22:30:45 +08:00
Nick Fisher
52204ddd5b
documentation
2024-06-03 22:30:17 +08:00
Nick Fisher
a97eea396a
add new rest local transforms getter when setting bone animations, rather than needing to reset and get current local transform
2024-06-03 22:30:00 +08:00
Nick Fisher
7d9bc9e5cc
add method to retrieve rest local transforms
2024-06-03 22:29:23 +08:00
Nick Fisher
9090eca461
add method to retrieve rest local transforms
2024-06-03 22:28:46 +08:00
Nick Fisher
7f4d8c2f42
update gitattributes
2024-06-01 12:52:50 +08:00
Nick Fisher
63a2199e52
use published animation_tools_dart dependency
2024-06-01 12:52:37 +08:00
Nick Fisher
2bd4dc58e3
update example assets
2024-06-01 12:52:05 +08:00
Nick Fisher
58525c16af
update tests
2024-06-01 12:51:07 +08:00
Nick Fisher
9431865d18
remove old export
2024-06-01 12:50:46 +08:00
Nick Fisher
df777585e2
re-add resize timer to FilamentWidget return initial widget when resizing
2024-06-01 12:50:27 +08:00
Nick Fisher
382d68ee77
factor out debug widgets
2024-06-01 12:45:43 +08:00
Nick Fisher
e89574aea5
Flutter plugin documentation
2024-06-01 12:44:59 +08:00
Nick Fisher
231c9a96a7
update web bindings
2024-06-01 12:44:40 +08:00
Nick Fisher
18b0b7c20a
fix double-add entity in Scene
2024-06-01 12:43:47 +08:00
Nick Fisher
8536dfae01
add ignore parameter for Gizmo
2024-06-01 12:43:25 +08:00
Nick Fisher
5337269f83
add missing implementation methods for web/JS interop viewer
2024-06-01 12:42:31 +08:00
Nick Fisher
3083730c2b
fix web/JS extension defn of addBoneAnimation
2024-06-01 12:41:58 +08:00
Nick Fisher
2c588c9eaa
add web/JS export implementation for addBoneAnimation
2024-06-01 12:41:15 +08:00
Nick Fisher
40187987a6
add index operator to web PointerPointer extension
2024-06-01 12:40:46 +08:00
Nick Fisher
57f3135e3b
add callbacks to certain async FFI methods
2024-06-01 12:40:20 +08:00
Nick Fisher
c19928850c
expose various methods for getting bones/transforms/etc.
2024-06-01 12:35:20 +08:00
Nick Fisher
dc8dfc3474
expose various methods for getting bones/transforms/etc. change reset rest pose to reset bone transforms (not just resetting the bone matrices)
2024-06-01 12:34:48 +08:00
Nick Fisher
35c1227b6c
expose various methods for getting bones/transforms/etc
2024-06-01 12:33:31 +08:00
Nick Fisher
650239fcd6
expose various methods for getting bones/transforms/etc
2024-06-01 12:33:18 +08:00
Nick Fisher
8391ae6178
allow removing animation components and dont stash initial joint transforms when creating bone animations
2024-06-01 12:32:50 +08:00
Nick Fisher
188fc6b5dc
expose various methods for getting bones/transforms/etc
2024-06-01 12:32:35 +08:00
Nick Fisher
7d54eadaa8
allow removing animation components and dont stash initial joint transforms when creating bone animations
2024-06-01 12:31:59 +08:00
Nick Fisher
5db72f15ea
throw exception if concurrent resizes found
2024-06-01 12:29:35 +08:00
Nick Fisher
68160c6bef
use published animation_tools_dart dependency
2024-06-01 12:28:27 +08:00
Nick Fisher
41d8fd3e65
add implemenation methods for setting transforms/bone matrices
2024-06-01 12:20:03 +08:00
Nick Fisher
910af4d76c
add interface methods for setting transforms/bone matrices
2024-06-01 12:19:04 +08:00
Nick Fisher
c03709656d
add skeleton menu widget for debugging
2024-06-01 12:17:47 +08:00
Nick Fisher
3b168d7a83
use debug libs in debug mode
2024-06-01 12:17:20 +08:00
Nick Fisher
161abced39
update macos debug/release libs
2024-06-01 12:16:19 +08:00
Nick Fisher
24c29593be
expose methods for getting bone names
2024-05-26 12:11:40 +08:00
Nick Fisher
82f533e6b2
expose methods for getting bone names
2024-05-26 12:11:11 +08:00
Nick Fisher
443a4ba0d4
reenable bloom on web
2024-05-21 16:39:23 +08:00
Nick Fisher
26f0c4a5b4
add web support for light changes
2024-05-21 13:34:57 +08:00
Nick Fisher
139c191a8a
update web bindings
2024-05-21 13:25:10 +08:00
Nick Fisher
501a73ea55
update CHANGELOG
2024-05-21 13:24:02 +08:00
Nick Fisher
9bfb6d37dd
EntityListWidget styling
2024-05-21 13:23:50 +08:00
Nick Fisher
a235f33bfc
update example project
2024-05-21 13:23:33 +08:00
Nick Fisher
d7edf105c4
addLight now accepts a LightType enum; added support for setting falloff, spot light radius, sun radius & halo
2024-05-21 13:23:23 +08:00
Nick Fisher
173ff4be20
update gitattributes
2024-05-21 10:21:29 +08:00
Nick Fisher
59c635e29a
update cli wasm
2024-05-21 10:21:24 +08:00
Nick Fisher
a91618c920
remove old web test
2024-05-21 10:21:12 +08:00
Nick Fisher
90edd0d1a6
remove old test web app
2024-05-21 10:20:35 +08:00
Nick Fisher
b33e7d04ab
move AppLifecyleListener to Flutter plugin
2024-05-21 10:18:35 +08:00
Nick Fisher
90727e79c5
update example web project
2024-05-21 10:15:15 +08:00
Nick Fisher
ece018b7e9
cleanup comments
2024-05-21 10:14:19 +08:00
Nick Fisher
ce3b14cdae
update wasm example
2024-05-21 10:14:02 +08:00
Nick Fisher
7043d3ef2f
update Makefile
2024-05-19 14:19:35 +08:00
Nick Fisher
3415648676
remove logging
2024-05-19 14:19:03 +08:00
Nick Fisher
269aa819e2
whitespace
2024-05-19 14:18:51 +08:00
Nick Fisher
e9b87a9a9a
don't use asTypedList/setRange on Float32List as this doesn't work with WASM
2024-05-19 14:18:40 +08:00
Nick Fisher
467b80beb7
use locally scoped vars in js interop for easier debugging
2024-05-19 14:18:05 +08:00
Nick Fisher
4f9672cbbf
throw error on web for setCameraModelMatrix
2024-05-19 14:17:24 +08:00
Nick Fisher
43b5cb040a
add missing getter for float pointer
2024-05-19 14:16:30 +08:00
Nick Fisher
2f8894505c
example project web fixes
2024-05-17 14:52:36 +08:00
Nick Fisher
8c586e48eb
git attributes
2024-05-17 14:52:17 +08:00
Nick Fisher
6280368f68
hide UtfPointer to avoid clashes
2024-05-17 14:51:58 +08:00
Nick Fisher
3c186eea37
return child widget in gesture detector widget even when viewer is not yet initialized
2024-05-17 14:51:36 +08:00
Nick Fisher
17f7a2931f
move child renderable menu to own widget
2024-05-17 14:51:08 +08:00
Nick Fisher
888531f333
example project fixes
2024-05-17 14:50:39 +08:00
Nick Fisher
00f9122f37
example project fixes
2024-05-17 14:50:15 +08:00
Nick Fisher
3a98bd53de
web : mandate child entity for morph animation functions and implement some missing functions
2024-05-17 14:49:40 +08:00
Nick Fisher
a566851efe
update generated bindings
2024-05-17 14:47:25 +08:00
Nick Fisher
bf252c05f8
gitignore
2024-05-17 14:46:55 +08:00
Nick Fisher
31cc1059dd
add dart cli wasm
2024-05-17 14:46:44 +08:00
Nick Fisher
9568ff2c4e
add Float32List asTypedList extension
2024-05-17 14:44:07 +08:00
Nick Fisher
ca35b310eb
mandate passing childEntity to morph target functions
2024-05-17 14:43:47 +08:00
Nick Fisher
b465553f04
make registerEntity public on scene and mandate passing childEntity to morph target functions
2024-05-17 14:42:28 +08:00
Nick Fisher
a3e1d180d9
remove old CLI example
2024-05-17 14:41:57 +08:00
Nick Fisher
deb0884109
add dart cli/wasm example
2024-05-17 14:41:37 +08:00
Nick Fisher
5e576e00ba
add dart macos CLI example
2024-05-17 14:40:16 +08:00
Nick Fisher
f487be82b1
use child entity for morph animations rather than name
2024-05-17 14:37:25 +08:00
Nick Fisher
8b1a1974b1
use child entity for morph animations rather than name & expose Emscripten scripts via moduleArgs
2024-05-17 14:36:52 +08:00
Nick Fisher
bb514b13d3
update gitattributes
2024-05-17 14:33:57 +08:00
Nick Fisher
e79d67d880
re-add web binding generation and symbol replacement in web CMakeLists.txt
2024-05-17 14:33:41 +08:00
Nick Fisher
b8588e3196
dont use lists for CMake replace in file
2024-05-17 14:33:24 +08:00
Nick Fisher
6bfb32b5e8
update web libs
2024-05-17 14:32:32 +08:00
Nick Fisher
32c25ac4e0
move Makefile to top-level directory
2024-05-17 14:30:59 +08:00
Nick Fisher
24c62ca026
update example project with debug widgets for child entities & morph targets
2024-05-16 22:36:10 +08:00
Nick Fisher
f63228e623
turn off debug colouring
2024-05-16 11:01:51 +08:00
Nick Fisher
39e1eddf0d
alpha on web
2024-05-16 11:01:38 +08:00
Nick Fisher
a507f789f1
clean up
2024-05-16 00:16:23 +08:00
Nick Fisher
582557353c
use Dart bool where possible in web interop
2024-05-16 00:15:55 +08:00
Nick Fisher
ea4c31ecca
use Dart bool where possible in web interop
2024-05-16 00:14:50 +08:00
Nick Fisher
77f544fd6d
add missing emscripten callback blocks
2024-05-16 00:14:27 +08:00
Nick Fisher
9f94f834ef
use animation_tools_dart from git
2024-05-15 22:31:19 +08:00
Nick Fisher
3b8af0ecf4
explicitly include ResourceBuffer.h in generated bindings so we can actually use it on web
2024-05-15 22:30:37 +08:00
Nick Fisher
5fd0fc60bf
web compatibility work
2024-05-15 22:29:56 +08:00
Nick Fisher
dcc52cd7c1
add android libs
2024-05-15 22:29:35 +08:00
Nick Fisher
7703f33b81
update federated flutter_filament
2024-05-15 22:28:58 +08:00
Nick Fisher
293d3c9fd6
move flutter_filament plugin to federated structure
2024-05-15 22:26:57 +08:00
Nick Fisher
c11e2b9f38
remove Windows libs from flutter_filament (to be replaced in dart_filament)
2024-05-15 22:26:32 +08:00
Nick Fisher
6b50dc9d36
move flutter_filament plugin to federated structure
2024-05-15 22:25:46 +08:00
jarrodcolburn
57fb7c985f
Update README.md - code block
...
add language to codeblocks to enable color coding
2024-05-11 12:51:09 -05:00
jarrodcolburn
e01e08e4d1
Update README.md -version table
...
attempt to fix versioning table
2024-05-11 12:49:10 -05:00
jarrodcolburn
dca77a9cab
Update README.md
...
removed portion where is said needs to be on beta channel for `3.16.0-0.2.pre` since stable is on 3.19
2024-05-11 12:32:20 -05:00
Nick Fisher
66e5e38324
update web_wasm example
2024-05-11 22:41:17 +08:00
Nick Fisher
d46aecb8ec
Makefile
2024-05-11 22:40:52 +08:00
Nick Fisher
f007ea99a9
gitattr
2024-05-11 22:40:47 +08:00
Nick Fisher
b963a066d2
update CMakeLists
2024-05-11 22:40:40 +08:00
Nick Fisher
a5991c15c2
EM_ASM callbacks
2024-05-11 22:40:22 +08:00
Nick Fisher
c0315c3450
formatting
2024-05-11 22:40:00 +08:00
Nick Fisher
f9ab0bf12c
update web api for dart
2024-05-11 22:39:44 +08:00
Nick Fisher
f7c3d20aa9
add guards for material headers
2024-05-11 22:38:52 +08:00
Nick Fisher
85f129d435
compatibility shims for web
2024-05-11 22:38:28 +08:00
Nick Fisher
ae70564bf3
remove web-only header files
2024-05-11 22:37:55 +08:00
Nick Fisher
b65aae4c64
update web libs
2024-05-11 22:37:30 +08:00
Nick Fisher
84c7769c3d
update makefile
2024-05-11 12:32:25 +08:00
Nick Fisher
4130699f86
update web CMakeLists
2024-05-11 12:32:15 +08:00
Nick Fisher
7aa450948c
use EMSCRIPTEN_KEEPALIVE
2024-05-11 12:31:55 +08:00
Nick Fisher
ed78dd66ef
use EMSCRIPTEN_KEEPALIVE
2024-05-11 12:31:42 +08:00
Nick Fisher
943c5e21ac
use void* instead of ResourceLoaderWrapper*
2024-05-11 12:31:27 +08:00
Nick Fisher
1c9e7039d0
use EMSCRIPTEN_KEEPALIVE
2024-05-11 12:31:09 +08:00
Nick Fisher
5d053e6484
use EMSCRIPTEN_KEEPALIVE
2024-05-11 12:30:59 +08:00
Nick Fisher
e648ed6e7d
update git attr/ign
2024-05-11 12:30:43 +08:00
Nick Fisher
5faf288a21
cleanup old iOS files
2024-05-11 12:30:16 +08:00
Nick Fisher
8781b67db0
create examples folder
2024-05-11 12:30:02 +08:00
Nick Fisher
5493afbf67
web ffigen config
2024-05-11 12:29:46 +08:00
Nick Fisher
2c6e953b4b
fix compatibility imports
2024-05-11 10:16:13 +08:00
Nick Fisher
d04c71d8f9
add web folder to native
2024-05-11 10:13:11 +08:00
Nick Fisher
19818a66fd
separate into native/web conditional imports for compatibility
2024-05-11 10:12:21 +08:00
Nick Fisher
dbf44f1c8b
add EMSCRIPTEN guards around thread waiting ResourceBuffer
2024-05-11 10:11:50 +08:00
Nick Fisher
cfbfc87b0b
dont free ResourceBuffer in emscripten loadGlbFromBuffer
2024-05-11 10:11:30 +08:00
Nick Fisher
25cedc0e66
add Makefile
2024-05-11 10:11:03 +08:00
Nick Fisher
f63d3293c7
move ffigen config to own folder
2024-05-11 10:10:58 +08:00
Nick Fisher
a255b268f6
move web folder to native
2024-05-11 10:10:24 +08:00
Nick Fisher
f82a9b6222
rename native pick to filament_pick to avoid naming clashes
2024-05-11 10:09:11 +08:00
Nick Fisher
6f0df56751
add hacky check for resizing
2024-05-10 23:05:05 +08:00
Nick Fisher
a7fb516ff3
remove outdated export
2024-05-10 23:04:22 +08:00
Nick Fisher
29e77c4cd1
change imports
2024-05-09 13:39:52 +08:00
Nick Fisher
dd5cd812f0
add option to wait for animation to complete
2024-05-09 13:39:37 +08:00
Nick Fisher
f0058d4009
rename gizmo translation args
2024-05-09 13:39:18 +08:00
Nick Fisher
1a6529b315
wait for plugin initialization before returning via FlutterFilamentPlugin.create
2024-05-09 13:39:01 +08:00
Nick Fisher
5e03f5d13c
use pixel ratio when resizing via widget
2024-05-09 13:38:26 +08:00
Nick Fisher
0a8bdb9721
move EntityTransformController to dart_filament
2024-05-09 13:38:06 +08:00
Nick Fisher
f338fc0b43
move EntityTransformController to dart_filament
2024-05-09 13:37:47 +08:00
Nick Fisher
87213e8aac
actually hook up set_frame_interval to FilamentViewer
2024-05-09 13:37:01 +08:00
Nick Fisher
f8db54e941
create transparent swapchain on iOS and fix recording issues"
2024-05-09 13:36:26 +08:00
Nick Fisher
adfdecd274
remove animation components on destroyAll
2024-05-09 13:35:50 +08:00
Nick Fisher
9dd95d32dc
export dart_filament from flutter_filament
2024-05-09 13:35:30 +08:00
Nick Fisher
2c9a3bf807
update generated bindings
2024-05-09 13:35:14 +08:00
Nick Fisher
9ff4fec6ab
reduce min req for example cli
2024-05-09 13:34:45 +08:00
Nick Fisher
6f9ead6f5c
example_cli update
2024-05-09 13:34:26 +08:00
Nick Fisher
f8ed5d1b28
update example
2024-04-30 17:50:03 +08:00
Nick Fisher
8267a0c5f8
fix
2024-04-30 15:48:50 +08:00
Nick Fisher
14b0b674c5
fix iOS
2024-04-30 14:14:54 +08:00
Nick Fisher
8f9e309c34
initial work to split into dart_filament and flutter_filament
2024-04-30 12:07:26 +08:00
Nick Fisher
b81f34cd29
formatting
2024-04-29 14:28:21 +08:00
Nick Fisher
107f3bce64
remove logging
2024-04-29 14:28:07 +08:00
Nick Fisher
fe0067c16a
whitespace
2024-04-29 14:27:54 +08:00
Nick Fisher
49fb8fb9e3
remove logging
2024-04-29 14:27:44 +08:00
Nick Fisher
f8e69466d7
fixes for moving animation_tools_dart
2024-04-26 11:14:24 +08:00
Nick Fisher
9b66fb165a
update example project
2024-04-26 11:04:00 +08:00
Nick Fisher
089b59e6c7
update generated bindings
2024-04-26 11:03:40 +08:00
Nick Fisher
ce425a44f5
move animations to animation_tools_dart
2024-04-26 11:03:30 +08:00
Nick Fisher
7f365f985d
add animation_tools dependency
2024-04-26 11:00:33 +08:00
Nick Fisher
ff25744a84
use std::variant for AnimationComponent to distinguish between arbitrray entities and glTF FilamentAsset
2024-04-26 10:56:30 +08:00
Nick Fisher
b5a36cc8d8
allow adding AnimationComponent/morph target animations to arbitrary entities
2024-04-26 10:55:56 +08:00
Nick Fisher
83296ef582
remove unused FFI morph animation method
2024-04-26 10:55:23 +08:00
Nick Fisher
fc4bb19569
allow adding AnimationComponent/morph target animations to arbitrary entities
2024-04-26 10:53:16 +08:00
Nick Fisher
4b348f62eb
allow adding AnimationComponent/morph target animations to arbitrary entities
2024-04-26 10:52:34 +08:00
Nick Fisher
f2efb0d7d1
allow adding AnimationComponent/morph target animations to arbitrary entities
2024-04-26 10:51:38 +08:00
Nick Fisher
6fe436a5cc
update makefile
2024-04-20 13:48:07 +08:00
Nick Fisher
ca3eafda24
remove duplicate libs from macos podspec
2024-04-20 13:47:38 +08:00
Nick Fisher
6f2c07f5fb
add FileMaterialProvider
2024-04-20 13:47:19 +08:00
Nick Fisher
ea04e94c1f
update macos/ios to Filament v1.51.2
2024-04-20 13:46:58 +08:00
Nick Fisher
15882891e2
use void callback for setBackgroundImage to correctly free pointer after dispatch
2024-04-20 13:46:10 +08:00
Nick Fisher
49229f8c88
revert FileMaterialProvider deletion
2024-04-05 15:18:24 +08:00
Nick Fisher
d063701250
example project updates
2024-03-30 11:20:36 +08:00
Nick Fisher
50b3ead812
example project updates
2024-03-30 11:20:20 +08:00
Nick Fisher
1c871f1e99
update CHANGELOG
2024-03-26 00:25:36 +08:00
Nick Fisher
b357144a79
expose method for retrieving all child entities
2024-03-26 00:24:21 +08:00
Nick Fisher
849ad6c530
use resgen'd gizmo material
2024-03-25 23:33:35 +08:00
Nick Fisher
34c997815d
Merge branch 'feature/instancing' into develop
2024-03-25 22:23:36 +08:00
Nick Fisher
2ed2e7fb05
Merge branch 'develop' of github.com:nmfisher/polyvox_filament into develop
2024-03-25 22:23:08 +08:00
Nick Fisher
cfab7eac3b
update path for generated bindings
2024-03-25 22:22:38 +08:00
Nick Fisher
357c585d44
add (very rough) gizmo, restructure Dart package into library, add EntityListWidget
2024-03-25 22:21:37 +08:00
Nick Fisher
66ae0a4d08
merge
2024-03-09 11:25:10 +08:00
Nick Fisher
5e0c4e1f70
update pubspec.lock
2024-03-09 11:22:33 +08:00
Nick Fisher
2fc1e6a127
update generated bindings
2024-03-09 11:22:24 +08:00
Nick Fisher
f02cd5d611
rejig frame timings
2024-03-09 11:22:12 +08:00
Nick Fisher
ed8bcd5794
remove logging
2024-03-09 11:18:18 +08:00
Nick Fisher
00c0e2526e
pass callback to native pick(), dont use _ffi version for get_animation_names
2024-03-09 11:17:54 +08:00
Nick Fisher
13fa60e8de
pass callback to native pick() and remove pick_ffi
2024-03-09 11:17:25 +08:00
Nick Fisher
6e9a02b5b5
Merge branch 'feature/instancing' of github.com:nmfisher/polyvox_filament into feature/instancing
2024-03-08 18:02:14 +08:00
Nick Fisher
950d00dc3d
update CHANGELOG
2024-03-08 18:02:06 +08:00
Nick Fisher
f72aeb486c
add release instructions for Android
2024-03-08 18:01:38 +08:00
Nick Fisher
d6cc6c13fe
update example app gradle
2024-03-08 18:01:22 +08:00
Nick Fisher
2cbaeabe6c
update kotlin/gradle versions
2024-03-08 18:01:04 +08:00
Nick Fisher
7d0ae605d6
update kotlin/gradle versions
2024-03-08 18:00:49 +08:00
Nick Fisher
3cbf796248
pass through scaleStart/Update/End to mobile gesture detector
2024-03-08 18:00:30 +08:00
Nick Fisher
684d758bd9
set pixel ratio before creating rect
2024-03-07 18:30:09 +11:00
Nick Fisher
deb3bac35d
create new WGL context when WGL_USE_BACKING_WINDOW is false
2024-03-07 18:27:09 +11:00
Nick Fisher
4377a55747
no need to create WGL context explicitly - defer to Engine
2024-03-07 17:16:48 +11:00
Nick Fisher
b8aab1d030
turn PP off by default
2024-03-07 17:16:03 +11:00
Nick Fisher
a872cef436
initialize flutterTextureId to -1
2024-03-07 16:44:56 +11:00
Nick Fisher
59d6b17f63
remove duplicate ANGLE flutterTextureId
2024-03-07 16:44:27 +11:00
Nick Fisher
1fccaf1990
EGL logging
2024-03-07 16:44:03 +11:00
Nick Fisher
c34a1b0370
remove duplicate sharedContext
2024-03-07 16:43:29 +11:00
Nick Fisher
34d5478beb
disable postprocessing by default
2024-03-07 16:42:57 +11:00
Nick Fisher
f0c48d7f0a
cleanup EGL/D3D texture rendering
2024-03-07 12:19:01 +11:00
Nick Fisher
8ef166d9b8
move Flutter result checks to OpenGLTextureBuffer
2024-03-06 20:07:52 +11:00
Nick Fisher
89c7f7ddc3
hardcode frame interval to 1
2024-03-06 20:06:05 +11:00
Nick Fisher
c797cfc3b7
don't unnecessarily repaint FilamentWidget
2024-03-06 19:28:53 +11:00
Nick Fisher
6e7e918125
only conditionally add WGL_USE_BACKING_WINDOW
2024-03-06 19:28:38 +11:00
Nick Fisher
150f409ae1
don't mark texture frame available when USE_BACKING_WINDOW is true
2024-03-06 19:28:14 +11:00
Nick Fisher
732a6d0527
reduce default Windows color/depth buffer to 24/16
2024-03-06 19:28:06 +11:00
Nick Fisher
fda70fb6d1
use std::vector instead of dynamic array to stop MSVC complaining
2024-03-06 19:27:52 +11:00
Nick Fisher
adfb607eb7
make all FFI calls async with completers
2024-03-05 13:51:57 +08:00
Nick Fisher
39fa9387e6
expose removeCollisionComponent
2024-03-05 10:30:42 +08:00
Nick Fisher
32fe5d9083
remove unused test linux file
2024-03-05 10:22:12 +08:00
Nick Fisher
246494404c
explicitly include iomanip header for iOS build using dart native
2024-03-05 10:21:51 +08:00
Nick Fisher
0c9e051baf
rename plugin files
2024-03-05 10:21:26 +08:00
Nick Fisher
5287c108f9
rename getMeshNames to getChildEntities
2024-03-04 21:43:56 +08:00
Nick Fisher
e2a56f4136
fix bad copy-paste bug
2024-03-04 21:43:35 +08:00
Nick Fisher
f80d92bf5b
move pick to pointerdown for better latency
2024-03-04 15:41:35 +08:00
Nick Fisher
403ea40d09
resize fix
2024-03-04 15:41:11 +08:00
Nick Fisher
d8ae4c0949
logging
2024-03-04 15:40:58 +08:00
Nick Fisher
61299e4587
add stopAnimationByName
2024-03-04 15:40:44 +08:00
Nick Fisher
1680573a1e
hardcode 5ms window for rendering
2024-03-04 08:35:00 +08:00
Nick Fisher
b8314dcdd8
logging
2024-03-04 08:32:52 +08:00
Nick Fisher
06d8df0394
expose addAnimationComponent and dont add by default on loadGlb
2024-03-04 08:32:38 +08:00
Nick Fisher
40ec8accf7
expose addAnimationComponent and dont add by default on loadGlb
2024-03-04 08:32:22 +08:00
Nick Fisher
6c6bcfe7a4
work
2024-03-01 22:48:39 +08:00
Nick Fisher
9295059885
namespace changes, setCameraRotation accepts quat, getMainCamera
2024-03-01 22:47:35 +08:00
Nick Fisher
6525dea6c2
namespace changes
2024-03-01 22:47:01 +08:00
Nick Fisher
a3b67bef91
namespace changes
2024-03-01 22:46:53 +08:00
Nick Fisher
9b9a0b7ce5
split component managers
2024-03-01 22:46:23 +08:00
Nick Fisher
0970990061
update tests
2024-03-01 22:46:00 +08:00
Nick Fisher
131091c3e4
add C++ tests
2024-03-01 15:58:16 +08:00
Nick Fisher
3abcfb0594
update windows image material
2024-02-21 11:25:26 +08:00
Nick Fisher
e40c0099b6
update compiled image material
2024-02-19 20:54:54 +08:00
Nick Fisher
8779619d23
update pubspec
2024-02-19 20:54:46 +08:00
Nick Fisher
58c7679857
restructure light slider widget
2024-02-19 20:54:37 +08:00
Nick Fisher
974f9ea9d9
press escape to stop capturing keyboard input
2024-02-19 20:54:11 +08:00
Nick Fisher
3d013dec54
update example project
2024-02-19 20:53:52 +08:00
Nick Fisher
106395e385
update CHANGELOG
2024-02-19 20:53:23 +08:00
Nick Fisher
a5a1d2679e
rename FilamentGestureDetector enabled flag
2024-02-18 21:50:04 +08:00
Nick Fisher
217626f434
remove openGlCompatibility key from MacOS cvPixelBuffer
2024-02-18 21:49:26 +08:00
Nick Fisher
65db2aa32e
rename AssetManager to SceneManager
2024-02-18 21:48:50 +08:00
Nick Fisher
a10fe6584d
add testCollisions method for manual collision checking
2024-02-18 21:48:03 +08:00
Nick Fisher
6c37368aea
add camera options widget
2024-02-18 21:46:06 +08:00
Nick Fisher
5e2946fe30
update generated bindings
2024-02-18 15:23:36 +08:00
Nick Fisher
8961f7ca8f
use iOS 13.0 as min target
2024-02-18 15:23:19 +08:00
Nick Fisher
130ab8ea86
rename AssetManager to SceneManager, add camera FOV/antialiasing methods, do symmetric AABB checking for collisions
2024-02-18 15:23:04 +08:00
Nick Fisher
00803c35ab
rename AssetManager to SceneManager, add camera FOV/antialiasing methods, do symmetric AABB checking for collisions
2024-02-18 15:22:47 +08:00
Nick Fisher
8107258a1e
update image material
2024-02-16 20:37:07 +08:00
Nick Fisher
2ae3f8c466
rename (asset to entity)
2024-02-15 15:16:56 +08:00
Nick Fisher
935b876ce9
add flag for affectsCollidingTransform, add setParent method for transforms
2024-02-15 14:50:14 +08:00
Nick Fisher
023900bb99
use Timer in EntityControllerMouseWidget for pointer hover
2024-02-15 13:47:59 +08:00
Nick Fisher
aba9d8e6a6
update example project
2024-02-15 13:47:31 +08:00
Nick Fisher
da123d6274
update example project
2024-02-15 13:47:22 +08:00
Nick Fisher
0b315f3dfe
bump Dart SDK version for NativeCallable
2024-02-15 13:45:51 +08:00
Nick Fisher
73c039b413
differentiate between setPosition/queuePositionUpdate (+rotate), use EntityId in collision callback, fix collisions + add skiing effect
2024-02-15 13:45:09 +08:00
Nick Fisher
5d1eccacac
add StandardComponents for collision
2024-02-14 10:49:12 +08:00
Nick Fisher
4913956b3e
add createGeometry
2024-02-14 10:48:56 +08:00
Nick Fisher
5ab257cd15
merge macos debug libs
2024-02-13 16:25:12 +08:00
Nick Fisher
1638599078
support collisions & restructure transforms to only update once per frame
2024-02-13 13:31:18 +08:00
Nick Fisher
6561af6825
change transform order for relative setPosition to SRT
2024-02-05 08:43:54 +08:00
Nick Fisher
48a1c6dc0b
use decompose/composeMatrix for transforms and add mouse controls for rotation
2024-02-03 14:11:02 +08:00
Nick Fisher
63a52025dd
support relative setPosition, add hardware keyboard listener + control, log FPS
2024-02-03 11:56:06 +08:00
Nick Fisher
0d9cf8a9ff
merge in work on controller from webjs branch
2024-02-02 18:17:40 +08:00
Nick Fisher
17e4014b3e
merge in changes from web/js branch by hand (bone animation updates)
2024-02-02 17:16:25 +08:00
Nick Fisher
d2fc342bea
update pubspec.lock
2023-12-18 12:11:18 +08:00
Nick Fisher
3e368e1a31
expose getters for near/far culling distance and clean up example project for more readability on frustum
2023-12-17 15:17:17 +08:00
Nick Fisher
8c3d113ab4
Merge branch 'develop' of github.com:nmfisher/polyvox_filament into develop
2023-12-17 13:11:40 +08:00
Nick Fisher
b899ce544e
don't invalidate iterator before changing non-deleted asset indices
2023-12-17 13:11:16 +08:00
Nick Fisher
8dcad76acf
Windows MSVC fixes
2023-12-16 11:34:33 +11:00
Nick Fisher
de3cc00059
update example project
2023-12-15 23:39:56 +08:00
Nick Fisher
f5244975df
fix incorrect/premature destruction of entities
2023-12-15 23:38:38 +08:00
Nick Fisher
59d0e64d04
add timer to FFI render loop
2023-12-15 22:30:24 +08:00
Nick Fisher
b2d7cfc4df
add explicit bone animation to sample project
2023-12-15 22:30:06 +08:00
Nick Fisher
8fb7b9aa16
clean up macos warnings
2023-11-20 23:00:46 +08:00
Nick Fisher
0474e0305e
clean up unused variables
2023-11-20 23:00:14 +08:00
Nick Fisher
660395a40e
enable setting output directory for recording
2023-11-20 22:59:50 +08:00
Nick Fisher
5c1be3d047
add option to record to PNGs (inc background threadpool for encoding)
2023-11-20 15:28:55 +08:00
Nick Fisher
a96309bd77
remove sandbox from example macOS runner
2023-11-20 15:26:27 +08:00
Nick Fisher
df63d1f270
documentation
2023-11-20 15:26:08 +08:00
Nick Fisher
a24f56b31a
restructure render loop to correct timings and expose FFI methods for setBoneTransform/setMorphWeights
2023-11-20 11:35:50 +08:00
Nick Fisher
f0683b0b24
remove morph animation FFI-specific methods (regular methods are OK to use outside the engine thread)
2023-11-19 18:12:38 +08:00
Nick Fisher
ad9e4689b1
update example project
2023-11-18 13:35:10 +08:00
Nick Fisher
5638eca20c
allow setting animations for multiple targets
2023-11-18 13:34:50 +08:00
Nick Fisher
fff6eae2f8
allow setting animations for multiple targets
2023-11-18 13:34:25 +08:00
Nick Fisher
28bbc42e14
use correct bone transform for animation + setter
2023-11-18 13:33:54 +08:00
Nick Fisher
0c698d16e3
use boneName instead of boneIndex for setBoneTransform
2023-11-18 00:28:31 +08:00
Nick Fisher
572a945025
add support for multiple bone animations using quaternions
2023-11-17 23:44:30 +08:00
Nick Fisher
440aa11935
Update README.md
2023-11-17 22:32:16 +08:00
Nick Fisher
f5d5a36f22
add setBoneTransform method
2023-11-17 16:40:17 +08:00
Nick Fisher
daf319bf2c
FilamentWidget resizing fixes
2023-11-16 12:17:55 +08:00
Nick Fisher
e67d4d7e1f
fix incorrect pixelDeviceRatio
2023-11-16 12:09:50 +08:00
Nick Fisher
f2a458b9ca
add setCameraCulling method to set near/far culling plane and return vector_math:Frustum from planes returned by get_camera_frustum
2023-11-09 15:08:34 +08:00