Subpixel check as a "global" preference

This section is dedicated to the feature & improvement requests (be sure what you are asking does not exist yet in TVPaint Animation ;) )
User avatar
jbardakos
Posts: 40
Joined: 16 Apr 2006, 00:07
Location: France
Contact:

Subpixel check as a "global" preference

Post by jbardakos »

Hello all,

I dived into tvpaint and with great pleasure only after a week of having it
i have "moved" most of my workflow here...

When trying to do Cutout style animation with ready made limbs for a character in the custom brush bin i would like to have the option for Subpixel accuracy always on...is it possible?

right now, i have to recheck it whenever i need to switch from one brush from the bin to another..

j.
Patrice
Posts: 895
Joined: 14 Feb 2006, 15:56
Location: Athis-Mons
Contact:

Post by Patrice »

Hi jbardakos,
Just check the Subpixel box before putting the brush into the bin. All paramteres of the brush are saved in the bin. So when you will select it later the Subpixel option will be checked.

Patrice
Ex TVPaint Team
User avatar
jbardakos
Posts: 40
Joined: 16 Apr 2006, 00:07
Location: France
Contact:

Post by jbardakos »

Ah!

great!..

thanks for the tip :)
User avatar
MrChoy
Posts: 118
Joined: 06 Jul 2006, 11:46
Location: uk

Post by MrChoy »

Ooh! I had to jump in to this one.
Sub pixel is excellent but I would love to have it on as default even when not using custom brushes.
Example: When roughing out I often cut out bits of my drawing as brushes and re-size them. At the moment I have to check the sub pixel box each time. It would be helpful if this was on as default :D
User avatar
malcooning
Posts: 2114
Joined: 29 Mar 2006, 12:43
Location: Tel Aviv
Contact:

Post by malcooning »

I add my support to this. always tick that box...
User avatar
ZigOtto
Posts: 4102
Joined: 17 Feb 2006, 22:50
Location: south-Petazonia

Keep subpixel=On

Post by ZigOtto »

malcooning wrote:I add my support to this. always tick that box...
Tick that box ("subpixel" in the custombrush panel) first,
then cut the brush with "Keep" ticked (cut brush panel). 8)
Attachments
Keep.png
Keep.png (4.81 KiB) Viewed 36218 times
User avatar
malcooning
Posts: 2114
Joined: 29 Mar 2006, 12:43
Location: Tel Aviv
Contact:

Post by malcooning »

Zig, I gotta give it to you.
you just don't stop drawings those features out.
I was oblivious yet again.
thank you, and next time maybe you can send it to me by email instead of posting here... it's becoming embarrassing.

:oops:
User avatar
TVPaint
Site Admin
Posts: 711
Joined: 07 Feb 2006, 13:36

Post by TVPaint »

:lol:

Anyway I disagree... It's good to keep these informations on the forum for the other users, so thanks Malcooning for pointing that out !

This forum is also a knowledge resource center for newcomers and the more questions are answered, the more useful the forum is.
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Post by Mads Juul »

yes I was just seeking this answer

-mads[/quote]
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Post by Mads Juul »

I want to reopen this thread because
After trying it Im not satisfied with checking the "keep" option. Because it not only remembers the subpixel but also scele rotation etc. I would like tha it only remembers subpixel. is this a feature requesr or can it be accomplished somhow else?

-amds
Patrice
Posts: 895
Joined: 14 Feb 2006, 15:56
Location: Athis-Mons
Contact:

Post by Patrice »

You can achieve this behavior by using a script I think.
Ex TVPaint Team
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Post by Mads Juul »

Hmm how?

Is it possible to make tvpaint wait for a cut brush imput

like "PARAM line" and then execute the rest of the script?

else All I can think off is making a selection and then run this action:

0:Key: Shape Select:Copy to Custombrush
1:Command : tv_BrushRestore RESET 1 subpixel 1
2:Key : Shape Select:Clear

but that is still 2 actions.
1:Select
2:run action.
same as
1: Cutbrush
2:press Subpixel

-mads
User avatar
ramblindawg
Posts: 34
Joined: 15 Jun 2007, 19:37
Location: Los Angeles, USA
Contact:

Post by ramblindawg »

Great timing...I have a draft of this same question in my outgoing mail folder.

I run into this same problem many times a day; I cut and resize constantly, and when I reset back to 100% size I often forget to re-check "subpixel." If someone can provide a script that would be extremely helpful, as I am not yet up to speed on scripting.

Thanks for bringing up the topic!
Manuel
Posts: 673
Joined: 09 Feb 2006, 14:09
Location: France-Moselle

Post by Manuel »

You can try this :

Code: Select all

Param rectangle
parse result command x1 y1 x2 y2 button
tv_BrushCut x1 y1 x2 y2 1
tv_Undo
tv_BrushRestore subpixel 1 
tv_SelectShapeTool
Assign this script to a button and click on it to copy a brush.
If you want a CUT, create a second script without the tv_undo line.

The problem is that the frehand tool is the only available with tv_SelectShapeTool as far as a know.
Manuel
User avatar
ramblindawg
Posts: 34
Joined: 15 Jun 2007, 19:37
Location: Los Angeles, USA
Contact:

Post by ramblindawg »

Thanks, Manuel and Mads...I wasn't able to make the script work, but that's probably because I don't know what I'm doing when it comes to scripts. BUT>>>

:D You both helped solve my issue, because I just took one line out of Mads' commands (tv_BrushRestore RESET 1 subpixel 1 ) and typed it in as a command onto the RESET button on ZigOtto's B.E.T. (Brush Edit Tools) Toolbar. (see post: http://www.tvpaint.com/forum/viewtopic.php?t=622) Now I can reset and select subpixel at the same time with one button on my Brush Edit Toolbar.

Super!

PS...I agree that a global subpixel option would be nice for the future. I never seem to need it to be "off."
Post Reply