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

Maya Tools - Show Gimbal Flipping Tool #234

Open
david-cattermole opened this issue Jan 3, 2022 · 0 comments
Open

Maya Tools - Show Gimbal Flipping Tool #234

david-cattermole opened this issue Jan 3, 2022 · 0 comments
Labels

Comments

@david-cattermole
Copy link
Owner

Feature

Following on from #201, I think it would be helpful/cool to have a tool that can list the amount of gimbal flipping, the current rotation order and the recommended Rotation order for the selected transform nodes.

This tool only queries the scene it does not change nodes in any way - it's a diagnostic tool only.

Such a tool could be used to flag possible problems to users regarding gimbal flipping issues.

Usage Steps

  1. Select transform node(s)
  2. Run the tool.
  3. A Script Editor print out and dialog pop-up box displays the following information:
    • The current gimbal flipping percentage.
    • The current rotation order (eg. XYZ, ZXY, etc).
    • The best rotation order that will minimise the gimbal flipping - for all frames in the current timeline.
    • The expected maximum and average gimbal flipping percentage if the new rotation order is used.

For example a print out (to the Script Editor) or pop-up window might looks something like this:

= name | current rotation order (flipped %)  | best rotate order (flipped %)
- nodeA | XYZ (27%) | ZXY (12%)
- nodeB | ZXY (84%) | YZX (5%)

The first line is a header explaining the the output, each line then starts with "- " and contains all the details.

Something that might be tricky about this tool is that the original "ml Convert Rotation Order" tool only checks the current frame, however I think the tool would ideally check the 'gimballed' percentage for each keyframe on each object.

Software Versions

  • mmSolver version: v0.3.x
  • Maya version: All supported.
  • Operating System (OS): All supported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant