Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 15-08-2006, 02:02 PM   #1
Velusion
Registered User
 
Velusion's Avatar
 
Join Date: May 2004
Location: Utah, USA
Posts: 368
Thanks: 0
Thanked 0 Times in 0 Posts
Default ambient occlusion question

Here is a link to a test video clip I rendered
1.45 meg quicktime

I used a Maya blinn material along with the mental ray mib_amb_occ texture which I plugged into the color and ambient channels of the blinn.

Here are the amb_occ setting I used:
64 samples
spread: .8
Max dist: 30
reflective: on
Mode: 0
Falloff: 1

I rendered using mental ray production settings. There are no lights in the scene. I set the max dist to 30 because I didn't want the floor to create too much occlusion on the underside of the model. At 0 the underside of the model was too dark. I set the reflection to ON because it gave a more interesting look.

As you can see in the video, the camera is doing a simple turntable loop around the model. The occlusion texture is working well except that it is strobing. I don't know why it is strobing. I want to use occlusion passed for compositing but it won't work with the present results I'm getting.

Any ideas on how I can eliminate the strobing?
__________________
James Rogers
www.morphicmotion.com
Velusion is offline   Reply With Quote
Old 15-08-2006, 07:05 PM   #2
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

it looks like a sampling error. Try upping the samples, also turn reflectiions off so that you can elimate that as the problem. Also I'm not 100% on your occlusion render. Shouldn't there be occlusion on the ground below the object too?

Try increasing the number of rays etc to up the samples (i'm no MR expert though! )



A
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 15-08-2006, 10:19 PM   #3
vladimirjp
Subscriber
 
vladimirjp's Avatar
 
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871
Thanks: 0
Thanked 4 Times in 3 Posts
Default

do you have FG on?

u also might want to increase the spread close to 1. i ususally use .9-.95

it might also be because its calculating the occlusion for every frame. so since you have max distance not at 0, at each frame the mesh is slightly farther or closer to the camera center of interest, so its calculating the occlusion differently on each frame.

yous hould, bake an occlusion map using transfer surface info [i think in maya. ] and use that map. it will increase render speed by 1000x

or leave max distance to 0
__________________
Image dump
vladimirjp is offline   Reply With Quote
Old 16-08-2006, 08:41 AM   #4
Velusion
Registered User
 
Velusion's Avatar
 
Join Date: May 2004
Location: Utah, USA
Posts: 368
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks guys. The strobing went away when I turned the reflective switch off. It makes sense since the reflective switch cause the rays to bounce off the surface at an angle rather than along the normals. Also, I turned the max distance up to 300 which gave much better results without occluding the bottom of the model too much. I also played with the spread a bit and finally settled on .9... I messed around with the fall off too just to see what it does but I think that in the end, I left it at 1.

Right now I'm just trying to get comfortable with the mib_amb_occ texture because I have a lot of rendering to do and I want to use it as one of my render layers.

Question: Do you think I should use the occ texture just to generate the occlusions created my the model inself (self occlusion) or should I include all other geometry in the scene in the occlusion? I'm wondering if it is better to do a normal shadow pass for the model to capture the shadows that other geometry in the scene might be casting onto it... I"m not sure I'm stating this correctly. Basically I'm wondering if the model's self occlusion should be one pass and all other shadows on the model should be a seperate pass.
__________________
James Rogers
www.morphicmotion.com
Velusion is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.