PDA

View Full Version : Multiple Mattes into one multi channel exr file


wabash
07-07-2010, 10:19 PM
I spend a lot of time creating RGB Mattes for comp. Is there a good way to pump in several object id's (I'm not sure if Object Id's is the right terminology) or specify geo into specific channels of an exr file.

Would love to have one render layer that pumps out an exr with a different object matte in each channel.
Anybody doing this? Does the question I pose make sense?

Thanks for your help.

kiryha
07-08-2010, 09:53 AM
One way you can do it is use Deex shader pack (http://www.creativecrash.com/maya/downloads/scripts-plugins/rendering/mental-ray/c/deex-shaders-pack-mentalray-shader-re-writed-for-pass)( its mia material with rewriten pass output system).
There is 10 extra buffer chennals for masks in material. Object ID you can get with minObjectID free shader.
Here is small tutor about it: MR production workflow (http://kiryha.blogspot.com/2010/06/mental-ray-production-workflow.html)

Libor
07-09-2010, 08:55 AM
use single render layer and assign contribution map(s) then assing render passes to them (matte etc)

pretty simple

Cheers!

P.S. if you are still confused just check manual for "contribution maps" ...basicaly its selection set of objects which should appear in assigned render pass and you can create zillion of them in just one render layer

wabash
07-13-2010, 04:18 PM
Thanks guys will try both methods.

Libor. By using contribution maps. These different contribution maps will show up as different channels in the .exr file?

CGTalk Moderation
07-13-2010, 04:18 PM
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.