Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Lighting & Rendering (https://simplymaya.com/forum/forumdisplay.php?f=17)
-   -   ambient occlusion ray direction (https://simplymaya.com/forum/showthread.php?t=35279)

cg451 12-03-2011 08:52 PM

ambient occlusion ray direction
 
how to i change the lighting direction for the ambient occlusion to match my scene lighting

daverave 12-03-2011 09:08 PM

I dont think you can on light direction(will be proved wrong) if you show a shot of the problem there might be another solution..........dave

cg451 12-03-2011 09:41 PM

the model is lighted from underneath, but the occlusion is as lighted from above, i guess i could flip my model upside-down for the occlusion pass but that seems odd method to me

daverave 12-03-2011 09:54 PM

ambient occlusion is created from the models geometry not a light source that is way I said show us a shot a sreen shot to see if we can help..........dave

cg451 14-03-2011 03:21 PM

i think i understand the problem then, i have a white floor under the model to reflect light up onto it, on the occlusion pass i guess this is actually making some areas darker

cg451 15-03-2011 05:29 PM

yep works ok now

honestdom 15-03-2011 10:58 PM

i think the problem is misunderstanding ambient occlusion... which creates contact shadows when one object is close to another. you can turn off ambient occlusion on specific geometry. would this be helpful to you?

Jay 16-03-2011 08:05 AM

thanks Dom for clearing that up.

Jay

honestdom 16-03-2011 09:53 AM

if you want to have an object not occlude itself.
select the geometry, create an attribute called "miLabel" then in the ambient occlusion node you will see an attribute called id nonself. I think (can't really remember) but if you set both these attributes to the same value, the geo will not occlude. i could be wrong about the values, so i would just play around with the settings.


All times are GMT. The time now is 03:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018