AO Render with alpha support
-- update -
The script only rendered single frames - it is now written to look at common parameters and render either activetimesegment or range (depending on what is set) the frames will be saved to whatever is defined in Render Output but it will append "AO" to this in case you want to quickly render to the same location.It will of course still do single frames as well
Also slight other things fixed - also it will keep whatever sampling quality you have set in the render panel.
Next to get into this will be Multi Material support when "use selection for alpha" is set and seeing if I can get displacement supported.
-- please let me know if this has been valuable to you and such I'd appreciate it and any feedback you might have. I would like to take this as a learning experience.
This was a rather quick script created to resolve having to turn off multiple setting to render an AO and to integrate some support for cut-out/alpha channels while rendering an Ambient Occlusion map. As well to handle the unfortunate issue that when a few of the staff would render an AO, they would notice corrections needed in the main render, so it renders in a new vfb (or whatever it is called now) and allows crops and regions to be done on the previous virtual frame buffer.
The idea for the alpha-channel support was gotten from Rammy Hanna, so kudo's to him for the idea. If this turns out to be useful, please let me know and if there are any problems or updates needed please do let me know and I will update as rapidly as possible.
Example of using this option follows:
As opposed to:
I published it under the fsf.org GPL2 license (throw back from my coding days what can I say). The only caveat is that when you use the "use selection for alpha" you must have an object selected that only has one material on it of A&D type... but as many objects and materials as you want. Please let me know. Tks!
it's a macroscript "Utilities" "AO Render"
When you hit your quick key it will pull up a rollout - set your AO settings and hit render.
If you need a cut out rendered - check the button select the objects and render away. See examples below to see the result.
As a note: It will get and re-set all mental ray render settings, as well as exposure control, gamma, environment map state and will ignore render elements for the AO Render.
It only supports usage of "cutout map" in an A&D Material I assume I could get it to work with standard materials as well if someone needs it.