SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / personal important maya question
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 26-01-2007, 03:22 AM   #1
danotronXX
Subscriber
 
danotronXX's Avatar
 
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313
Thanks: 0
Thanked 3 Times in 3 Posts
Default personal important maya question

I don't know how I can explain this but my problem is that in my maya animations, I want to put some compositing effects behind front objects but in front of rear objects.
heres a pic:


I could just do a layer render while hide everything but the guy in front but the problem with that is that I don't get the shadow casts from other objects or the correct lighting. is there any posible way to get the exact correct renders but in multiple layers? thanks
danotronXX is offline   Reply With Quote
Old 26-01-2007, 03:30 AM   #2
enhzflep
Subscriber
 
enhzflep's Avatar
 
Join Date: Oct 2006
Location: Melbourne
Posts: 313
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah, I can think of a way to do it, you'd just need to render the sequence twice.

#1) Render out whole sequence to tga stills
#2) Render out just the guy at the front in the chair - no need to worry about image quality for this part, we just want the alpha mask of his outline.

Then you could use the alpha channel from #2 to mask the special effect, and prevent it from appearing where the guy in the chair is. And there you have it, your effect appears in front of the guy swinging the punch, but is masked and so doens't cover the guy in the chair, thus appearing to be an effect between the two of them in 3d-space.

I don't use any decent compositing software, but I'm guessin that AE would do it(?)

Simon.
enhzflep is offline   Reply With Quote
Old 26-01-2007, 03:41 AM   #3
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
Thanks: 0
Thanked 2 Times in 2 Posts
Default

if you put just the guy in a separate render layer you shouldn't need to hide anything... choosing the render layer you put him in usually makes everything else invisible in your viewport automatically... and hiding things is probably what is preventing you from getting the proper render.

enhzflep: yea AE can do it, and pretty easily too. when you import footage files it asks you how to treat the alpha each time. you can ignore it, treat it as normal, treat it as pre-multiplied, etc.
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
Old 26-01-2007, 03:50 AM   #4
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

You can set the forward character to be a "black hole" in the render, do a search in the help files for black hole as I cant remember where it is (think its in the attributes for the material something like ambient something or other, not got maya open to have a look)

This would be the preferable way to do it, epsecially if you want a CG object to go behind a real object on a plate
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 is offline   Reply With Quote
Old 26-01-2007, 03:54 AM   #5
enhzflep
Subscriber
 
enhzflep's Avatar
 
Join Date: Oct 2006
Location: Melbourne
Posts: 313
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Alrighty then!

Thanks for that NeoStrider, you've just answered a couple of things for me. I've got a miniscule understanding of render layers, and that's given me food for thought.

I'm going to have to get off my backside and get AE methinks, thanks for the tidbit.

EDIT: Gster: What a goldmine of info, I'll have to remember that, taa. Thanx for the tip on RF too, got the claret flowing into a glass now.
Hmmm, where's my explosives... It's just a shame about that 10 minute reminder screen huh?, gad dammit.

S.

Last edited by enhzflep : 26-01-2007 at 03:56 AM.
enhzflep is offline   Reply With Quote
Old 26-01-2007, 05:50 AM   #6
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

Just upgraded from Maya 6 to 8.5, so prior to getting my new maya, I didnt have a plug in for realflow for 6.0 (as they only went as far back as 6.5) and not on 8.5 theres no plug in available yet!


P.S I found lots of realflow vids on there site too.
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 is offline   Reply With Quote
Old 26-01-2007, 07:32 AM   #7
danotronXX
Subscriber
 
danotronXX's Avatar
 
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313
Thanks: 0
Thanked 3 Times in 3 Posts
Default

great I learned a lot. I never knee there was render layers next to display but its great that I can see it now. Ill have to try the AE masking as well the concept seems to be a great idea.
danotronXX 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
New Moderators on Simply Maya Miss_Nova Site News & Announcements 21 17-05-2011 12:24 AM
Maya Hair/Polygon Error ingram_no.7 Members Lounge 13 10-12-2010 10:27 AM
Simply Maya Resources Online Miss_Nova Site News & Announcements 1 08-12-2010 08:36 PM
LayoutTools for Maya 2011 is here... ctbram Members Lounge 1 06-12-2010 10:32 PM
Open a Lightwave file in Maya 2011 radiant777 Maya Basics & Newbie Lounge 2 04-12-2010 02:45 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.