Reformat Roto & RotoPaint node's vector data without resolution issue. Keep the same result on any paint strokes. Support all kinds of splines, brushes and aspect ratio reformat.
RP Reformat
Updated: 24 March 2021
Author: xmjtx
Compatible Nuke versions: 10.0 or later
Compatibility: Linux, Mac, Windows
Video about this tool :
https://youtu.be/vGZ6kNnOcTs
Reformat Roto & RotoPaint node's vector data without resolution issue. Keep the same result on any paint strokes. Support all kinds of splines, brushes and aspect ratio reformat.
changelog
1.5
- compatible with python3
(fix xrange command)
1.4
- fixed gizmo is a gizmo, not group
1.2
- Tong Lyons's feedback :
added 'from' & 'to' input for the old/new resolution
1.1
- fixed the Rotopaint nodes connection issue
- added 'resize type' info in new RP node's label
- removed the animation menu on pixel_aspect knob.
1.0
- batch resize Roto / RotoPaint's vector data
How to use
- Fill in the old resolution of the Roto/RotoPaint was done before.
- Fill in the new resolution.
- Selected which type of resize to process (This depends on how's the plate resize)
- Select all the Roto/RotoPaint node(s) *Support mult-select
- Click 'convert roto/rotopaint node(s)' . Then the new generated node will be placed next to the original node(s)
* Entire process will NOT modify the original node
** The resize data will replaced on individual shape elements :
Spline : translate, scale, center & feather
Stroke : translate, scale, center, source translate, brush size, brush space & effect
*** Resize process will not touch any data on Layer.
1.2 update
Hover 'convert roto/rotopaint node(s)' button to see what data get modified :
Remarks :
Brush stroke might have slightly different result if aspect ratio changed a lot. It is because the brush size in RotoPaint node is only 1 dimension size, it doesn't have x&y separation. The difference might not really noticeable.
Thanks Jedediah Smith (Jed) share the knowledge of _curvelib module. That saved me a lot of time.