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
7814269e15
Create dart.yml
2024-10-23 14:35:44 +11:00
Nick Fisher
3e1d785f58
Merge pull request #65 from nmfisher/develop
...
Documentation
2024-07-23 09:41:23 +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
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
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
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
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
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