A little while ago I requested a Warping tool for the current CutBrush be added to TVPaint's next update.
A reply from ZigOtto suggested to me a way to script exactly the kind of warping tool I had requested. Through several cycles of design and refinement, I finally created exactly the warping-cutbrush tool I wanted, with the following features:
Some notes on using it.
1. Shortcut Key Assignment Recommended: The script is assigned to a button (called the warp brush button) which ideally, is then assigned to a shortcut key.
2. Always Press Button (or shortcut key) Twice: The warping process requires that you press the shortcut key twice. First, to drop the current cutbrush in preparation for the warp, and Second to pickup the cutbrush after the warping has been completed.
3. Drop at Center: If the Warp Brush button isn't assigned to a shortcut key, pressing the button OUTSIDE the frame causes the cutbrush to be dropped in the center of the frame, ready for warping. Pressing the Warp Brush button a second time picks up the newly deformed cutbrush.
4. Secret menu (Fig 2): When in warp/edit mode you can right click to bring up a menu of options: Reset positions will home the red control box and points back to the original green bounding box. The other orientation controls do what they say.
5. New Default Orientation: And a tip: simply clicking the warp brush button(or shortcut key) TWICE for a cutbrush that's being scaled or rotated, will make the rotated or scaled orientation become the new, default cutbrush's home position.
6. If it Breaks: If for some reason you end up with a "hot pink" layer that is labeled DeleteMe you may do exactly that: DELETE IT. Normally, this temporary layer (that is created just while warping the cutbrush) is automatically erased after the second time you press the Warp Brush button. But mistakes happen.
I'm still hoping for an integrated Warp CutBrush tool in the next update!
NOTE: While this version of the Warping Tool works with TVPaint 9, a new version is available that works with TVPaint 10. See zip file further down this thread... Sven
Warping a CutBrush
Warping a CutBrush
- Attachments
-
- WarpCutbrushButton.tvpx
- (61.5 KiB) Downloaded 318 times
Last edited by Svengali on 11 Apr 2012, 16:52, edited 1 time in total.
Re: Warping a CutBrush
Thanks for sharing this.
Re: Warping a CutBrush
Cool !
... and the "secret" menu to Reset the corners position is a handy addition.
thanks Sven, as usual, your contributions are always valuable, properly scripted, and very well documented.
... and the "secret" menu to Reset the corners position is a handy addition.
thanks Sven, as usual, your contributions are always valuable, properly scripted, and very well documented.
Re: Warping a CutBrush
Thank you for the kind words Zig and for testing the earlier versions of the script. Just to be clear, the "secret menu" isn't part of my script, it's part of the layer warping tool. I just happened to find it when I right clicked while working on the Warp CutBrush script. I could find no reference to it in the documentation and that's why I called it a "secret menu".
Sven
Sven
Re: Warping a CutBrush
ah, I've never right-clicked before when using this tool, so it's a discovery to me too !
this program is somehow "magical" : you think you know it perfectly in its deeper corners,
and you're always discovering some new "undocumented" things/commands, "secretly" hidden here and there ...
this program is somehow "magical" : you think you know it perfectly in its deeper corners,
and you're always discovering some new "undocumented" things/commands, "secretly" hidden here and there ...
Re: Warping a CutBrush (updated for 10)
New WarpCutBrush script, edited to work in TVP 10. (New change in the tv_Preserve command was the problem, I think).
Replace the previous button with that found in the TVPX zipped below. Script is now embedded as suggested.
Feedback any problems, thanks.
Sven
Replace the previous button with that found in the TVPX zipped below. Script is now embedded as suggested.
Feedback any problems, thanks.
Sven
- Attachments
-
- WarpCutBrushButton2.zip
- (5.89 KiB) Downloaded 289 times
- idragosani
- Posts: 987
- Joined: 06 May 2008, 00:39
- Location: Germantown MD
- Contact:
Re: Warping a CutBrush
Thanks, Sven, it works great now.
Brett W. McCoy -- http://www.brettwmccoy.com
TVP Pro 10 : Intel i7 2600 3.4 GHz : 8GB RAM : Ubuntu Studio 14.04 : Cintiq 21UX
TVP Pro 10 : Intel i7 2600 3.4 GHz : 8GB RAM : Ubuntu Studio 14.04 : Cintiq 21UX
- D.T. Nethery
- Posts: 4225
- Joined: 27 Sep 2006, 19:19
Re: Warping a CutBrush (updated for 10)
Svengali wrote:New WarpCutBrush script, edited to work in TVP 10. (New change in the tv_Preserve command was the problem, I think).
Thank you ! The new one works fine in TVPaint 10 for Mac.
- NathanOtano
- Posts: 1209
- Joined: 01 Apr 2014, 07:07
- Location: Biarritz, France
- Contact:
Re: Warping a CutBrush
Awesome, thanks!
EDIT : I had a bug, for me it automatically stamped the brush without the modifications at the end. I think it was going to far in my undo history so i removed TV_Undo line 55 and it worked fine since then.
EDIT : I had a bug, for me it automatically stamped the brush without the modifications at the end. I think it was going to far in my undo history so i removed TV_Undo line 55 and it worked fine since then.
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.