Start a new topic

Some brush effects questions

 I gave this topic a generic name as I will probably need to use it to ask a number of question as I go forward.


I'm not 100% sure I have this right so first I'd ask to confirm what I think.


Value Modifiers:
Seem to modify the value directly under them.

VM percentage:
Seems to give a percentage between 0-99% of the next value.

Now my first question is:
How do I do positive percentages, such as 101% and more?

My second unrelated to the above question:
What is the actual meaning of Flat, Combo, and Global for values.

Thank you for the assistance!

Coming in release 23.04


Added - Brush effect "VM Percentage 1000" to allow value modification up to 1000 percent.


Thanks,

Ken

The "Draw Pass" effect causes the current dab to be applied to the canvas (draw) and then continuing (pass) with the rest of the brush effects. 


Ken

Very nice improvement! I like it very much!

Though I do wonder I had tried to come up with a way to use the shift x and shift y effects but had come up empty handed it seems the "Draw pass" effect was the key I was missing. Therefore I find myself wanting to know what exactly is the "Draw Pass" effect doing?

 

Here is a slightly different approach that is more manual but gives more control.


image


1. Notice the different set of brush effects being used here.

2. Colors 1 and 2 are used for the drawing.


Here is the updated brush code

 

** START BRUSH CODE
2303
71,13,9,9,43,72
Basic
Smooth no feather
0,71,13,9,250,10,12,0,0,0,143,137,255
bShape,combo,0,8
Cor Dab Soft,combo,9,9
Cor Dabit Alpha,combo,1,0
Set Var 1[1]Grid Size[2]4[3]25[4]0[5] [6],combo,2,2
Bristles Uniform,getvar1,0,7
Size Abs[1]Tone Size[2]0[3]19[4]0[5] [6],combo,1,5
Snap x,getvar1,0,7
Snap y,getvar1,0,7
Lay Smooth2,combo,7,0
Set Var 2[1]Shadow Distance[2]0[3]40[4]0[5] [6],combo,1,7
*Shdw top left[1]Shadow Top Left[2]0[3]1[4]1[5] [6],getvar2,0,0
*Shdw top[1]Shadow Top[2]0[3]1[4]1[5] [6],getvar2,1,0
*Shdw top rt[1]Shadow Top Right[2]0[3]1[4]1[5] [6],getvar2,1,0
*Shdw right[1]Shadow Right[2]0[3]1[4]1[5] [6],getvar2,1,0
*Shdw bt rt[1]Shadow Bottom Left[2]0[3]1[4]1[5] [6],getvar2,1,0
*Shdw bottom[1]Shadow Bottom[2]0[3]1[4]1[5] [6],getvar2,1,0
*Shdw bt lt[1]Shadow Bottom Left[2]0[3]1[4]1[5] [6],getvar2,1,0
*Shdw left[1]Shadow Left[2]0[3]1[4]1[5] [6],getvar2,1,0
Color1,combo,0,0
Draw pass,combo,0,0
Shift x,combo,4,5
Shift y,combo,4,8
Color2,combo,0,0
Solid,combo,0,0
Anti-Alias,combo,0,0
No effect,combo,0,0
No effect,combo,0,0
No effect,combo,0,0
3D SquareTone Brush
0,1,0,0,1,1,1,1,241,269,93,129
brush
** END BRUSH CODE



Ken 


Todays brush effect question.


In my tone brush set I am also doing 3D versions, (you can find a example of one at the end) and I was wondering for effect purpose if it could be possible to select the shadow color.



Example:

image


 

 

** START BRUSH CODE
2303
143,137,255,9,43,72
Basic
Smooth no feather
3,255,255,255,255,230,139,0,0,0,143,137,255
bShape,combo,0,8
Cor Dab Soft,combo,9,9
Cor Dabit Alpha,combo,1,0
Set Var 1[1]Grid Size[2]4[3]25[4]0[5] [6],combo,1,1
Bristles Uniform,getvar1,0,7
Size Abs[1]Tone Size[2]0[3]19[4]0[5] [6],combo,1,2
Snap x,getvar1,0,7
Snap y,getvar1,0,7
Lay Smooth2,combo,7,0
Set Var 2[1]Shadow Distance[2]0[3]40[4]0[5] [6],combo,1,7
*Shdw top left[1]Shadow Top Left[2]0[3]1[4]1[5] [6],getvar2,0,0
*Shdw top[1]Shadow Top[2]0[3]1[4]1[5] [6],getvar2,1,0
*Shdw top rt[1]Shadow Top Right[2]0[3]1[4]1[5] [6],getvar2,1,0
*Shdw right[1]Shadow Right[2]0[3]1[4]1[5] [6],getvar2,1,0
*Shdw bt rt[1]Shadow Bottom Left[2]0[3]1[4]1[5] [6],getvar2,1,0
*Shdw bottom[1]Shadow Bottom[2]0[3]1[4]1[5] [6],getvar2,1,0
Shdw bt lt[1]Shadow Bottom Left[2]0[3]1[4]1[5] [6],getvar2,1,0
Shdw left[1]Shadow Left[2]0[3]1[4]1[5] [6],getvar2,1,0
Solid,combo,0,0
Anti-Alias,combo,0,0
No effect,combo,0,0
No effect,combo,0,0
No effect,combo,0,0
No effect,combo,0,0
No effect,combo,0,0
No effect,combo,0,0
No effect,combo,0,0
No effect,combo,0,0
3D SquareTone Brush
0,1,0,0,1,1,1,1,241,269,93,129
brush
** END BRUSH CODE

 

 



I will add to the list of requests a vm_multiple and see how it goes. 


Regarding the set_var disabled also disabling other brush effects. I will have to give this consideration. It might be making too many assumptions about usage in a certain way. 


Thanks!

Ken

 I have found myself with another question.


I'm getting use to using Set Var and getvar they are very handy, however I have a limitation I'd like to go beyond.


If you have a Set Var displayed as an optional UI element (Checkbox/combo box) and it is turned off none of the effects that it is linked to are turned off.


Effectively what I would like to be able to do is turn on/off all the brush effects with the same Set Var with one UI element.

Thank you for the answers they help a lot.


"If this type of modifier was supported the actual value it was modifying would still need to have an upper limit of 1 (if you consider the internal value is the floating point value from 0 to 1."


I see I'd wager that explains why a number of brush effects are the way they are I had just assumed it was to avoid adding third & forth digits for constancy sake or something of the like.


So effectively if it did come to exist it would be limited to adding 101% to 199% (relatively speaking) but not exceed the float value of 1.

So for example if you had a value of .08 and you added 25% it would become .10.

But if had a value of .90 and added 25% it would become 1.


Seems like that should work for most circumstances. In my case I was looking to add +25% to keep a brush effect more constant at smaller sizes, so the fact it caps out at 1 would likely be beneficial.


Good questions! I will respond in bold under your comments / questions


Value Modifiers: 
Seem to modify the value directly under them.
Correct

VM percentage: 
Seems to give a percentage between 0-99% of the next value. 
Correct

Now my first question is:
How do I do positive percentages, such as 101% and more? 
This isn't currently possible. If this type of modifier was supported the actual value it was modifying would still need to have an upper limit of 1 (if you consider the internal value is the floating point value from 0 to 1. 

My second unrelated to the above question:

What is the actual meaning of Flat, Combo, and Global for values. 

Flat and combo serve basically the same purpose, however, flat uses only the second numeric column therefore it doesn't have the same granularity. Combo uses both numeric columns. Pretty much you can always use Combo instead of Flat. Flat remains for historic compatibility.


Global is similar to Combo but the value will be used globally for all brushes. Meaning if you change the value for a brush effect of one type (Symmetry for example) all brushes that have the same brush effect (Symmetry for example) and Global will use that value.


Thanks,

Ken





Login or Signup to post a comment