david-cattermole / mayaMatchMoveSolver

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

Maya Tool - Reparent Tool v2 #200

Closed david-cattermole closed 2 years ago

david-cattermole commented 3 years ago

Feature

The Reparent Under Node and Unparent to World tools are helpful for changing the parent node, however the tool is lacking a number of helpful features.

Implementation Details

In the previous implementation mmSolver.tools.reparent.tool, the tool used the mmSolver.utils.transform module for all transformation calculations. This module is very fast, but sometimes it seems to cause crashes or simply evaluates incorrectly in Maya.

Therefore, the new version should use tried-and-true methods of re-parenting, such as this video, which uses a reparent.py Python script - developed by me - to perform reparenting.

Steps to Reproduce

  1. Select nodes to change parent, then select the new parent node.
    • The first nodes will become the children of the last selected node.
    • The last node is the new parent.
  2. Open "option box" UI (optional)
    • Change UI settings.
  3. Run tool.
    • The children nodes are re-parented and baked under the target parent transform node.

Software Versions

david-cattermole commented 3 years ago

@bpatchasaheb is going to have a look at this, but we're going to forget the This would mean integrating the animCurveMatch tool inside mmSolver. feature for now

david-cattermole commented 3 years ago

Scratch that, @bpatchasaheb doesn't have time, I will instead look at this tool.

david-cattermole commented 2 years ago

I have written a window and updated the existing "Reparent Under Node" and "Unparent to World" tools.

This has been merged into develop_v0.3.x branch and will be released in v0.3.14.