Beer glass scene creation
This course contains a little bit of everything with modeling, UVing, texturing and dynamics in Maya, as well as compositing multilayered EXR's in Photoshop.
# 1 26-01-2007 , 04:22 AM
danotronXX's Avatar
Subscriber
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313

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:
user added image

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

# 2 26-01-2007 , 04:30 AM
enhzflep's Avatar
Subscriber
Join Date: Oct 2006
Location: Melbourne
Posts: 313
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.

# 3 26-01-2007 , 04:41 AM
NeoStrider's Avatar
Registered User
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
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.
# 4 26-01-2007 , 04:50 AM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
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
# 5 26-01-2007 , 04:54 AM
enhzflep's Avatar
Subscriber
Join Date: Oct 2006
Location: Melbourne
Posts: 313
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. user added image

S.


Last edited by enhzflep; 26-01-2007 at 04:56 AM.
# 6 26-01-2007 , 06:50 AM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
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
# 7 26-01-2007 , 08:32 AM
danotronXX's Avatar
Subscriber
Join Date: Jun 2005
Location: cleveland ohio
Posts: 313
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.

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