Alpha maps and z-buffer depth maps

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  03 March 2003
Alpha maps and z-buffer depth maps

Geometry with alpha maps are not included in the depth channel?

Apart from tricky comping of alpha into depth map - does anyone know of a way to get these to render into the z-channel?

  03 March 2003
As far as I know, you enable the Z-buffer and save the images as a TGA (TARGA) and you should be able to get the alpha of the image.

Prolly not what you're lookign for though,
  03 March 2003
I'm guessing your refering to transparency from a map on a model? No Z does not recognize transparency, only geometry. Thats why stuff like fur and paintfx has trouble with rendering behind transparent objects. Use a fake Z shader instead of the real thing. Then you get other benefits like antialiased Z.
  03 March 2003

Actually, Zdepth maps can be rendered with transparency, just make sure you select furthest distance (facing normals to cam) and set the transparency treshold to 1.

This way you'll get transparency in your z buffer, and can make (for ex) transparent shadows with dmaps...

Emmanuel Campin
Infographiste 3d - Maya
  03 March 2003
Beaker - you're on the right track - I was hoping I wouldn't have to mess around with this, being an animator and not generally dealing with this stuff, it's a steep learning curve.

Is it a difficult process to convert all geom to the one shader?

(wishful thinking) anyone got a link to a mel that converts all shaders to grey etc....?

pixho - your method is intriguing yet vague! Care to shed a bit more light on this process.

thanks all for the replies.

  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 01:14 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.