Ambient Occlusion Troubles Mental Ray 2009

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  05 May 2009
Ambient Occlusion Troubles Mental Ray 2009

Hello all,

Just upgraded to Maya 2009 and I'm having trouble getting my AO pass to work with the new mental ray render pass system. I created a new render layer, added my desired objects, and set an AO preset for the layer. However, with that render layer selected, when I hit render it treats it as if it were just the master layer... that is, no AO.

When I do a batch render, it renders out the AO layer and the master layer, but the AO layer isn't coming out properly. It's entirely white except for the background, like a white silhouette on black.

I've been trying to figure this out for awhile today and google hasn't been of much help. Any help would be greatly appreciated.
  05 May 2009
I think you might have to turn on "ambient occlusion" in the indirect lighting section of the mental ray render settings.
  05 May 2009
Thanks ytse77, but unfortunately I have had that enabled and it still doesn't work. Is there some fundamental difference between 2008 and 2009's pass system aside from the interface? Do the presets not actually set up the pass?
  05 May 2009
try setting up an AO layer manually

-override reflections/refractions/max depth to 1/1/2
-override camera bg color to white
-disable final gather
-remove any existing lights
-make sure raytracing is enabled
-create a surface shader, assign texture mib_amb_occlusion
-assign shader to all objects
-make sure you're not tonemapping that layer
  05 May 2009
Thanks for the reply. I can definetly set up AO the manual way, but I really want to get the pass system working properly (might as well just go back to 2008 for my purposes). I tried downloading someone else's .mb that has AO set up and that wasn't working so I'm going to try and reinstall.
  05 May 2009
I read the documentation a little better and discovered part of my problem. I was trying to load the AO pass without actually rendering it. Evidently... I have to render out the beauty pass always and the AO will render in the background.

Does anyone know how I can just render out an AO pass without the beauty?
  05 May 2009
to render only the Oclusion just turn off the beauty render in the layers (only unselect the chechbox on left)

Have a nice day

By the way in the render settings chose render in layered PSD (file type)
  05 May 2009
if you mean you're trying to get AO out of the passes system based on a mia_material_x_passes, it won't really work. the AO actually comes out as part of your "indirect" buffer.

if you set up custom color buffers in your scene, you could get an AO pass as a render buffer but it wouldn't match your mia_material's built-in AO, obviously. i don't know of a way to get AO from the mia_material separate from the indirect buffer.
  05 May 2009
the last post just sums up maya these days for me.....I'm sure Autodesk are trying to get rid of maya by making previously simple things convoluted...there again, I think my brain might be dying trying to keep up with all these new features

Last edited by francomanko : 05 May 2009 at 06:43 AM.
  05 May 2009
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

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
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 09:44 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.