Nick Fisher
|
866219ee2e
|
add v2 gesture handlers
|
2024-09-13 10:34:12 +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
|
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
|
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
|
8bd2416bad
|
don't set stencil highlight in Gizmo
|
2024-09-11 18:07:38 +08:00 |
|
Nick Fisher
|
a6c6cff8b6
|
add loadGlbFromBuffer method and normals param to ThermionViewer
|
2024-09-11 18:04:36 +08:00 |
|
Nick Fisher
|
dbbd972909
|
add GeometryHelper
|
2024-09-11 17:54:21 +08:00 |
|
Nick Fisher
|
476b552fd0
|
feat: add getAncestor method
|
2024-09-08 13:52:33 +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
|
aecde97200
|
feat: add removeStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionViewer
|
2024-09-07 17:54:42 +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
|
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
|
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
|
7ac7ae43ab
|
fix: (wasm) use correct coords for pick, free memory correctly, keep pixelratio copy
|
2024-08-27 21:50:07 +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
|
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
|
3c05cc6a43
|
add implementations to FFI viewer
|
2024-08-24 16:24:59 +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
|
ad60c6bbe1
|
chore: update bindings
|
2024-08-24 16:19:07 +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
|
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
|
1d8faa70a1
|
feat: (web) add capture() method and missing camera navigation controls
|
2024-08-21 14:29:40 +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
|
41bf9ededa
|
feat: add clearMorphAnimationData function
|
2024-07-23 09:38:26 +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
|
168f46cf56
|
add shadow methods to wasm/js viewers
|
2024-07-04 14:19:04 +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
|
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
|
9eb2285433
|
refactor: rearrange some stubs/imports for easier web WASM deployment
|
2024-06-21 15:20:08 +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
|
84101b457f
|
add onDispose() implementations for web viewers
|
2024-06-19 13:31:09 +08:00 |
|