Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 26-10-2008, 03:58 AM   #1
mtcgs
Registered User
 
Join Date: Dec 2007
Posts: 124
Thanks: 0
Thanked 11 Times in 11 Posts
Default Image Matte ...

Is there a way to create a mask of an object limited to the camera view ONLY. As an example ... lets say you have a box with an object placed in it. The object sticks out the top of the open box, it could be a board or what ever. If I render out alpha channels for both objects the masks are of the complete object. Can I also create a alpha of only what the camera sees sticking out of the box and not include what is hidden inside the box.
mtcgs is offline   Reply With Quote
Old 26-10-2008, 04:05 AM   #2
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

Yes

Have a look into using the matte opacity settings for the materials, that should get you going in the right direction as well as rendering in layers.
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 is offline   Reply With Quote
Old 26-10-2008, 05:14 AM   #3
mtcgs
Registered User
 
Join Date: Dec 2007
Posts: 124
Thanks: 0
Thanked 11 Times in 11 Posts
Default

Rendering in layers gives me the entire object. I then have to go into PhotoShop and outline the areas the camera wouldn't see and delete them. I want to generate a mask of only what the camera sees of an object. Can a mask be created for only specific faces of an object ... just the faces the camera sees. Like "Camera Based Selection".
mtcgs is offline   Reply With Quote
Old 26-10-2008, 06:14 AM   #4
LauriePriest
Moderator
 
LauriePriest's Avatar
 
Join Date: May 2003
Location: London
Posts: 1,001
Thanks: 0
Thanked 59 Times in 51 Posts
Default

do an ID pass, its when you assign a surface shader of a different color to each mask you want in your scene. Then in your compositing package you can select that color and use it as a mask as you wish.
__________________
FX supervisor - double negative
LauriePriest is offline   Reply With Quote
Old 26-10-2008, 06:30 AM   #5
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Normally, like LP just said, in post you would use the Alpha/ID of the occluding object(s) to "cut-away" the alpha of your target object.

However, you seem to want to make a single pass with this operation already done.

So, below is the fastest and easiest way this can be achieved directly in Maya rather than the normal way of using matte or ID passes:

-Select the shader that you have applied to the box, and open its' attribute editor and under Matte Opacity, change the drop-down box to BLACK HOLE.

This will do exactly what you require to both the color and the alpha of the result.

There are also other ways to achieve this directly in Maya, but like I said normally in production one would do this operation in post and simply use the alpha or ID pass of the "occluding" object to remove/occlude the contents of your box
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 26-10-2008, 06:45 AM   #6
mtcgs
Registered User
 
Join Date: Dec 2007
Posts: 124
Thanks: 0
Thanked 11 Times in 11 Posts
Default

Thats it. Thanks to all. I'm looking for a way to separate complex CAD components from each other pre-post. Like engine components, and do it all at once.
mtcgs is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Breakfast - Original SM Gallery Image by Philip Miss_Nova Simply Maya Gallery 4 19-04-2011 07:37 PM
Stratocaster - Original SM Gallery Image by Philip Miss_Nova Simply Maya Gallery 2 31-12-2010 10:30 AM
Fan - Original SM Gallery Image by Dreamtalks David Simply Maya Gallery 4 22-12-2010 05:46 AM
Rhinoman - Original SM Gallery Image by Septopus David Simply Maya Gallery 0 09-12-2010 02:42 PM
Physical Fitness Center Lounge - Original SM Gallery Image by Philip Miss_Nova Simply Maya Gallery 0 05-12-2010 12:32 PM

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.