Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, here is a new selection mode I needed for my own work that I think would be useful to others, the current iteration works but the UX is not perfect yet, for my needs it was good enough. The idea is to fly through the scene and just select everything the camera hits, so the user just has to fly though artifacts he wants to be removed. Worked quite well for my indoor use case to cleanup some noise
Copilot summary of the code changes:
This pull request introduces a new "Fly Selection" tool to the application, enabling users to select elements based on proximity to the camera during a "fly-through" interaction. The changes include the implementation of the tool, integration into the UI, and support for multiple languages in tooltips.
Fly Selection Tool Implementation:
FlySelectionTool
class insrc/tools/fly-selection-tool.ts
, which selects elements near the camera during a fly-through. The tool uses a broad-phase and narrow-phase approach for optimized selection and fires events for selected elements.Integration with Application:
FlySelectionTool
in theToolManager
withinsrc/main.ts
and added a keyboard shortcut (K
/k
) for activation. [1] [2] [3]src/ui/bottom-toolbar.ts
to include a button for the Fly Selection tool, complete with an SVG icon and event listeners for activation. [1] [2] [3] [4] [5] [6] [7]Localization Updates:
src/ui/localization.ts
. [1] [2] [3] [4] [5] [6]