PDA

View Full Version : Transparency Maps Tutorial


aurick
10-25-01, 05:26 PM
Greetings, everyone!

Something that you've seen me use in projects like the two butterfly pictures and in my recent Poser-to-ZBrush projects involved the use of Transparency Maps.

As many of you know, you can make any texture into a transparent texture, which makes any parts of an object that are covered by a black texture invisible. There are two drawbacks to this method. First, what if there are some black parts of the texture that you want to keep? Second, transparent textures sometimes leave a subtle, yet annoying, black edge.

Necessity being the mother of invention, catalyzed by Joe Dorsey's "Size Matters", I hit upon the technique that is taught in this tutorial script (http://www2.zbrushcentral.com/zbc_uploads/user_file-1004055740xoi.zip).

Edit: For the script to work in version 1.51, you will need to also download this text file (http://www2.zbrushcentral.com/zbc_uploads/user_file-1031163100wzi.txt) kindly provided by Jaycephus and use it to replace the text document downloaded with the Zip file above.

The technique is useful for a variety of purposes, both in 100% ZBrush work, and in texturing or modeling using objects imported from other programs.

To run the script, just download it by right-clicking on the link above, then unzip it to your ZScript folder. This will create a new folder for you called "Masking". There are two files in it, which must remain together if you choose to move the script to another folder.

Please let me know what you think! I've been very careful this time to keep it completely within the realm of what the Demo version can do, so it can be played by anybody. :)

Cheers!

Kathy
10-25-01, 05:38 PM
I'll agree on the subtle black edge statement. :p

One of those busted my chops on a project. (I ended up going in a different direction)

Thanks aurick!!! :D :tu:

Stonecutter
10-25-01, 05:46 PM
One of the clearest ZScript tutorials I've seen, and a real eye-opener on the power of Alphas! :cool: :D :cool:
Thanks for the clear explanation, Aurick...a real winner! :tu: :tu: :tu:

Tag
10-25-01, 07:11 PM
Great script Aurick, thank you!
I had never tried the 3D copy feature before the texture master script. I've been reading about it since and thinking it would be interesting to take a look at, but I didn't have a clue on how to use it. Your script so clearly showed both 3d copy and showing and hiding points with alphas, thanks.

Muvlo
10-25-01, 08:58 PM
Thanks for the script Aurick! :) Scripts like this one and TM have really shown me the power of texturing, something I'd never given much thought too....
:tu: :tu: :tu:

drjjwow
10-25-01, 10:41 PM
man o man this is a really cool script.. down the road when version 200.10 comes out this tut. will still be smoke'n... thanks you so much im learning alot from you .... thanks again

cneofotistos
10-26-01, 12:23 AM
=* , aurick.

<BLOCKQUOTE>quote:</font><HR> a thinking artist is no suprise <HR></BLOCKQUOTE>

juandel
10-26-01, 10:22 AM
what an addition to z-knowledge! wonderful, Matthew! :tu: :tu: :tu:

- juandel

Tony
10-26-01, 04:42 PM
Thanks Aurick! This Z-newbie can use all the help he can get.

Jaycephus
09-04-02, 11:13 AM
One line in the .txt file needs to be changed to work with 1.5. (AUTOINT changed to AUTO INTENSITY)

Here is the updated file:Transparency Masking.txt (http://www2.zbrushcentral.com/zbc_uploads/user_file-1031163100wzi.txt)

aurick
09-04-02, 11:19 AM
Thank you, Jaycephus. I have linked to it in the tutorial description above, as well. :tu:

SpaceMan
05-03-04, 09:18 PM
Thanks aurick and Jaycephus- the zip and replace txt with Jaycephus's text file works in Z2

BazC
05-05-04, 02:59 AM
Greta script, I've learned a lot from it! Thanks Matthew - Baz

aurick
05-05-04, 10:24 AM
http://www2.zbrushcentral.com/uploaded_from_zbc/200405/user_image-1083777712bls.jpg

ZBrush 2 makes it even easier to do this.

In the example above, I have simply applied the texture (which as you can see is non-transparent) to a single polygon plane, and also left the alpha selected. No masking at all has been used here. Z2 uses the alpha for visibility and the texture for color -- with better results than a transparent texture would accomplish!

Frenchy Pilou
05-05-04, 12:31 PM
Magic :cool:
Pilou

Abyssis
05-06-04, 02:33 AM
Dear aurick,

would you kindly tell me, what´s wrong with me or my ZB2.0 ??

Thanks in advance 4 your patience...

http://www2.zbrushcentral.com/uploaded_from_zbc/200405/user_image-1083835954hwv.jpg

SpriteD
05-06-04, 03:41 AM
I had the same problem, and at that point the curser turns to the red edit type and the script stops. Now if I manually click on the 3d button the texture will transfer but the script doesn't continue.

ZaBenkei
05-06-04, 04:47 AM
I had the same problem. For me it worked to use just Jaycephus' txt file instead of Aurick's in Z2.

Fouad B.
05-08-04, 12:31 AM
Matt, I don't know if I understand your explanation about transparency with alpha, but you said alpha can be a mask to do transparency, but how? i can't do that.