Commit Graph

  • 4b740a9f5a native types, add create/destroy material instance, add SceneManager::LAYERS enum Nick Fisher 2024-09-19 09:11:20 +08:00
  • 0b34b4546e refactor: native types Nick Fisher 2024-09-19 09:10:24 +08:00
  • c17919cd97 refactor: native types Nick Fisher 2024-09-19 09:09:42 +08:00
  • 462f1f02bf refactor: move native types to own header, add methods for create/destroy material instance, add priority/layer to load_glb_from_buffer Nick Fisher 2024-09-19 09:09:16 +08:00
  • ddc433a126 refactor: Dart types Nick Fisher 2024-09-19 09:07:35 +08:00
  • ab649e860d update gitattr Nick Fisher 2024-09-16 20:51:27 +08:00
  • 676ddc3773 add texture methods (including unproject) Nick Fisher 2024-09-16 20:51:14 +08:00
  • 7d2cf3f91b don't store gizmo material in LFS Nick Fisher 2024-09-16 11:25:21 +08:00
  • 492d41d756 test update Nick Fisher 2024-09-16 11:24:24 +08:00
  • 191c2fd709 restructure viewer/types/helper folders, remove old WASM/web FFI interop, add SceneUpdated stream Nick Fisher 2024-09-16 11:08:27 +08:00
  • 027fc9ae04 update tests Nick Fisher 2024-09-16 11:08:19 +08:00
  • b73d0e1e96 restructure viewer/types/helper folders, remove old WASM/web FFI interop, add SceneUpdated stream Nick Fisher 2024-09-16 11:07:54 +08:00
  • 315f2b63b9 gesture handler & delegate improvements Nick Fisher 2024-09-13 18:32:02 +08:00
  • ad205679cb allow setting material property by name Nick Fisher 2024-09-13 15:27:46 +08:00
  • 6ef8d19e94 (flutter) export delegate gesture handler Nick Fisher 2024-09-13 15:27:20 +08:00
  • 6b0f25ca59 remove using namespace filament* Nick Fisher 2024-09-13 15:27:01 +08:00
  • 820d341f67 update bindings Nick Fisher 2024-09-13 15:26:44 +08:00
  • 70f904d54c allow setting material property by name Nick Fisher 2024-09-13 15:20:45 +08:00
  • aee607908d remove using namespace filament* Nick Fisher 2024-09-13 15:18:01 +08:00
  • c99c57e24d geometry receives/casts shadows by default Nick Fisher 2024-09-13 14:52:20 +08:00
  • 00d75be479 gesture handler improvements Nick Fisher 2024-09-13 14:25:10 +08:00
  • 3a9bd31919 remove superseded desktop/mobile gesture detector widget Nick Fisher 2024-09-13 13:47:26 +08:00
  • 51be1bce39 add pan camera implementation and fix velocity timer Nick Fisher 2024-09-13 13:46:41 +08:00
  • 822b8e14c1 add delegate-based implementations for gesture handlers Nick Fisher 2024-09-13 13:30:00 +08:00
  • 2ab30a7933 remove double sided from HighlightOverlay material Nick Fisher 2024-09-13 11:09:09 +08:00
  • 1be8a5e862 adjust gizmo size Nick Fisher 2024-09-13 11:08:49 +08:00
  • 98d61fa1b3 fix setCameraModelMatrix4 Nick Fisher 2024-09-13 10:36:24 +08:00
  • 5b3d16a316 update bindings Nick Fisher 2024-09-13 10:36:07 +08:00
  • b6863828b4 initialize viewportDimensions to (0,0) in ThermionViewer Nick Fisher 2024-09-13 10:35:57 +08:00
  • 98fefd0e52 fix winding order in GeometryHelper Nick Fisher 2024-09-13 10:35:33 +08:00
  • d476d78e2b reduce size of gizmo Nick Fisher 2024-09-13 10:35:13 +08:00
  • 98113fb79f remove logging Nick Fisher 2024-09-13 10:34:59 +08:00
  • 90827ff012 culling fixes for HighlightOverlay Nick Fisher 2024-09-13 10:34:47 +08:00
  • 44078ba2e0 add v2 gesture handlers Nick Fisher 2024-09-13 10:34:23 +08:00
  • 866219ee2e add v2 gesture handlers Nick Fisher 2024-09-13 10:34:12 +08:00
  • d785bd6b7e chore!: rename controller to viewer in gesture detector widgets Nick Fisher 2024-09-12 08:54:07 +08:00
  • 3e4e6653a8 update material building in Makefile Nick Fisher 2024-09-11 23:09:56 +08:00
  • 8d250e2664 update test Nick Fisher 2024-09-11 23:09:41 +08:00
  • d455cea29e use opaque CameraPtr to set camera matrices/properties/etc Nick Fisher 2024-09-11 23:09:27 +08:00
  • 374e8eb910 rename getBoundingBox to getViewportBoundingBox and add camera methods Nick Fisher 2024-09-11 23:08:07 +08:00
  • 833fc74b4c rename getBoundingBox to getViewportBoundingBox Nick Fisher 2024-09-11 23:07:47 +08:00
  • 62417bfebd explicitly mark type of Camera for Gizmo Nick Fisher 2024-09-11 23:07:29 +08:00
  • abc9ecbeee use opaque CameraPtr to set camera matrices/properties/etc Nick Fisher 2024-09-11 23:07:03 +08:00
  • a1f71ab459 remove camera methods from FilamentViewer Nick Fisher 2024-09-11 23:06:32 +08:00
  • d123929fb4 remove camera methods from FilamentViewer Nick Fisher 2024-09-11 23:06:06 +08:00
  • 141827c59c use opaque CameraPtr to set camera matrices/properties/etc Nick Fisher 2024-09-11 23:05:40 +08:00
  • 9fbcc9edaf mark all ffigen functions as leaf Nick Fisher 2024-09-11 23:04:57 +08:00
  • 83d9c5be30 remove update_viewport_and_camera_projection_ffi Nick Fisher 2024-09-11 23:04:36 +08:00
  • 6aadbbc3d0 remove update_viewport_and_camera_projection_ffi Nick Fisher 2024-09-11 23:04:27 +08:00
  • d5bc865cf4 add matrix helper Nick Fisher 2024-09-11 23:04:02 +08:00
  • d766733489 update stubbed ThermionViewer methods Nick Fisher 2024-09-11 23:03:53 +08:00
  • f51c640d17 remove unused get_camera_position method Nick Fisher 2024-09-11 20:01:21 +08:00
  • 66f10b598a update stub ThermionViewer Nick Fisher 2024-09-11 19:59:43 +08:00
  • 59957650aa update bindings Nick Fisher 2024-09-11 19:59:33 +08:00
  • d43fbd8964 add loadGlbFromBuffer implementation to ThermionViewerFFI Nick Fisher 2024-09-11 19:59:25 +08:00
  • f5de4349bf add createGeometryWithNormals to SceneManager Nick Fisher 2024-09-11 18:09:42 +08:00
  • f67e1a021d add createGeometryWithNormals to SceneManager Nick Fisher 2024-09-11 18:09:14 +08:00
  • 33f2c5fbf7 add normals to CustomGeometry implementation Nick Fisher 2024-09-11 18:08:48 +08:00
  • 6a7bde930d add normals to CustomGeometry interface Nick Fisher 2024-09-11 18:08:35 +08:00
  • b827a2142b HighlightOverlay fixes Nick Fisher 2024-09-11 18:08:13 +08:00
  • 8bd2416bad don't set stencil highlight in Gizmo Nick Fisher 2024-09-11 18:07:38 +08:00
  • 3684eb248c add create_geometry_with_normals method Nick Fisher 2024-09-11 18:07:17 +08:00
  • 9077632d1b add create_geometry_with_normals method Nick Fisher 2024-09-11 18:07:07 +08:00
  • 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 Nick Fisher 2024-09-11 18:06:50 +08:00
  • 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 Nick Fisher 2024-09-11 18:06:31 +08:00
  • 89a660144e update test helpers Nick Fisher 2024-09-11 18:05:36 +08:00
  • 7554af5d41 (flutter) add experimental GestureHandler widget and decouple from ThermionGestureDetectorDesktop Nick Fisher 2024-09-11 18:05:24 +08:00
  • 4b742fea2d (flutter) add experimental GestureHandler widget and decouple from ThermionGestureDetectorDesktop Nick Fisher 2024-09-11 18:05:18 +08:00
  • a6c6cff8b6 add loadGlbFromBuffer method and normals param to ThermionViewer Nick Fisher 2024-09-11 18:04:36 +08:00
  • 5813753ef9 (flutter) set enablePicking to false by default in ThermionGestureDetector Nick Fisher 2024-09-11 18:03:52 +08:00
  • cf0dad2631 (flutter) add const FlutterWebOptions Nick Fisher 2024-09-11 18:03:29 +08:00
  • cfddb99a8b (flutter) add CameraOrientationWidget Nick Fisher 2024-09-11 18:01:45 +08:00
  • 845d5bf223 (flutter) add const constructor for flutter options Nick Fisher 2024-09-11 18:01:33 +08:00
  • dbbd972909 add GeometryHelper Nick Fisher 2024-09-11 17:54:21 +08:00
  • aba3ba24af (flutter) add CameraOrientationWidget Nick Fisher 2024-09-11 17:54:08 +08:00
  • 81c27dde9f feat: parent the cloned entity instance when setting stencil highlight Nick Fisher 2024-09-08 13:55:25 +08:00
  • 476b552fd0 feat: add getAncestor method Nick Fisher 2024-09-08 13:52:33 +08:00
  • 5c4d5d4b9d feat: add getAncestor method Nick Fisher 2024-09-08 13:52:04 +08:00
  • ae5ef2c286 update bindings Nick Fisher 2024-09-07 18:01:39 +08:00
  • b0f3c8a087 feat: set stencil highlight on gizmo attach Nick Fisher 2024-09-07 18:01:30 +08:00
  • 43fc7ffc65 update tests Nick Fisher 2024-09-07 18:01:03 +08:00
  • ee24fca20e feat: move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector and removeStencilHighlight Nick Fisher 2024-09-07 18:00:50 +08:00
  • a00fdbe042 chore: remove createGeometry method from FilamentViewer, set default view blend mode Nick Fisher 2024-09-07 17:59:55 +08:00
  • c2eb28a8f5 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
  • 4c6c20f3de feat: move HighlightOverlay to nested class, move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector Nick Fisher 2024-09-07 17:57:38 +08:00
  • b2ae8135c6 feat: add removeStencilHighlight, accept color param for setStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionDartApi Nick Fisher 2024-09-07 17:55:40 +08:00
  • aecde97200 feat: add removeStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionViewer Nick Fisher 2024-09-07 17:54:42 +08:00
  • 331caccc22 chore: delete old unlit_opaque material Nick Fisher 2024-09-07 17:54:12 +08:00
  • 63e2b74bb1 chore: rebuild unlit material Nick Fisher 2024-09-07 17:53:55 +08:00
  • 433f03161c feat: add scale parameter to unlit material Nick Fisher 2024-09-07 17:53:41 +08:00
  • 6ec84b6249 fix: add Fence to capture() and set stencil buffer by default Nick Fisher 2024-09-06 13:03:51 +08:00
  • 29b6a48816 test: add test cube.glb Nick Fisher 2024-09-06 12:44:54 +08:00
  • 00755fd417 chore: remove old materials Makefile Nick Fisher 2024-09-06 12:44:40 +08:00
  • 9c5156e41a feat: add flag for keepData for gltf instancing, add highlightScene, add stencilHighlight method Nick Fisher 2024-09-06 12:36:16 +08:00
  • 226c45ee2e chore: minor widget fixes Nick Fisher 2024-09-05 22:22:25 +08:00
  • e04390b2fe feat: add grid material Nick Fisher 2024-09-05 22:21:19 +08:00
  • 9a87eb4d9b feat: allow passing null options to ThermionWidget Nick Fisher 2024-09-05 22:21:09 +08:00
  • 2284d9d081 feat: grid uses own material Nick Fisher 2024-09-05 22:20:27 +08:00
  • cf61369a8d chore: clean up old commented code Nick Fisher 2024-09-05 22:20:11 +08:00
  • 4e14bd2396 fix: ignore pick results directly on axis Nick Fisher 2024-09-05 22:19:54 +08:00