Digits
08-15-01, 05:18 PM
http://www2.zbrushcentral.com/zbc_uploads0/user_image-998025386tgv.jpg
Welp, I fingered out how to do a gradient so this is the new and improved Color Widget. Basically you pick a starting color and a ending color. Then you set "ColorStep" to equal how many steps you want it to take to get to the ending color. ColorStep is also used by the "Vary Color Random" Button as a +- increment, meaning that the resultant color will be within the ColorStep value RGB.
I have also included Memory storage for 5 colors, take a look at the code and you will see how easy it would be to expand this. I am not finished with this feature because I would like to figure out how to make colored rectangles to represent the stored color to display on the Script area. So, for now you press one of the "L" buttons to display a popup of the stored color.
Example:
I am painting a picture of the inside of my head and I am working with the blues I select a deep blue color and Press "StartColor"
I select a very light blue color and press "EndColor"
I figure that I need 25 varying shades of this blue to capture my lovely brain so I enter 25 in "ColorStep"
I get to painting....
pressing the "Incr Color +" I step up in the Blue gradient
Pressing the "Incr Color -" I step down in the Blue Gradient
If I go beyond the bounds of my "ColorStep" I get a message I could then if I want make the ColorStep larger or choose another "End Color" to broaden
the range of colors available
Pressing the "Vary Color Random" creates a Random color that is Centered on my "StartColor" by that amount
As I am going along I find a couple of Blue colors that I think are just absolutely
wonderful, so much so that I would like to be able to select them again very quickly
So I save them in my Pallette Saver by Pressing one of the S1 - S5 buttons.
I also look for some neat red colors and yellow colors that would look nice on my
brain so I save them too!
Of course I don't have a brain cause it is sitting out there on the canvas and I
can't remember what colors went to what buttons. So I press one of the "L1 - L5"
buttons and a little popup pops up showing me what color it is.
When I want to recall one of these fabulous colors I press one of the "R1 - R5"
buttons
Thats about it, I hope that you will enjoy using my little ColorPickerUpper
Here is the Script:
Edit***
10:15 pm 8/15/01 - Uploaded bugfix so if you have a prior version here is the fix.
10:25 pm 8/16/01 - Updated script in my post down below
Welp, I fingered out how to do a gradient so this is the new and improved Color Widget. Basically you pick a starting color and a ending color. Then you set "ColorStep" to equal how many steps you want it to take to get to the ending color. ColorStep is also used by the "Vary Color Random" Button as a +- increment, meaning that the resultant color will be within the ColorStep value RGB.
I have also included Memory storage for 5 colors, take a look at the code and you will see how easy it would be to expand this. I am not finished with this feature because I would like to figure out how to make colored rectangles to represent the stored color to display on the Script area. So, for now you press one of the "L" buttons to display a popup of the stored color.
Example:
I am painting a picture of the inside of my head and I am working with the blues I select a deep blue color and Press "StartColor"
I select a very light blue color and press "EndColor"
I figure that I need 25 varying shades of this blue to capture my lovely brain so I enter 25 in "ColorStep"
I get to painting....
pressing the "Incr Color +" I step up in the Blue gradient
Pressing the "Incr Color -" I step down in the Blue Gradient
If I go beyond the bounds of my "ColorStep" I get a message I could then if I want make the ColorStep larger or choose another "End Color" to broaden
the range of colors available
Pressing the "Vary Color Random" creates a Random color that is Centered on my "StartColor" by that amount
As I am going along I find a couple of Blue colors that I think are just absolutely
wonderful, so much so that I would like to be able to select them again very quickly
So I save them in my Pallette Saver by Pressing one of the S1 - S5 buttons.
I also look for some neat red colors and yellow colors that would look nice on my
brain so I save them too!
Of course I don't have a brain cause it is sitting out there on the canvas and I
can't remember what colors went to what buttons. So I press one of the "L1 - L5"
buttons and a little popup pops up showing me what color it is.
When I want to recall one of these fabulous colors I press one of the "R1 - R5"
buttons
Thats about it, I hope that you will enjoy using my little ColorPickerUpper
Here is the Script:
Edit***
10:15 pm 8/15/01 - Uploaded bugfix so if you have a prior version here is the fix.
10:25 pm 8/16/01 - Updated script in my post down below