sisqosnew
02-01-2011, 07:06 AM
Hello, everyone.
(Q)What is the current option name of miDefaultOptions.AmbientOcclusion?
I used MEL to set renderGlobal for rendering, but I can't use this mel to set attribute:
setAttr "miDefaultOptions.ambientOcclusion" 1;
//1 means Turn On
the mel will get an error:
// Error: No object matches name: miDefaultOptions.ambientOcclusion //
"Ambient Occlusion" option is in Features of renderGlobal.
Thanks for reading.
Tony
(Q)What is the current option name of miDefaultOptions.AmbientOcclusion?
I used MEL to set renderGlobal for rendering, but I can't use this mel to set attribute:
setAttr "miDefaultOptions.ambientOcclusion" 1;
//1 means Turn On
the mel will get an error:
// Error: No object matches name: miDefaultOptions.ambientOcclusion //
"Ambient Occlusion" option is in Features of renderGlobal.
Thanks for reading.
Tony
