SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / maya and compositing (little bit advanced:)
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 13-11-2007, 02:08 PM   #1
farbtopf
Subscriber
 
farbtopf's Avatar
 
Join Date: Jul 2005
Location: London
Posts: 520
Thanks: 0
Thanked 1 Time in 1 Post
Question 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
Click image for larger version

Name:	example.jpg
Views:	45
Size:	25.3 KB
ID:	37150  
__________________
www.animateme.me.uk
farbtopf is offline   Reply With Quote
Old 13-11-2007, 03:26 PM   #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

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
gster123 is offline   Reply With Quote
Old 13-11-2007, 03:33 PM   #3
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

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
gster123 is offline   Reply With Quote
Old 13-11-2007, 03:33 PM   #4
farbtopf
Subscriber
 
farbtopf's Avatar
 
Join Date: Jul 2005
Location: London
Posts: 520
Thanks: 0
Thanked 1 Time in 1 Post
Default

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

__________________
www.animateme.me.uk
farbtopf is offline   Reply With Quote
Old 13-11-2007, 03:37 PM   #5
farbtopf
Subscriber
 
farbtopf's Avatar
 
Join Date: Jul 2005
Location: London
Posts: 520
Thanks: 0
Thanked 1 Time in 1 Post
Default

wow that sounds awesome, I never heard of that but sounds like a gooood feature.
sounds pretty much like what I want thaaaaanks!
__________________
www.animateme.me.uk
farbtopf is offline   Reply With Quote
Old 13-11-2007, 03:46 PM   #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

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
Click image for larger version

Name:	particles.jpg
Views:	34
Size:	53.3 KB
ID:	37153  
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 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

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.