Transforming a selection

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
David_Fine
Posts: 557
Joined: 29 Aug 2014, 16:39

Transforming a selection

Post by David_Fine »

When I transform or warp a selection, sometimes I want to maintain specific perimeters. For instance, I can flip a selection by using warp and pulling it over, but that flipped selection does not maintain it's proportions so I can't get an exact flip of the selection. You just have to eyeball it. In Photoshop, holding the shift key while doing that would lock the movement so that it would not distort. Same with rotating, holding shift would allow rotating and exact rotations like 45 degrees, 90 degrees, etc. Is there a way to do this in TVPaint?

Also, I want to make an action which will commit the transformation, or warp, and then deselect as well, so that one button does those two steps. I can't see how to make a button do the equivalent of pressing enter, or return, to commit the transform. Is there a way to do this?
David Fine
iMac late 2014 3.5 GHz, 32GB RAM
Snowden Fine Animation Inc.
Vancouver, Canada
User avatar
CartoonMonkey
Posts: 1087
Joined: 01 Jun 2007, 18:47
Location: Portland, Oregon
Contact:

Re: Transforming a selection

Post by CartoonMonkey »

Brush-Select.tvpx
(628 KiB) Downloaded 837 times
Hey David,

Here are a few tools I keep handy on a regular basis.
I just made the two additional tools, Flip Selection X and Y

Usually I just cut something from the screen with the cut brush and flip it by hitting the X or Y key, then use the stamp in place button in this toolbar. ( That I found somewhere in the forums some time ago )

These two buttons just cut the selection to a brush, flip it, and stamp it back in place onto the same layer, and at the end, shake the screen. (Because for some reason, the version of TVPaint I'm working in didn't refresh the screen properly after the custom george "stamp in place" action.) Screen shaker forces it to update. :)

Give these a try, and they might do what you need, or it may be simple enough to modify the actions within each button to have them do what you want.
Everything can be assigned to a custom shortcut key if it's in a custom panel as well.

C
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: Transforming a selection

Post by Mads Juul »

David_Fine wrote:When I transform or warp a selection, sometimes I want to maintain specific perimeters. For instance, I can flip a selection by using warp and pulling it over, but that flipped selection does not maintain it's proportions so I can't get an exact flip of the selection. You just have to eyeball it. In Photoshop, holding the shift key while doing that would lock the movement so that it would not distort.
When Flipping the image x or Y or part of the image. I always use the Cutbrush. I have a keyboard short assigned to select cutbrush
then I cur out my custom brush , and then I have shortcuts assigned to Brush : Flip Horizontally or Brush : Flip vertically
Then I stamp it back manually or Stamp in place shortcut.

But I just tried to make some action to do it with the selection without the cutbrush. I included them in the Custom panel because I noticed the shortcut "Tool : Warp Flip X" and "Tool : Warp Flip Y"

But I think it is a good feature request that holding down shift when slipping warp will keep proportions
David_Fine wrote: Same with rotating, holding shift would allow rotating and exact rotations like 45 degrees, 90 degrees, etc. Is there a way to do this in TVPaint?
More difficult. I don't think this is possible with the selection. I guess it would be possible with the cutbrush and George scripting to make the cutombrush rotate in increments of 45. but that seem to be to difficult compared to manullay input the wanted degree of rotation.

But I think it would be a good feature request that when holding down shift when rotation a sekection(transform) or rotation a custom brush. the rotation will "snap" to 45 degrees
David_Fine wrote: Also, I want to make an action which will commit the transformation, or warp, and then deselect as well, so that one button does those two steps. I can't see how to make a button do the equivalent of pressing enter, or return, to commit the transform. Is there a way to do this?
I made an action called Selection : Apply and clear in the attached custom panel which should do this

-Mads
Attachments
MJ Selection v01.tvpx
(95 KiB) Downloaded 799 times
User avatar
David_Fine
Posts: 557
Joined: 29 Aug 2014, 16:39

Re: Transforming a selection

Post by David_Fine »

These are great tools. Thanks so much! Sorry for the late reply, by the way. For some reason I have stopped receiving email notifications of forum updates.

Mads, I like the way your flip x and y also deselects after, but you added a shake to the flips, which makes me shake! I tried removing it in the edit panel, but now the button requires two presses for it to work. Any idea why that is or how I could amend so that it works exactly as intended, but without the shake?
David Fine
iMac late 2014 3.5 GHz, 32GB RAM
Snowden Fine Animation Inc.
Vancouver, Canada
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: Transforming a selection

Post by Mads Juul »

David_Fine wrote: Mads, I like the way your flip x and y also deselects after, but you added a shake to the flips, which makes me shake!

Hi David that sounds strange there is no deselect and no shake in the custom action I made . look at this screenshot
noShakeNoDeselect.JPG
noShakeNoDeselect.JPG (50.71 KiB) Viewed 14203 times
WHen saying shake Do you mean the function where current layer is shaking ?
shake.JPG
Have you assigned a shortcut to the Flip X function. Maybe you have assigned the same shortcut to several action this is why it is both flip x and shake ans deselect.
Because my functions only flip x and y.
-Mads
User avatar
David_Fine
Posts: 557
Joined: 29 Aug 2014, 16:39

Re: Transforming a selection

Post by David_Fine »

Ah, I'm a goof. It's CartoonMonkey's panel that shakes, not yours, but his deselects, which I like, so I have combined both to have a no shake flip and deselect button that does exactly what I want. Thank you both for these helpful buttons!
David Fine
iMac late 2014 3.5 GHz, 32GB RAM
Snowden Fine Animation Inc.
Vancouver, Canada
Post Reply