Updating the purpose menu in usdview

I have a need to inviz the default purpose in usdview (and some other apps), in order to more clearly see my guide geometry, as it often overlaps with default geometry.

So far I just hacked in an extra toggle to inviz default purpose and this gets me what I’m after.

However, the UX for flipping between 2 purposes is slightly clunky:

  • Toggle the one you want to see on, then toggle the rest off

It might be nicer to have a “solo” mechanism (like you’d find in compositing apps for soloing channels). I haven’t thought through the UI design for that… just thought it would be nicer to have less menu navigation & fewer clicks.

Is the extra toggle to show/hide default purpose useful enough to PR? Should we go further & redesign the menu? Or am I the only one who finds this useful?

I think the equivalent to “solo” in Presto is a context menu action called “Vis only” where if you select something in the Browser (not the viewport), and right-click on it, you can make only that selected prim and its descendants visible with one click, and all the required visibility overrides are written to the session layer.

I think Presto also has the concept of “visibility sets” that serve as bookmarked visibility opinions (but those are managed outside of the scene description itself)