david-cattermole / mayaMatchMoveSolver

A Bundle Adjustment solver for MatchMove related tasks.
https://david-cattermole.github.io/mayaMatchMoveSolver/
Other
102 stars 27 forks source link

Maya Tool - Enhance Transform Querying Utility #125

Closed david-cattermole closed 4 years ago

david-cattermole commented 5 years ago

Feature

Following on from #113, the mmSolver.utils.transform module is working, but a few extra features can be added to it, and Maya tools that bake transforms.

Software Versions

This feature will affect mmSolver v0.3+.

david-cattermole commented 4 years ago

This feature needs work. A user has reported the tool incorrectly working on character rig controllers.

If we implement a slower maya.cmds approach perhaps we can avoid bugs and use it for testing too, to ensure the faster method matches the "slower/dumber" method perfectly.

david-cattermole commented 4 years ago

The transform module utility, and the associated tools (create controller, reparent, etc), have been improved for accuracy, however performance has dropped a little. In a future version, I'll address the performance, as long as I can still maintain the accuracy/correctness.

The Create/Remove Controller and Reparenting tools now disable the viewport to speed up calculations.

Unit tests have been updated and tested against the new changes. So far, all testing has shown this tool/module works correctly, however users may find the sparse-keyframe nature of the tools to be a confusing if they are used to tools that always bake transforms on all frames.

This has been merged with the develop branch, and will be released in v0.3.2.