Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 13-11-2007 , 03:08 PM
farbtopf's Avatar
Subscriber
Join Date: Jul 2005
Location: London
Posts: 520

maya and compositing (little bit advanced:)

Hi there,

sorry I posted the problem here, because I think th basics & newbie forum is probably the one most people look at.

Ok here's my problem, (see attached picture) I've got my object in space and various particles moving around it. I have to render object and particles in two separate passes for compositing.
The problem I come across when comping is if I render out a matte for my object it will block out all the particles that would usually pass in front of it.
Vice versa if I don't do the matte the particles will not disappear behind my object.
Masking is not an option as there are waaay too many particles. The depth matte plugin in After effects does not work as maya doesn't seem to put the necessary information in my image sequence, so I'm kinda stuck.
My thought was to somehow tell maya that it should only render particles up to a certain distance from the camera (see dividing line in drawing)

If anyone knows of a way how to deal with this I'd be really happy for help.

I'm not sure if shake can do what I need plus I have never used it. But if there is a way with shake and it doesn't require expert knowledge please let me know as well.

thanks guys

Attached Thumbnails

www.animateme.me.uk
# 2 13-11-2007 , 04:26 PM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
I thought that a Matte would not mask out the the things in front??

I've not tried it myself but thought thats what it would do the best? If you dont get an answer i'll have a play tomorrow.


"No pressure, no diamonds" Thomas Carlyle
# 3 13-11-2007 , 04:33 PM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Hi There

Just gave it a test and if I get what your after, I just set a material to "black hole" in the Matte Opacity and it rendred the particles in front but masked of fthe ones behind??


"No pressure, no diamonds" Thomas Carlyle
# 4 13-11-2007 , 04:33 PM
farbtopf's Avatar
Subscriber
Join Date: Jul 2005
Location: London
Posts: 520
Hey gster, thanks

no unfortunately a matte cannot differentiate between what's where in terms of depth, -at least as far as I know

and you don't need to do all the work for me, unless you want to. But of course I'm not going to stop you

user added image


www.animateme.me.uk
# 5 13-11-2007 , 04:37 PM
farbtopf's Avatar
Subscriber
Join Date: Jul 2005
Location: London
Posts: 520
wow that sounds awesome, I never heard of that but sounds like a gooood feature.
sounds pretty much like what I want thaaaaanks!user added image


www.animateme.me.uk
# 6 13-11-2007 , 04:46 PM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
No Probs, heres a bit of a pic,

I made a sphere and emmited particles from it, on the left is a material with the matt opacity set to "black Hole", as you can see it shows the particles at the front and blocks the ones at the back, on the right is with the sphere hidden so you can see all the particles at the back.

I rendered with Mental ray as it now renders hardware particles.

Attached Thumbnails

"No pressure, no diamonds" Thomas Carlyle
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