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

[Feature Request] Add a bar/visualization of z-order/sorting #357

Open
2 tasks done
EnjoyerofOpenSourceContent opened this issue May 18, 2024 · 1 comment
Open
2 tasks done
Labels
Enhancement New feature or request Triage PR/Issue needs to be triaged.

Comments

@EnjoyerofOpenSourceContent
Copy link

EnjoyerofOpenSourceContent commented May 18, 2024

Validations

  • I have checked for similar feature requests and could not find any.
  • I have made sure this is not an already-existing feature.

Description

I and I'm sure other riggers, would appreciate a way to visualize how the numerical value in "Sorting" equals to the z-order and how the parts are arranged.

Suggested solution

Include some UI showing a bar marked with some values and the associated z-order like how Live2d does it. Or some other UI that can otherwise visualize the sorting values and the z-order.

Alternative solution

Alternatively, you could show a popup when hovering over the Sorting area telling the user that negative values = parts further up front.

I'm sure there are other ways to implement this, but these are the main ideas that come to mind right now.

Additional Context

Live2d UI Example

I would also like a feature to set the sorting order with multiple parts selected all at once, but that may be outside the scope of this feature request.

@r888800009
Copy link
Contributor

There are two things to consider about this feature

  1. The inochi2d node will inherit the zsort of the parent node. For the this feature, which node zsort should we control and how to control it?
  2. imgui has a vertical slider, but it cannot display scales, that means we need to implement another widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Triage PR/Issue needs to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants