PDA

View Full Version : ColorQuick -- ZScript Utility -- Revised 6-10-02



aurick
06-07-02, 03:20 AM
http://www2.zbrushcentral.com/zbc_uploads/user_image-1023705359grl.jpg

After reading comments by other users, I thought that it would be both useful and a fun challenge to create a modified version of the color utility that Pixolator built into the TextureMaster. As a result, ColorQuick was born!

This utility gives you two separate color mixers, which operate independently of one another. In addition, I have included buttons for pure RGB and CMY values, along with Black, White, and 50% Gray. This makes it quick and easy to select colors for mixing. And by bouncing back and forth between the two mixers (for example, mixing on the right with colors derived from the left), even more variations become quickly possible.

In short, this script allows you to mix colors in record time!

I've also kept the "C Column" from the TextureMaster, so that colors can be stored from the canvas.

There is a button to explain the workings of the script in a little more detail, along with another to return you to your Default ZScript.

Update, 6-10-02: Revision B gives the script a few slight changes to the look. The big red buttons have been replaced by a chrome style, and the color mixer on the right has been reversed to appeal more to those with a sense of symmetry. :) I've also changed the bottom center row of color to 7 shades from white to black, rather than just 3. Finally, the right side color mixer selects two colors at random whenever the script is loaded. You never know what inspiration might come...

:b4: :b4: :b4: You can Download ColorQuick HERE (http://www2.zbrushcentral.com/zbc_uploads/user_file-1023705406cso.zip). (16K) :b4: :b4: :b4:

To install, simply unzip the folder and put both files in your ZScripts folder.

Let me know what you think! A fun way to do my 1900th post, no? :) Just remember -- as I've said many times before, I'm really NOT a programmer!

thelonious
06-07-02, 03:34 AM
Well you've made my script obsolete and come up with an awesome variation of the texturemaster colour patch. I'm sure this will be a BIG hit. :tu: :tu: :tu:

An instant classic.

Tiny bug to fix up. The right hand top arrow places the colour in the left hand box. the right hand bottom arrow works correctly. So Three of the four arrows are right and the top right isn't.

cameyo
06-07-02, 04:37 AM
Hi Aurick,
cool script!
I must see how you recalc the colors...
Thank You for share

cameyo

MrBraun
06-07-02, 05:31 AM
Tnx Aurick for the sharing!! One Note: the button of 3^ color change the variations of 1^ button! Is necessary to change:

//Begin Second Color Group
[PenMoveLeft][PenMove,373,-76]

[SectionBegin," ",,"Press to set Color1 to the currently selected color",[IPress,color:r]
[IPress,color:g]
[IPress,color:b]
[VarSet,r1,Color:r]
[VarSet,g1,Color:g]
[VarSet,b1,Color:b]
[IUnPress,0]]
[SectionEnd]

into

//Begin Second Color Group
[PenMoveLeft][PenMove,373,-76]

[SectionBegin," ",,"Press to set Color3 to the currently selected color",[IPress,color:r]
[IPress,color:g]
[IPress,color:b]
[VarSet,r3,Color:r]
[VarSet,g3,Color:g]
[VarSet,b3,Color:b]
[IUnPress,0]]
[SectionEnd]

Enjoy !!!!

Nikko
06-07-02, 05:36 AM
Definitely an outstanding and useful script. Thanks again, Aurick!
:tu: :cool: :tu:

Mentat7
06-07-02, 06:13 AM
Very Useful indeed! You da man!! :cool: :tu:

DeeVee
06-07-02, 06:29 AM
Thanks Aurick. Your constant work to make Zbrush a more pleasurable experience for all users is very much appreciated.
Thanks a lot.
Joe.

thelonious
06-07-02, 06:40 AM
Here is the corrected txt file courtesy of Mr Braun.


ColorMaster.txt (http://www2.zbrushcentral.com/zbc_uploads/user_file-1023457221ypm.txt)


And for those who havn't yet downloaded the incorrect version here is a Zip file that contains both the corrected text and the .psd file that goes with it.FixedColourMaster.zip (http://www2.zbrushcentral.com/zbc_uploads/user_file-1023465760jwo.zip)

Tammy
06-07-02, 07:24 AM
Thank you this looks like it will be really helpful

Ken B
06-07-02, 09:12 AM
Thank you! very well done, clean and handy

DLee
06-07-02, 09:25 AM
This is going to be used a lot. Thank you!

banez
06-07-02, 09:41 AM
when using a 3D object you must Click the Canvas to see the color change.
if you use this.
//A ZBrush ZScript Utility. by aurick
//Based on TextureMaster by Pixolator
[PenMove,-11,-12]
[Image,"ColorMaster.psd",1]
[PenMoveLeft]
[PenMove,0,12]
[CanvasStroke,(ZObjStrokeV02n2=0)]
and make sure you start in edit mode and have your object on the left side of the screen just a bit Then all you have to do is Wave your curser on the right side of the canvas a bit with out pressing and the color will change on the 3D object.
i don't know why it messes up on the Left side if you wave your curser over but you have to wave over the object that way.
note i just added
[CanvasStroke,(ZObjStrokeV02n2=0)]

aurick
06-07-02, 10:11 AM
Thank you, Mr. Braun, for catching that, and Thelonious for providing the interim fix. I told you I'm really not a programmer! LOL

Anyway, the downloadable file in my post has now been fixed.

I'm glad you folks find it useful!

thelonious
06-07-02, 10:12 AM
Aurick, Mr Braun kindly provided the repair code.

jelee
06-07-02, 10:32 AM
Really appreciate all the time and thought that was contributed to bring about this latest 'cool tool.'
jelee

banez
06-07-02, 11:45 AM
your very Welcome :D
even know you haven't replyed to any of my post pertaining Your Post in i would guess :rolleyes: the last 4 months.
keep up the Good Work Buddy :p

aurick
06-07-02, 01:36 PM
I'm very sorry, EZ. I unfortunately have a very busy daily schedule, and am never able to post as much as I would like to. I certainly have not been intentially ignoring you or your many contributions! If you have had that impression, I heartily apologize.

Regarding your suggestion for the ColorMaster, I have thought about it and decided not to incorporate it. The concept sounds great, but the fact that it works inconsistently could be frustrating for new users. Since the script is primarily meant to assist with painting and texturing rather than during the modeling phase, I don't see the current functionality as much of a drawback.

But thank you for looking for ways to help!

banez
06-07-02, 07:20 PM
i made that for new users because if They pick a 3D object and start clicking the color buttons the color won't change till the canvas is clicked and the script will work as Normal.
i figured after a few click they would move the cuser about saying Hay why isn't this working but once the curser is over the canvas the color will change.
here's another version it helps from opening up other zscript and Re Editing it to get back to the main menue.
ToolLoader.txt (http://www2.zbrushcentral.com/zbc_uploads/user_file-1023502767bmk.txt)
http://www2.zbrushcentral.com/zbc_uploads/user_image-1023502825bqm.jpg
you must have aurick zscript and .psd and texture master in the zscript folder for this to work.
view at 1024 x 768 its Best to chose from right To left when chosing the Buttons

aurick
06-07-02, 07:39 PM
But EZ, isn't that doing things the hard way?

I created the ColorMaster so that it will return the user to the Default ZScript when requested. For most users to whom that would make a difference, the Default ZScript normally contains buttons to take them quickly to other scripts that they find useful.

For example: Default to ColorMaster to Default to AlphaManager to Default to TextureMaster and back to Default again. The Default ZScript therefore becomes the hub, and every script is just two clicks away.

Since your Tool Loader doesn't have any scripts linking to it, that means that anybody who wants to get back to it again has to either open the ZScript palette, click load, browse for it and then finally load it -- and then they have to click yet another button to load a script that they want. Alternatively, they could save yours as their own Default ZScript. But if they do that, then what's the point of having a button in the Tool Loader to open the Default script? You've essentially created a secondary hub -- one that is not only redundant but awkward to get to.

Forgive my confusion. I'm sure you have a reason that makes sense to you why this would be useful, but to be honest the logic escapes me.

banez
06-07-02, 07:56 PM
aurick if you chose the default button on your colormaster i have to open the ZScript palette, click load, browse for it and then finally load it to get back to the color master.
mine you just double click to hide it or Re open it.
you stay in the 3 zscript thats on the loader no browsing needed to get back.
ok mine you just double click to get back to the main menue but if you add buttons to get back to the main menue what do you have to Do?
you have to add buttons in that ZScript AND the other zscript you want to add.
mine you just double click and you don't have to open the other TEXT file to get back to the main menue.
no buttons needs only in 1 zscript of course i can set up a default loader to cover all zscript but i don't know what people use.
only 1 zscript is need to get back to the main menue.
skroll down maybe your not looking below and Double click the Buttons

aurick
06-07-02, 08:03 PM
Oh, I see what you did. That makes more sense now. Honestly, not something that I'd use because I have my scripts tightly integrated already. But I can see where some people would find it useful. :tu:

banez
06-07-02, 08:14 PM
yeah its basicly the same as your script selector but this way you only have to edit 1 set of TXT File.
and craming 2 or more .PSD in the tutorail window can be hard to use.
i personly don't like my tutorial window pack full :D

drjjwow
06-08-02, 01:42 AM
sweet script matt.. very useful to me..thanks .

aurick
06-10-02, 03:44 AM
For anyone who is interested, a few changes have been made to the script. You can read about them and download Revision B at the beginning of this thread.

Enjoy!

thelonious
06-10-02, 04:25 AM
Thank's Aurick As I've customised your previous code for my own devious devices I hope you don't mind that I have stolen pieces out of your new code to keep up with all the latst updates.

Mentat7
06-10-02, 06:48 AM
Thank you thank you thank you! And did I say Thank you? ;) :D

Nikko
06-10-02, 07:41 AM
Aurick, I didn't think there was anything wrong with ColorMaster, but you've made it even better. I really like the random color generator each time you click the Default button. :tu: :tu: :tu: :tu: :tu:

I hope you don't mind but I've included it in my own default script which is available to anyone who wants it in another thread.