PDA

View Full Version : ZScript:Brush Stocker 1.11 is available (Save/Load feature added and resolution free)



kaz-g
10-24-02, 10:02 AM
Hi folks!

http://www2.zbrushcentral.com/zbc_uploads/user_image-1036865831bmr.jpg

I re-edit to make AlterBrush script fit for ZBrush 1.5 and I finished it at last.
I also add new features to it.

http://www2.zbrushcentral.com/zbc_uploads/user_image-1036865682znk.jpg

Please try this, especially 2.5D painters.
I believe you like this! :)

Attention: This script requires over 1024 resolution.

:b3: Version 1.10
:: Save/Load feature is available.
Thanks Digit and Jaycephus!

:b3: Version 1.11
:: This script became resolution independent (though requires upper 1024).
Thanks Pixolator!

BrushStocker1_11.zip (http://www2.zbrushcentral.com/zbc_uploads/user_file-1036918208the.zip)

:ex: If you haven't downloaded previous version, please download Icon set and extract it to same folder that the script is saved.

BrushStockerIcons.zip (http://www2.zbrushcentral.com/zbc_uploads/user_file-1036866293gwr.zip)

And this is sample brush set.

SkyBrushSet.zip (http://www2.zbrushcentral.com/zbc_uploads/user_file-1036866590djz.zip)

Enjoy ZBrushing!!

kaz-g

<font color="#949494" size="1"> November 09, 2002 Message edited by: kaz-g </font>

<font color="#949494" size="1"> November 10, 2002 Message edited by: kaz-g </font>

Nemo
10-24-02, 10:15 AM
wow !

going to try this right away kaz - sounds great :tu: :tu:

DLee
10-24-02, 10:17 AM
Looks like you put a ton of work into this and it looks really handy. Thank you.

Fouad B.
10-24-02, 10:23 AM
nice tool!! :)
thx for it :D :tu: :tu:

Mahlikus The Black
10-24-02, 10:50 AM
WOW THANKS A MILLION!

I could REALLY use this!!

Do youby chance know if there is a ZScript/utility to randomize alpha Rot/flip during or in between strokes?

Is it even possible to make?

Once again BIG Thank you!

DeeVee
10-24-02, 11:33 AM
Thanks for sharing. this should come in handy :) :tu: :tu: :tu: :)

drjjwow
10-24-02, 12:14 PM
wonderfull upgrade kaz-g.. do you think you could include a doc file that explanes some of the new features and shows us what to do..

The Namek
10-24-02, 12:59 PM
thank you kaz-g , this might come in handy.
I'm gonna experiment with it right away :)

Q-qeo
10-24-02, 01:10 PM
Thx, very handy. :tu:

kelly_b_c
10-24-02, 01:48 PM
Thanks, this looks like it will be a wonderful addition! :tu: :tu: :tu: :tu:

Flycatcher
10-24-02, 03:26 PM
Thanks, Kaz, this looks very promising - looking forward to giving it a "test drive". :tu: :tu: :tu:

I would like to add my support to MTB's suggestion - it would be really cool to have a switch on the panel that switched random rotation and/or flipping of the alpha between strokes on or off for the currently selected brush. No idea how feasiblle this is... soory, just being greedy! :rolleyes:

kaz-g
10-24-02, 05:40 PM
Morning. (in Japan)
Thank you for the coments, folks.

Mahlikus The Black, Flycatcher
Thank you for the idea and it sound very useful!!
I'll try to find any ways as soon as possible.

dr. jjwow
The new features are (just 2),
::Display all stocked brush by graphical icon
::ability to restore every brush setting everytime

(And I also add graphic skin. :))

I think this tool advantage is that can switch two tools alternately.(e.g. simple brush and blur etc...)
But if you memory 3 more brush (in situation, you need 5 color simple brushes), you have to push next or prev button several time to restore the brush you want use, in previous script.
Now you can choose the brush everytime directely, so you just have to push the button once.

I strongly recommend to use shortcut keys especially to call brush setting.
::Z key :Restore next brush
::X key :Restore prev brush
::any number key :Restore selected number brush

I think the shortcuts make this tool more handy.

Thanks. :)

kaz-g

Jaycephus
10-24-02, 07:41 PM
I have started doing some 2D painting/drawing in ZB, and even texturing on a 3D object is still really 2D, so I have been wanting something like this, and here it is!!!!! Thanks! This looks great, and I will be testing it out soon.

I want to add my own support to the concept of 'random' alpha orientation as a selectable option. I realize that this takes some programming work, as I am a programmer and have been learning ZBrush scripting, but I believe it is doable.

:) :tu: :tu: :tu: :)

Digits
10-25-02, 06:32 AM
Powerful script Kaz and well crafted. I going to spend some time getting proficient in its use. Thanks for sharing

Jaycephus
10-27-02, 07:20 AM
So far it seems to function wonderfully. :)

I was wondering about adding an option for the color palette to consist of stored colors, so that if the only thing you wanted to change on a brush was the color, you could quickly change back and forth between specific colors.

Jaycephus
10-27-02, 07:30 AM
Another feature that might be very desirable to add to this would be the ability to save and recall brushes from the Brush Stocker. (I call it the Brush Manager to myself.) If I start a drawing of a certain subject, chances are I want the same setup of different brushes each time I start a new drawing, or especially if I am continuing on the same drawing.

One way to help in this situation is to allow brushes to be saved and recalled to/from the disk. Another option would be to store all of the details about the current selection of brushes to disk, and then when the Brush Stocker is re-opened, it starts up with the previous setup of brushes.

Still, I think this script is great as it is.

kaz-g
10-27-02, 07:51 AM
Hi Jaycephus,

Thank you for the coment! :)

Yes I think so Save/Load stocked setting feature is very useful.

I'll investigate your suggestion soon.
(Though, the best way is next version supports ASCII text file handling (read/write) probably. :))

Thanks much!

kaz-g

p.s. Have you found any way to rotate alpha automaticaly while painting?
I've not still found it.

Digits
10-27-02, 09:44 AM
Hi Kaz-g, I was going to make the same suggestion as Jaycephus regarding saving your settings, it would make the script perfect. Using the new VarLoad and VarSave functions should make that pretty easy.

I poked around with the Rotate Alpha and did not have much luck.

[VarDef,Running,0]
[Ibutton,AlphaRotate,"Rotate Current Alpha 90 degrees",
[IPress,ALPHA:ROTATE90]
,,,'r'
]
[Ibutton,AutoRotate,"Rotate Current Alpha 90 degrees Every sec",
[Varset,Running,1]
[Sleep,1,
[IPress,ALPHA:ROTATE90]
[if,Running,
[SleepAgain]
]

]
]
[Ibutton,Halt,"Halt Alpha Rotate",
[Varset,Running,0]
]

You can manually Rotate it with keypress 'r' but I thought the sleep command would allow me to have the script change the alpha every 1 second. Unfortunetly every time I try to use my brush while the button is running zbrush crashes big time. I was hoping it would multitask but doesn't look like it.

juandel
10-27-02, 12:23 PM
looks like cornucopia-stuff - and like a wonderful utility, kaz-g! a zillion :tu:s! cant wait to check this out! would there be a way to displace recorded strokes (other than changing the brushsize)?

- juandel

kaz-g
10-28-02, 02:24 AM
Thank you for the comments!

Digits
It sounds nice that there is ability to save/load variables!
I wasn't aware the new scripting feature at all.
Thanks for the information.
I'll try to modify this tool soon!

Also I'll try your alpha script.
I think about multitasking too.

Juandel
I'm happy to hear from you here and thank you for the idea.
I'll investigate it after modifying save/load feature.

kaz-g

Jaycephus
10-30-02, 04:24 PM
Kaz,

Check out the Color Palette ZScript I wrote and placed in this thread:

Color Palette 1.3 (http://www.pixolator.com/zbc-bin/ultimatebb.cgi?ubb=get_topic&f=1&t=008848&p=)

http://www2.zbrushcentral.com/zbc_uploads/user_image-1036004092bed.jpg

It allows saving a 16-color palette with any filename to any location. And you can load it back in whenever you need it. The code in it would be a perfect example for how to save brushes to the harddisk. Feel free to use the code or the entire zscript however you like. If you wanted to incorporate the color palette and palette saving into the Brush Stocker interface, that would be great.

kaz-g
11-09-02, 10:12 AM
Hi folks,

I modified the script to add save/load feature.

BrushStocker110.zip (http://www2.zbrushcentral.com/zbc_uploads/user_file-1036865521wgd.zip)

Please check out top of the topic.

Thanks.

kaz-g

Pixolator
11-09-02, 11:16 AM
Excellent ZScript Kaz-g :)

A ZScript tip :: If the layout of your ZScript is screen-resolution depended, you can add the following command at the beginning of your ZScript ...

[PageSetWidth,640]


This command will set the width of the ZScript window to be the same as it would have been set when using 1024x768 screen-resolution. Adding this command will remove the screen-resolution dependency and eliminate the need to create (and test) multiple versions of the script.

Hope this helps :)
-Pixolator

Jaycephus
11-09-02, 11:38 AM
Thanks Kaz-g! This will be wonderful for painting!! :) :tu:

Thanks Pixolator for the tips. :tu:

kaz-g
11-09-02, 11:36 PM
Thanks Pixolator and Jay :)

:b3: Pixolator
Thank you for the suggestion.
I tried the function immediately it looks it is working correct!!
Thanks much!!!

By the way,
There is an anxious point in my script.
I wrote a routine to display tool icon and it is resolution depended.
Definitely you've known, if you use "image" function with variable (that should include some image path), the written image won't be refleshed when you overwrite the image with other image path.
(Maybe this is one of the reason why you use ZScript reloading technic on 'MaterialList' or so.)
But if you use image function with double quoted actual path, you can change the image later.
This is why I wrote the routine.
Will image function call from some routine affects "PenMove" sequence?

:b3: Jaycephus
Next, I'd like to try to associate with your color palette script.
Any idea?

Always thanks! :)

kaz-g

kaz-g
11-10-02, 12:41 AM
Hi folks,

I modified the script again.
Now the script is resolution free!!

BrushStocker1_11.zip (http://www2.zbrushcentral.com/zbc_uploads/user_file-1036918208the.zip)

Thanks Pixolator!

kaz-g

<font color="#949494" size="1"> November 10, 2002 Message edited by: kaz-g </font>

gummie
11-10-02, 12:46 AM
Thanks kaz-g, this seems like a great script to keep track of your settings. :)

Digits
11-10-02, 07:00 AM
Awesome script Kaz-g and even more fantastic now. Thanks again for sharing

kaz-g
01-19-03, 08:54 AM
Hi all,

Brush Stocker 1.12 is available.

BrushStocker1_12.zip (http://www2.zbrushcentral.com/zbc_uploads/user_file-1042995202omm.zip)

For detail, please see the top of the topic.
Enjoy!!

kaz-g

kaz-g
01-19-03, 09:08 AM
Sorry, I couldn't edit the top of topic.
Please check new topic for 1.12.

Brush Stocker 1.12 (http://www.pixolator.com/zbc-bin/ultimatebb.cgi?ubb=get_topic&f=1&t=009768)

Thanks.

kaz-g