SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 26-10-2008, 02: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, 03: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, 04: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, 05: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, 05: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, 05: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
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

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 06:37 PM
Stratocaster - Original SM Gallery Image by Philip Miss_Nova Simply Maya Gallery 2 31-12-2010 09:30 AM
Fan - Original SM Gallery Image by Dreamtalks David Simply Maya Gallery 4 22-12-2010 04:46 AM
Rhinoman - Original SM Gallery Image by Septopus David Simply Maya Gallery 0 09-12-2010 01:42 PM
Physical Fitness Center Lounge - Original SM Gallery Image by Philip Miss_Nova Simply Maya Gallery 0 05-12-2010 11:32 AM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.