Nick Fisher
dfda0eb476
update DefaultPickDelegate to use pick() on view
2025-04-16 14:00:47 +08:00
Nick Fisher
dcf13fd53f
cleanup imports
2025-03-28 11:48:00 +08:00
Nick Fisher
0cbbc058e0
refactoring
2025-03-22 10:49:24 +08:00
Nick Fisher
124f923720
refactor
2025-03-19 16:06:55 +08:00
Nick Fisher
102429e090
refactoring
2025-03-19 15:42:11 +08:00
Nick Fisher
627447f8b0
refactoring
2025-03-19 12:27:13 +08:00
Nick Fisher
d7d7fa7c0b
use scale directly for DelegateInputHandler
2025-03-01 11:56:34 +08:00
Nick Fisher
0b1da2a15d
feat!: use raw pointer scale (>1 meaning zoom in, <1 meaning zoom out) rather than binary -1/1 for DelegateInputHandler
2025-01-08 11:39:40 +08:00
Nick Fisher
4e64c4976f
refactor!: rename removeAsset to destroyAsset
...
use render thread methods for lights
2025-01-07 08:25:48 +08:00
Nick Fisher
31e453a4e6
refactor: dont require GizmoInputHandler to wrap an existing InputHandler (you can do this by creating your own InputHandler that wraps two children
2025-01-07 08:25:48 +08:00
Nick Fisher
9b988537e0
internal: allow InputHandler methods to return null
2025-01-07 08:25:48 +08:00
Nick Fisher
584ace23b4
refactor: gizmo/input handler improvements
2025-01-07 08:25:48 +08:00
Nick Fisher
9f9b34f662
feat: expose attached entity as Stream on GizmoInputHandler
2025-01-07 08:25:48 +08:00
Nick Fisher
7cf1468f38
feat: more rotation gizmo improvements
2025-01-07 08:25:48 +08:00
Nick Fisher
62cd85c148
feat: rotation gizmo improvements
2025-01-07 08:25:48 +08:00
Nick Fisher
def85614d8
feat: add rotation gizmo
2025-01-07 08:25:48 +08:00
Nick Fisher
aa7350c419
gizmo & picking improvements
2025-01-07 08:25:48 +08:00
Nick Fisher
ed444b0615
feature!:
...
This is a breaking change needed to fully implement instancing and stencil highlighting.
Previously, users would work directly with entities (on the Dart side, ThermionEntity), e.g.
final entity = await viewer.loadGlb("some.glb");
However, Filament "entities" are a lower-level abstraction.
Loading a glTF file, for example, inserts multiple entities into the scene.
For example, each mesh, light, and camera within a glTF asset will be assigned an entity. A top-level (non-renderable) entity will also be created for the glTF asset, which can be used to transform the entire hierarchy.
"Asset" is a better representation for loading/inserting objects into the scene; think of this as a bundle of entities.
Unless you need to work directly with transforms, instancing, materials and renderables, you can work directly with ThermionAsset.
2024-11-27 15:02:37 +11:00
Nick Fisher
9692c07da9
chore: free flight handler cleanup
2024-11-21 10:03:48 +08:00
Nick Fisher
2860db3fbd
feat: use InputAction.ZOOM for scroll wheel in free flight handler
2024-11-21 08:44:36 +08:00
Nick Fisher
1ce5bd3bcf
feat: free flight camera improvements
2024-11-19 16:30:35 +08:00
Nick Fisher
8c2b8a6cba
feat: expose zoomSensitivity argument for flight input handler
2024-11-02 10:23:35 +08:00
Nick Fisher
2b4a73f355
feat: add SCALE2_MOVE InputType
2024-10-25 10:37:57 +08:00
Nick Fisher
6f648702e9
feat: add SCALE2_ROTATE to InputHandler
2024-10-24 12:52:14 +08:00
Nick Fisher
5e17e0c6d1
feat!: expose velocity, rotation and timestamp for scale events in listener. accept rotationSensitivity/zoomSensitivity for FixedOrbitRotateInputHandlerDelegate
2024-10-24 10:07:32 +08:00
Nick Fisher
74b7c938a8
feat: set SCALE2:InputAction.ZOOM by default
2024-10-23 14:36:47 +08:00
Nick Fisher
4371dbda3c
feat: track zoom delta for DelegateInputHandler
2024-10-23 14:10:41 +08:00
Nick Fisher
c6640cef96
feat: set InputType.SCALE1 to ROTATE by default for DelegateInputHandler.fixedOrbit
2024-10-23 14:03:47 +08:00
Nick Fisher
9689690730
feat: simplify FixedOrbitCameraRotationDelegate
2024-10-22 22:23:35 +08:00
Nick Fisher
a08620d7c9
rename gestureHandler to inputHandler
2024-10-22 22:23:13 +08:00
Nick Fisher
f180c1018f
mobile gesture handler
2024-10-11 15:37:03 +08:00
Nick Fisher
5441dedcf4
add fall-through for InputAction.ZOOM for Third Person camera delegate
2024-10-10 20:47:00 +08:00
Nick Fisher
254b6d8af2
move zoom delta to InputAction.ZOOM for FreeFlight rotation delegate
2024-10-10 20:46:34 +08:00
Nick Fisher
1459aea5cf
move zoom delta to InputAction.ZOOM for FixedOrbit rotation delegate
2024-10-10 20:46:16 +08:00
Nick Fisher
80d8525671
pass through sensitivity options in DelegateGestureHandler and implement cameraUpdated
2024-10-10 20:45:33 +08:00
Nick Fisher
ee983ddfaa
add InputAction.ZOOM
2024-10-10 20:43:58 +08:00
Nick Fisher
c1cdd37e9d
add DefaultPickDelegate
2024-10-10 20:43:31 +08:00
Nick Fisher
a9d90f966b
chore: make pub.dev happy
2024-10-02 17:59:34 +08:00
Nick Fisher
562ecf2ee5
feat: camera and resizing improvements
2024-10-02 16:47:55 +08:00
Nick Fisher
c80c163212
feat: working implementation of multiple widgets on macos
2024-09-30 13:45:57 +08:00
Nick Fisher
921a994eb6
refactor: continual refactor to support multiple render targets
2024-09-28 18:28:05 +08:00
Nick Fisher
a6d2f2ecf9
feat!: big refactor to support multiple swapchains
2024-09-27 18:39:20 +08:00
Nick Fisher
fb6204e47c
chore: cleanup
2024-09-27 15:19:53 +08:00
Nick Fisher
4e7ec6bfb4
feat: add ThirdPersonCameraDelegate
2024-09-27 15:06:51 +08:00
Nick Fisher
0876a91e17
add ThirdPersonCameraDelegate
2024-09-27 15:05:41 +08:00
Nick Fisher
1a721deee6
more camera work
2024-09-26 18:41:34 +08:00
Nick Fisher
239891c400
chore: rearrange library/export structure
2024-09-26 16:35:33 +08:00