ZBrushCentral

Finished Zplugin: ZQuickMask

[attach=12584]ZQmaskpic.jpg[/attach]

ZQuickMask is a plugin for anyone who wants to paint their own masks.


  • Click the button to enter ‘mask mode’.
  • Paint your mask. You can use any alpha or stroke.
  • Shift+click the button when you’ve finished to convert to stencil.

The mask is ‘flat’, with no depth info or soft edges: ideal for masking areas of a 2.5D painting before applying color or materials.

Use ZQuickMask to create stencils for use in Projection Master to help texture models.

When using with Projection Master it is best to make the mask/stencil before using Projection Master.

Full instructions in the zip.

I hope you find ZQuickMask useful.

[EDIT:
I’ve revised the plugin slightly, just added a couple of error messages and a small bug fix.

A few points:

    To erase mistakes use the ‘TransMat’ custom material loaded when ZQuickMask is launched. You’ll find it at the bottom of the Materials palette; it looks flat white.
  • For basic painting use the ‘MaskMat’ custom material loaded by default (flat black).
  • Any tool, alpha, stroke or material can be used with sometimes interesting results. :wink: Adjust lighting and use Best Render for fibers etc.
  • To save a stencil for re-use, export the appropriate alpha. When re-using, import the alpha,then load the custom curve from the ZStartUp\ZPlugs\ZMask_data folder before pressing the Alpha>Make Stencil button.

Attachments

ZQmaskpic.jpg

Thanks Marcus, I can use it. Works all fine! :+1: :+1:

This is something I have been waiting to see implemented for a long time.
Thanks you are a true asset to the Zcommunity.

Very Cool Thanks!!! :+1: :+1: :+1:

This is something I’ve wondered about for a while. Great potential! Thanks Marcus.

Sven

Usefull?!! YES. My thanks, Marcus 50.

Very interesting… I have to try it fastly… Thanks!

Wow, cool, excellent! There goes the Saturday morning 8-). It should be forbidden to post cool toy’s friday afternoon :D:D:D

Thanks!:+1:small_orange_diamond:+1:small_orange_diamond:+1:
LemonNado

Thank you so much! Can’t wait to try it out!!

Awesome Dood! :+1:small_orange_diamond:+1: I must admit I had forgotton all about the stencil tool, this is pretty slick

Sweet!!!

I needed a new toy to tear me away from Digits worm widget which I have been having way too much fun with…

there oughtta be a law…

that we get a new toy every 2 weeks hahahaa.

Cool, Thank you Marcus!!!

Thanks for the comments, guys. It means a lot. :slight_smile:

A small update at the top of the thread. Also adjusted the instructions slightly. You can use pretty much what you want when making a mask with sometimes pleasing results. The image used the fiber material among other things…

posterize.jpg

You script & plugin dudes make my day, everyday…

Thanks Marcus, great work & very useful…:smiley:

A superb script.

Many thanks for your hard work and generosity.


P.S Did ZLauncher ever get re-written for ZB2 so this could load when I start the application? I

never could get the old version of Zlauncher to work correctly with ZB2 on the Mac.

Thanks guys. :slight_smile:

Boozy,

ZQuickMask is designed as a plugin and if installed to your ZStartup\ZPlugs\ folder will load on start up. You can Ctrl+drag the button to your interface and then store the configuration (Ctrl+Shift+I) to keep it there.

And if you want to use ZLauncher, it works fine with ZB2. You can get ZLauncher to load automatically at start up by editing your default zscript (I think there are instructions with the original post by Pixolator but PM me if you need help to do this).

Any problems, let me know.

Cheers,

Marcus,
I never realised that this was possible with plug-ins.
Thanks for that tip.

I’ve always loaded them as zscripts.

Can any script be loaded in this manner as a plugin?

Casting my mind back to the ZLauncher issue I’m sure I tried that workaround some time ago but never got the original full functionality.

I’m shy to try it again incase of melencholy.

No, you can’t load a zscript as a plugin. A plugin script is coded to add a button to the interface; without the code, it won’t appear and you won’t be able to access the script.

If you want a particular zscript to load at start up, the simplest way is to edit the default zscript… but I agree, melancholy should be avoided.

Many thanks for the extra info.

BTW your script is a wonderful time saver from previous work-arounds to achieve this effect.

What a great idea.

A quick doodle using your plugin to say thanks.

lion.jpg

Boozy,

I’m delighted that you find the plugin useful, and thank you so much for the doodle-poodle; truly appreciated! :+1:

If should you think of any possible improvements to ZQuickMask, let me know.

[EDIT: Oops, just saved to my special ZPictures gallery. Doodle-poodle-LION, my apologies to the delightful creature ! :slight_smile:

Cheers,

Pilou