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 |
|