Page 1 of 3

Subpixel check as a "global" preference

Posted: 03 May 2007, 18:40
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.

Posted: 03 May 2007, 19:01
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

Posted: 03 May 2007, 19:58
by jbardakos
Ah!

great!..

thanks for the tip :)

Posted: 04 May 2007, 09:23
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

Posted: 07 May 2007, 00:50
by malcooning
I add my support to this. always tick that box...

Keep subpixel=On

Posted: 07 May 2007, 08:33
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)

Posted: 08 May 2007, 16:33
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:

Posted: 09 May 2007, 07:28
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.

Posted: 24 May 2007, 06:10
by Mads Juul
yes I was just seeking this answer

-mads[/quote]

Posted: 14 Aug 2007, 09:30
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

Posted: 14 Aug 2007, 13:21
by Patrice
You can achieve this behavior by using a script I think.

Posted: 14 Aug 2007, 14:08
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

Posted: 14 Aug 2007, 15:45
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!

Posted: 14 Aug 2007, 17:43
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.

Posted: 14 Aug 2007, 18:13
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."