Introduction to Maya - Modeling Fundamentals Vol 2
This course will look in the fundamentals of modeling in Maya with an emphasis on creating good topology. It's aimed at people that have some modeling experience in Maya but are having trouble with complex objects.
# 1 16-03-2004 , 02:29 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695

Z Channel

Does nayone know how to use Maya's Depth Channels? I know I can fake it by writing a depth shader, but I'd prefer not to. According to the docs "If the output format is not IFF nor RLA, Maya writes a separate depth file containing a black RGBA image with depth values. " However, I've tried that multiple times, and if it is saving a separate file, it dores a good job of hiding the location of said image.

Thanks for any help.

-dann

# 2 16-03-2004 , 04:01 AM
roach105's Avatar
Subscriber
Join Date: Dec 2002
Location: T.O Baby!
Posts: 1,016
You can turn on the z depth channel in the render global options. If you save out to RLA or even tif it should save the z information in the file. I have not yet got this to work in After effects but it does work well in shake

# 3 16-03-2004 , 04:56 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
thanks, but I need it to save as a separate file like it says it should since we work with After Effects.

# 4 16-03-2004 , 06:05 AM
Registered User
Join Date: Jan 2003
Location: saudi arabia(Indian)
Posts: 4
well i currently don't have an idea about maya channel!but i know that india is the second largest channel in the world after america!

# 5 16-03-2004 , 07:25 AM
drizzt's Avatar
Registered User
Join Date: Oct 2003
Location: Victoria, Australia
Posts: 24
????

# 6 16-03-2004 , 10:01 AM
Clod's Avatar
Registered User
Join Date: Jan 2004
Location: Ireland
Posts: 201
LOL user added image

# 7 16-03-2004 , 10:22 AM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Swinging this conversation swiftly back onto topic.

The z-depth channel can be used only in iff files (mayas own format). As a test turn it on in the globals and then render as an iff. Open the resulting file in fcheck and then push z you should see the depth info.

As for using it in aftereffects I can't tell you as I dont use it. However there is an adobe plugin that allows you to view iff's in photoshop and seeing as photoshop is so closely linked to aftereffects it should probably work with that too. You could then pull that channel out and use it as required.

Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 8 16-03-2004 , 04:08 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
OK, so we're all agreed that the Maya docs are wrong and it will not write a separate z depth file?

# 9 16-03-2004 , 04:24 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
I've never managed to get it to. It's supposed to but you should just render it as an iff and get it that way.
Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 10 16-03-2004 , 05:00 PM
roach105's Avatar
Subscriber
Join Date: Dec 2002
Location: T.O Baby!
Posts: 1,016
Hey guys, you can render out seperate depth file. To do this you must render out in a file format other than RLA and IFF which have the Depth in the file. If you use something like a tif it will render out a seperate file.

e.g.
untitled.tif
untitleddepth.iff

It should create a iff file for the depth

After effects does not seem to handle iff and RLA depth files well so you must extract seperate.


Last edited by roach105; 16-03-2004 at 05:07 PM.
# 11 16-03-2004 , 05:13 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
see I've never got that to work for me (and believe me I've tried!! user added image) but if you get it going then cool. As for using them in after effects see if you can find the plugin I was talking aboot.

Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 12 16-03-2004 , 05:16 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Yeah Roach, if you see the original post, you'll notice that that is what I wish Maya would do, and what it claims to do, but it never renders out the separate file. If it does, mabe it renders it directly to the Recycle bin, and then empties it before I can notice?

# 13 16-03-2004 , 05:17 PM
roach105's Avatar
Subscriber
Join Date: Dec 2002
Location: T.O Baby!
Posts: 1,016
weird, it worked for me.

are you on Maya 5


Last edited by roach105; 16-03-2004 at 05:19 PM.
# 14 16-03-2004 , 05:21 PM
jsprogg's Avatar
Lifetime Member
Join Date: Feb 2004
Location: Chicago
Posts: 1,712
it always creates a depth for me if it's checked in the render globals...if I save to tiff or targa I also gat an iff that is a depth chanel




2 x Modeling Challenge Winner
# 15 16-03-2004 , 05:21 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
i've tried on 4 and 4.5 and had no success. To be honest I'm not fussed I mean I can get away with iffs and it means I only have on efile to worry about losing .... user added image

Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads