PDA

View Full Version : Z3 & Z4 - Grow a Mask



eldee.s
09-05-10, 10:18 AM
I've seen this question come up before, and never thought much of it when people have responded that it's not possible- but this weekend I was working on something where I needed to do just that, and I've found a method for actually growing or shrinking a mask- in addition to some other cool tricks using the same principles.


1) First, draw the mask on your mesh as normal, using whatever masking techniques you wish:

step1.jpg

2) Press Tool->Visibility->[HidePt] - This will hide every polygon except for what you had masked.

step2.jpg

3) Hit the Grow button in the visibility palette until you have grown the 'mask' to your desired size. The growth of the mask is dependent on topology, so you may end up with some minor artifacting (such as what is visible in the following screenshot). These artifacts are easy to clean up when we finish, and even easier to avoid by keeping your geometry in nice clean quads. The Demo Rhino I used has some really nasty triangular loops in the areas that you see the artifacts in.

step3.jpg

4) Press Tool->Masking->[MaskAll]

step4.jpg

5) Hit the [ShowPt] button in the visibility palette. Now you have a 'grown' mask!

step5.jpg

As a bonus, try playing around with other settings to get cool results, such as this outline/border of my original mask:

bonus1.jpg

And the resulting mask:

bonus2.jpg


This trick will work in all versions of Z3 and also Z4, so it's been around for a while waiting for somebody to stumble over it. I imagine something like this can be easily scripted into some sort of automated process, but it's simple enough to where it's not completely necessary either.

One obvious downside of this method is that you are not able to see the rest of the mesh as you grow your 'mask', but with some trial and error and pre-planning it hasn't been that big of a deal in my testing.

The other downside is that this method of mask growth is binary- the polygon is either 100% masked, or not at all- it does not preserve any mask fading at any point in the process- so you will need to take this into consideration when you are planning out your mask. For my purposes, it was sufficient to draw the mask, and then rely on BlurMask/SharpenMask to get the final softness i was looking for.

Anyway, hope this helps somebody, and hopefully Pixologic will implement proper mask growing in a future update!

Francis Bezooyen
09-05-10, 11:26 AM
Good to know. Thanks for sharing.

Extra Dimensional
09-05-10, 02:45 PM
One obvious downside of this method is that you are not able to see the rest of the mesh as you grow your 'mask', but with some trial and error and pre-planning it hasn't been that big of a deal in my testing.
!You can get around that by snapshotting the model to the canvas before you begin. Snapshot is in the Transform palette and will drop an image of the model in it's current state directly to the canvas. Then you can hide and grow while still seeing the model.

When you're done, hit Ctrl + N to clear the canvas of the snapshot.

digelz
09-10-10, 02:58 PM
Magnanimous!!!
(http://www.merriam-webster.com/dictionary/magnanimous)

:D (http://www.merriam-webster.com/dictionary/magnanimous)

Arthaven
08-25-11, 01:48 PM
You can get around that by snapshotting the model to the canvas before you begin. Snapshot is in the Transform palette and will drop an image of the model in it's current state directly to the canvas. Then you can hide and grow while still seeing the model.

When you're done, hit Ctrl + N to clear the canvas of the snapshot.
I'm a bit late to the party here but you could also duplicate that SubTool and use Transparency or Ghost if you really needed to see the rest of the model while you use this.

ziaweslee
09-01-11, 07:40 PM
WOW!! Thanks for this detailed instruction!

usurpator
12-02-11, 11:32 AM
great thread! thanks for sharing this useful trick!

mail2cmin
12-04-11, 12:24 AM
great thread! thanks for sharing this useful trick!