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 Tool - Convert 3D Transform to Screen-Space #107

Closed
david-cattermole opened this issue May 20, 2019 · 1 comment
Closed

Maya Tool - Convert 3D Transform to Screen-Space #107

david-cattermole opened this issue May 20, 2019 · 1 comment
Assignees
Labels
maya tool A user tool inside Maya.
Milestone

Comments

@david-cattermole
Copy link
Owner

Problem

While solving or cleaning up matchmove cameras it can be helpful to manipulate a transform in screen-space (for example manipulate Screen Z-Depth).

Steps

  1. Select Maya Transform Node(s).
  2. Activate 3D Viewport.
  3. Run tool; transform is baked under the camera.
  4. Delete Animation on 3D Transform.
  5. Point Constrain Screen-Space Transform to 3D Transform.

Notes

  • We can use the maya.cmds.mmReprojection command to calculate the screen-space values.
  • We can use "Marker Group" nodes under a camera to convert a normal Maya 3D transform node into screen-space.
@david-cattermole david-cattermole added the maya tool A user tool inside Maya. label May 20, 2019
@david-cattermole david-cattermole added this to the v0.3.0 milestone May 20, 2019
@david-cattermole david-cattermole self-assigned this May 20, 2019
david-cattermole added a commit that referenced this issue May 21, 2019
@david-cattermole
Copy link
Owner Author

This tool is now working and merged into the master branch.

We may need to revisit the lib module, to ensure we can bake a tool via mmSolver.tools.screenzbake.lib.

We may also rename the module in future, screenzbake isn't only what the tool is doing.

david-cattermole added a commit that referenced this issue Jul 7, 2019
Select created locator nodes after tool runs.
Update Maya viewport after keyframes have been set.
Remove unneeded logging. Issue #107.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maya tool A user tool inside Maya.
Projects
None yet
Development

No branches or pull requests

1 participant