6e7741706e
add pan camera implementation and fix velocity timer
Nick Fisher
2024-09-13 13:46:41 +08:00
af0ee0584d
add delegate-based implementations for gesture handlers
Nick Fisher
2024-09-13 13:30:00 +08:00
cabed69c48
remove double sided from HighlightOverlay material
Nick Fisher
2024-09-13 11:09:09 +08:00
2832686193
adjust gizmo size
Nick Fisher
2024-09-13 11:08:49 +08:00
d7149c8282
fix setCameraModelMatrix4
Nick Fisher
2024-09-13 10:36:24 +08:00
571c7e60aa
update bindings
Nick Fisher
2024-09-13 10:36:07 +08:00
a434829a6c
initialize viewportDimensions to (0,0) in ThermionViewer
Nick Fisher
2024-09-13 10:35:57 +08:00
60b8716315
fix winding order in GeometryHelper
Nick Fisher
2024-09-13 10:35:33 +08:00
7aba6d15b7
reduce size of gizmo
Nick Fisher
2024-09-13 10:35:13 +08:00
48ada59a2f
remove logging
Nick Fisher
2024-09-13 10:34:59 +08:00
c5aa1abb30
culling fixes for HighlightOverlay
Nick Fisher
2024-09-13 10:34:47 +08:00
daeedd6f73
add v2 gesture handlers
Nick Fisher
2024-09-13 10:34:23 +08:00
cac80159ff
add v2 gesture handlers
Nick Fisher
2024-09-13 10:34:12 +08:00
a5cb23c32e
chore!: rename controller to viewer in gesture detector widgets
Nick Fisher
2024-09-12 08:54:07 +08:00
0f5b7e5e6d
update material building in Makefile
Nick Fisher
2024-09-11 23:09:56 +08:00
12aaebd154
update test
Nick Fisher
2024-09-11 23:09:41 +08:00
8899d4b960
use opaque CameraPtr to set camera matrices/properties/etc
Nick Fisher
2024-09-11 23:09:27 +08:00
1ba91a1fd6
rename getBoundingBox to getViewportBoundingBox and add camera methods
Nick Fisher
2024-09-11 23:08:07 +08:00
c34d89affd
rename getBoundingBox to getViewportBoundingBox
Nick Fisher
2024-09-11 23:07:47 +08:00
e07a4fac97
explicitly mark type of Camera for Gizmo
Nick Fisher
2024-09-11 23:07:29 +08:00
76428b2e70
use opaque CameraPtr to set camera matrices/properties/etc
Nick Fisher
2024-09-11 23:07:03 +08:00
78a0763ad7
remove camera methods from FilamentViewer
Nick Fisher
2024-09-11 23:06:32 +08:00
32591f5af7
remove camera methods from FilamentViewer
Nick Fisher
2024-09-11 23:06:06 +08:00
c1898b97c9
use opaque CameraPtr to set camera matrices/properties/etc
Nick Fisher
2024-09-11 23:05:40 +08:00
5c82b6351c
mark all ffigen functions as leaf
Nick Fisher
2024-09-11 23:04:57 +08:00
14f62a6427
remove update_viewport_and_camera_projection_ffi
Nick Fisher
2024-09-11 23:04:36 +08:00
2a30a6f2e1
remove update_viewport_and_camera_projection_ffi
Nick Fisher
2024-09-11 23:04:27 +08:00
7b96ee0d9c
add matrix helper
Nick Fisher
2024-09-11 23:04:02 +08:00
5994908197
update stubbed ThermionViewer methods
Nick Fisher
2024-09-11 23:03:53 +08:00
d6c3badbba
remove unused get_camera_position method
Nick Fisher
2024-09-11 20:01:21 +08:00
9aa9e84bc0
update stub ThermionViewer
Nick Fisher
2024-09-11 19:59:43 +08:00
f3637eab3f
update bindings
Nick Fisher
2024-09-11 19:59:33 +08:00
9f9ee09f9c
add loadGlbFromBuffer implementation to ThermionViewerFFI
Nick Fisher
2024-09-11 19:59:25 +08:00
08b986c5e3
add createGeometryWithNormals to SceneManager
Nick Fisher
2024-09-11 18:09:42 +08:00
c8f6c2582b
add createGeometryWithNormals to SceneManager
Nick Fisher
2024-09-11 18:09:14 +08:00
ae1c8dbdfc
add normals to CustomGeometry implementation
Nick Fisher
2024-09-11 18:08:48 +08:00
3b5c91b15c
add normals to CustomGeometry interface
Nick Fisher
2024-09-11 18:08:35 +08:00
7a6e9cd598
HighlightOverlay fixes
Nick Fisher
2024-09-11 18:08:13 +08:00
6a8f0bda09
don't set stencil highlight in Gizmo
Nick Fisher
2024-09-11 18:07:38 +08:00
05305aa27d
add create_geometry_with_normals method
Nick Fisher
2024-09-11 18:07:17 +08:00
ae59288b1f
add create_geometry_with_normals method
Nick Fisher
2024-09-11 18:07:07 +08:00
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
Nick Fisher
2024-09-11 18:06:50 +08:00
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
Nick Fisher
2024-09-11 18:06:31 +08:00
9686650987
update test helpers
Nick Fisher
2024-09-11 18:05:36 +08:00
eefa3cbe98
(flutter) add experimental GestureHandler widget and decouple from ThermionGestureDetectorDesktop
Nick Fisher
2024-09-11 18:05:24 +08:00
0a4b5c8676
(flutter) add experimental GestureHandler widget and decouple from ThermionGestureDetectorDesktop
Nick Fisher
2024-09-11 18:05:18 +08:00
dff3cc21fa
add loadGlbFromBuffer method and normals param to ThermionViewer
Nick Fisher
2024-09-11 18:04:36 +08:00
d7bb0e492c
(flutter) set enablePicking to false by default in ThermionGestureDetector
Nick Fisher
2024-09-11 18:03:52 +08:00
af92c26124
(flutter) add const FlutterWebOptions
Nick Fisher
2024-09-11 18:03:29 +08:00
d1ffa246a9
(flutter) add CameraOrientationWidget
Nick Fisher
2024-09-11 18:01:45 +08:00
4e7b79f98d
(flutter) add const constructor for flutter options
Nick Fisher
2024-09-11 18:01:33 +08:00
9cff791ce5
add GeometryHelper
Nick Fisher
2024-09-11 17:54:21 +08:00
fdb2d75cf0
(flutter) add CameraOrientationWidget
Nick Fisher
2024-09-11 17:54:08 +08:00
825c6e1a80
feat: parent the cloned entity instance when setting stencil highlight
Nick Fisher
2024-09-08 13:55:25 +08:00
ec9366d72b
feat: add getAncestor method
Nick Fisher
2024-09-08 13:52:33 +08:00
ff304ad3d4
feat: add getAncestor method
Nick Fisher
2024-09-08 13:52:04 +08:00
b71ba411fd
update bindings
Nick Fisher
2024-09-07 18:01:39 +08:00
dfe7b4e6c6
feat: set stencil highlight on gizmo attach
Nick Fisher
2024-09-07 18:01:30 +08:00
96e2de6de1
update tests
Nick Fisher
2024-09-07 18:01:03 +08:00
d4d4dc4fd7
feat: move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector and removeStencilHighlight
Nick Fisher
2024-09-07 18:00:50 +08:00
2ccbb4c0c4
chore: remove createGeometry method from FilamentViewer, set default view blend mode
Nick Fisher
2024-09-07 17:59:55 +08:00
709b098054
fix: properly destroy entities/material/etc in Gizmo on destruction, remove custom scene creation logic
Nick Fisher
2024-09-07 17:59:03 +08:00
53ff6c72f0
feat: move HighlightOverlay to nested class, move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector
Nick Fisher
2024-09-07 17:57:38 +08:00
8044adcc50
feat: add removeStencilHighlight, accept color param for setStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionDartApi
Nick Fisher
2024-09-07 17:55:40 +08:00
9b91da3798
feat: add removeStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionViewer
Nick Fisher
2024-09-07 17:54:42 +08:00
286910e722
chore: delete old unlit_opaque material
Nick Fisher
2024-09-07 17:54:12 +08:00
8fe4322536
chore: rebuild unlit material
Nick Fisher
2024-09-07 17:53:55 +08:00
a7005d13df
feat: add scale parameter to unlit material
Nick Fisher
2024-09-07 17:53:41 +08:00
8ca4205d2c
fix: add Fence to capture() and set stencil buffer by default
Nick Fisher
2024-09-06 13:03:51 +08:00
af30b27724
test: add test cube.glb
Nick Fisher
2024-09-06 12:44:54 +08:00
2d688e74f2
chore: remove old materials Makefile
Nick Fisher
2024-09-06 12:44:40 +08:00
0a4e3501dc
feat: add flag for keepData for gltf instancing, add highlightScene, add stencilHighlight method
Nick Fisher
2024-09-06 12:36:16 +08:00
1b50ca2b57
chore: minor widget fixes
Nick Fisher
2024-09-05 22:22:25 +08:00
b454bbd662
feat: add grid material
Nick Fisher
2024-09-05 22:21:19 +08:00
1480920938
feat: allow passing null options to ThermionWidget
Nick Fisher
2024-09-05 22:21:09 +08:00
65a6231f23
feat: grid uses own material
Nick Fisher
2024-09-05 22:20:27 +08:00
4b70116754
chore: clean up old commented code
Nick Fisher
2024-09-05 22:20:11 +08:00
e136b0a9f1
fix: ignore pick results directly on axis
Nick Fisher
2024-09-05 22:19:54 +08:00
e45cc0267f
feat: add grid material
Nick Fisher
2024-09-05 22:19:27 +08:00
d17cce2ca4
feat: expose setLightDirection and setLightPosition
Nick Fisher
2024-09-05 22:18:54 +08:00
c93cc296a0
chore: update binding
Nick Fisher
2024-09-05 17:53:24 +08:00
c3388f2a48
feat: (flutter) (web) if importCanvasAsWidget is false, render transparency
Nick Fisher
2024-09-05 17:52:19 +08:00
4909f4395d
chore: stub ThermionWidget methods
Nick Fisher
2024-09-05 17:51:36 +08:00
2a8122e280
feat: (flutter) move DPR calculation to resizeTexture and add createViewerWithOptions method to ThermionFlutterFFI
Nick Fisher
2024-09-05 17:51:22 +08:00
937eaaaaa1
fix: (flutter) pass ThermionFlutterOptions to ThermionWidget, use dpr for resizeTexture, delete unnecessary TransparencyPainter class
Nick Fisher
2024-09-05 17:49:02 +08:00
f0974509bf
feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated
Nick Fisher
2024-09-05 17:47:54 +08:00
0d71b0d8fe
feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated
Nick Fisher
2024-09-05 17:47:41 +08:00
cf0a76c343
feat: (flutter) (web) use options to determine whether to create canvas, and set fixed position + offset
Nick Fisher
2024-09-05 17:45:49 +08:00