Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Selection & Selection syncing between widgets #25

Open
BigRoy opened this issue Nov 29, 2023 · 1 comment
Open

Add Selection & Selection syncing between widgets #25

BigRoy opened this issue Nov 29, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@BigRoy
Copy link
Owner

BigRoy commented Nov 29, 2023

Issue

  1. The USD Viewer does not show any selection highlighting when clicking in it
  2. There's no way to sync the Prim selections between different widgets

Proposal

Viewer selections

The USD View API already has a data model that can emit signals for prim selections and opinion selections - we might be best off hooking into those since they are readily available and we can piggyback off of work done by USD core team already.

For example have a look at what USD View's app controller does here for viewport selections.

Sync selections

Expose a Selection Model that we can provide as the "active" selection model for that widget - potentially allowing for also "pinning" a widget to a particular selection stream. So that one could say "sync these two models as A" and "sync these other two as B" so that you can view selections independently.

These 'streams' could then be global selection streams each widget can listen in to.

@BigRoy BigRoy added the enhancement New feature or request label Nov 29, 2023
@BigRoy
Copy link
Owner Author

BigRoy commented Nov 29, 2023

Adding selections to the view would also allow to resolve:

  • being able to focus the FreeCamera from UsdViewq on a selected object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant