Pan, Scan, Drag and Rotate tool for Rotoscoping
This tool allows you to manipulate the view of your rotoscoping camera without the attribute collection. Look through one of your x-ray cameras and press the PSDR tool on the XROMM tools shelf (XROMM_Maya_tools_2.0.7 and later). The mouse cursor will turn into a hand. Click on the screen with the hand. A window asking for the shader will appear:
Type in the name of the shader you applied to the bones you want to rotoscope. This will allow you to change the transparency of the bone. If you do not know the exact name of the shader you used, look in the hypershade window (Windows – Rendering editors – hypershade). You can select the shader you want and press the Insert Selection button to automatically enter that shader's name. Now, using the hand cursor, you will be able to zoom in and out, move left and right, up and down, rotate clockwise and counterclockwise and change the transparency of the bones with the following commands:
- Left mouse button - zoom in and out. Move to the right to zoom in, to the left to zoom out.
- Left mouse button plus ctrl key - translate. Move up, down, left and right.
- Middle mouse button - change the transparency of the bone. Move to the left to make the bone more transparent, to the right to make more opaque.
- Middle mouse button plus ctrl key - rotate. Move to the right to rotate counterclockwise, to the left to rotate clockwise.
If you set up a rotoscoping scene with the attribute collection, you will need to break some connections before you can use the PSDR tool. Select the x-ray camera in the hypergraph hierarchy. Go to the channel box. Select Horizontal Film Offset and Vertical Film Offset, right click and select break connections from the menu. If you get the following error message "The attribute 'boneShade.transparencyR' is locked or connected and cannot be modified", then you need to break the connections on the transparency. In the hypershade, select the shader you want to use and open the attribute editor. Right click on the black box next to "Transparency" and select break connections.
Note that this tool works in whatever camera view you are currently looking through. To switch back to a normal cursor, just click the selector tool button.