SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / ambient occlusion with mr shaders
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 06-07-2009, 07:15 AM   #1
Mayastatic
Subscriber
 
Mayastatic's Avatar
 
Join Date: Jul 2006
Location: germany
Posts: 154
Thanks: 0
Thanked 0 Times in 0 Posts
Default ambient occlusion with mr shaders

hello at all...

Im confused about the mental ray ao topic.
When I want to add ao to my scene, I have the abbilty to render in passes!
thats the way it works, but how is it possible to render an image with the ao includet.

because if I go to render globals and turn ao on and in the mr shaders attributes ao is also turned on, then in the rendered pic must be ao visible or not^!?
very confused how to setup ambient occlusion to be rendered in the final image.

has somebody any workflow tips, how to setup ao to be in a single image without layers!!??

Im using mia material x, with rubber preset, and I need nessesaryly ao in that image, because I have to copy an existing image, with some changes, but the look has to be the same, because of that its really important to know how to setup ao in mr!!! please help!!

thanks at all and sorry for my english! )
Mayastatic is offline   Reply With Quote
Old 06-07-2009, 09:06 AM   #2
elephantinc
Level 32 pachyderm
 
elephantinc's Avatar
 
Join Date: Dec 2007
Location: England
Posts: 1,859
Thanks: 12
Thanked 43 Times in 37 Posts
Default

Not really sure what your asking for. Are you just trying to do AO? Because then you create a mib_amb_occlusion node and connect its out value to the outcolor of the shader.
Ivr covered it in a bit more detail here http://elephantanimations.110mb.com/ao.html

If you want to combine it with a texture of something then you can bake it (cant remember what the option is called but its pretty obvious), this can take a while though and it may seem like maya has crashed when it hasnt
elephantinc is offline   Reply With Quote
Old 06-07-2009, 02:13 PM   #3
honestdom
The Nurb Herd
 
honestdom's Avatar
 
Join Date: Oct 2007
Location: London
Posts: 2,381
Thanks: 4
Thanked 298 Times in 288 Posts
Default

256 samples is way over the top imo. also you need to adjust the max distance depending on the scene.
The reason people have white as the background colour is because you need to multiply the AO layer over a colour layer.
honestdom is offline   Reply With Quote
Old 06-07-2009, 02:37 PM   #4
Mayastatic
Subscriber
 
Mayastatic's Avatar
 
Join Date: Jul 2006
Location: germany
Posts: 154
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I dont want to composit the layers together. there must be a way to say maya render that images but with built in ready composed AO.

in help e. t. are only compositing solutions available.

in cinema 4d you can hit AO and in your final image it is there.. so easy! why so hard in MAYA!?

probably another solution??? i have no more idea....
Mayastatic is offline   Reply With Quote
Old 06-07-2009, 03:49 PM   #5
honestdom
The Nurb Herd
 
honestdom's Avatar
 
Join Date: Oct 2007
Location: London
Posts: 2,381
Thanks: 4
Thanked 298 Times in 288 Posts
Default

turn on "render all layers"
honestdom is offline   Reply With Quote
Old 06-07-2009, 03:55 PM   #6
Mayastatic
Subscriber
 
Mayastatic's Avatar
 
Join Date: Jul 2006
Location: germany
Posts: 154
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey hammer!!! that sounds good!

can you tell me where that option is to find????

that were cooll!!!! thanks...
Mayastatic is offline   Reply With Quote
Old 06-07-2009, 04:12 PM   #7
Mayastatic
Subscriber
 
Mayastatic's Avatar
 
Join Date: Jul 2006
Location: germany
Posts: 154
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok done!! thanks, was a litte bit covered... thanks at all...
Mayastatic 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.