Automatic optimise brush after creating?

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Automatic optimise brush after creating?

Post by Lukas »

I use the shortcut "Brush: Cut Freehand" all the time, but always have to click the 'optimize' button manually.

Is there a way to create a shortcut that acts the same, but automatically optimises the brush when I'm done cutting it? (without an extra keystroke)

Because I never really need a un-optimised brush.
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
User avatar
Sewie
Posts: 1310
Joined: 18 Jun 2008, 11:57
Location: The Netherlands, Europe
Contact:

Re: Automatic optimise brush after creating?

Post by Sewie »

When you have selected the the Cutbrush Tool, before you use it there's a panel with settings for the cutbrush (Tool : Cut Brush). You need to tick the box 'Optimize'.
And then it's set by default.

I agree that this option could be removed. What is the reason it's still there?
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: Automatic optimise brush after creating?

Post by Lukas »

Thanks Michael! :)
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: Automatic optimise brush after creating?

Post by Mads Juul »

Sewie wrote: I agree that this option could be removed. What is the reason it's still there?
Some of my George scripts is not working properly if I have "Optimized" Checked. So I Seldom optimizes my Cutout. Maybe I can modify my scripts, so I am not saying that I disagree, but Im just saying that some users are using the feature that the cutbrush is NOT optimized. It has something todo with stamp in place the reason why I use it. And scaling the original cut area into a new area. And then my script needs to know the boundaries of the original cut which is lost during a optimize.
-Mads
User avatar
Sewie
Posts: 1310
Joined: 18 Jun 2008, 11:57
Location: The Netherlands, Europe
Contact:

Re: Automatic optimise brush after creating?

Post by Sewie »

Ah, I see. Thanks, Mads.
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
User avatar
slowtiger
Posts: 2949
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Automatic optimise brush after creating?

Post by slowtiger »

If you use AnimBrushes, the last thing you want is Optimization!
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
Sewie
Posts: 1310
Joined: 18 Jun 2008, 11:57
Location: The Netherlands, Europe
Contact:

Re: Automatic optimise brush after creating?

Post by Sewie »

Why is that? TVP doesn't optimize every frame independently, does it?
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Automatic optimise brush after creating?

Post by Elodie »

"Optimize" just withdraws the useless empty space when you cut a custom brush, nothing more :)
User avatar
Sewie
Posts: 1310
Joined: 18 Jun 2008, 11:57
Location: The Netherlands, Europe
Contact:

Re: Automatic optimise brush after creating?

Post by Sewie »

Yes, but why is not preferable when using animbrushes?
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Automatic optimise brush after creating?

Post by Elodie »

I don't know why SLowtiger said this :p
User avatar
slowtiger
Posts: 2949
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Automatic optimise brush after creating?

Post by slowtiger »

Optimize not only removes white space, it also re-locates the remaining image so the pivot point is in the center of it. Most often this is the desired behaviour for single frame brushes, but I also have situations where I need the pivot to be off-center.

I just tested and found that Optimize doesn't change location of images in AnimBrushes in v10, however, IIRC it did in former versions of TVP.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
Sewie
Posts: 1310
Joined: 18 Jun 2008, 11:57
Location: The Netherlands, Europe
Contact:

Re: Automatic optimise brush after creating?

Post by Sewie »

I've never noticed that behaviour. And if you want to change the the pivot point you can always use pivot tool in the CutBrush Tools Panel.
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
Post Reply