Nov 14, 2009

Ambient Occlusion for maya software render


Ambient Occlusion for maya software render

This shader is an ambient occlusion for maya software render.
There are maya 2008, 2009, 2010 and 2011 for 32bit and 64bit windows version
It can be downloaded from this url.
http://www.creativecrash.com/maya/downloads/shaders/c/ambient-occlusion-for-maya-software





How to Install

  1. Put "yiAmbientOcclusion.mll" and "key.lic" into plug-ins folder.
  2. Put "icons/render_*.xpm" into pref/icons folder.
  3. Put "scripts/AE*.mel" into scripts folder.
  4. Load the "yiAmbientOcclusion.mll" from plug-ins manager.
  5. You'll find the "yiAODiffuseShader", "yiAmbientOcclusionSader" under Surface, and you can  also find "yiAmbientOcclusion" under General Utilities.

How to use
  1. Assign this shader.
  2. Turn on Raytracing in Render Setting.
  3. Set 1 or more Reflections in Raytracing Quality when using "Receive Transparency""Add Transparency".

Attribute Description

  • Color : base color.
  • Transparency : transparency color.










  • Samples : number of sample ray. when the ray is shot it becomes a square of the sampling value. (3 means 9 rays)
  • Distance : Calculated distance. It becomes infinite when set to 0.
  • left to right: distance value 0.1 1.0 0.0






  • Spread : Calculated spread.
  • left to right: spread value 0.1 0.5 1.0







  • Receive Transparency Add Transparency : When turned on, the transparency is calculated. keep in mind, this mode might take some time. (Set 1 or more Reflections in Raytracing Quality)
  • left receive transparency is OFF, right is ON








  • Falloff : Modulus of decay.

Node Description
  • yiAODiffuseShader
  • It's an ambient occlusion plus diffuse.









  • yiAmbientOcclusionShader
  • It's a basic ambient occlusion shader.
  • yiAmbientOcclusion
  • It's a utility. It can be connected to other attributes.
enjoy!

27 comments:

joie said...

Now this is awesome, I keep on using maya software renderer for several things and love to see this implemented.

Thank you!

Unknown said...

excellent work!

thanks for sharing this. Doesnt seem to work very well when rendering with motion blur. either 2d or 3d.

thanks

yik said...

Thank you everyone!

Unknown said...
This comment has been removed by the author.
Unknown said...

I used this excellent maya software shader in something I made recently. Click below to see this awsome shader in action :)


VPP clan animation

yik said...

I saw this movie. It's excellent!
Thank you for using this shader.

Андрей Ефимов said...

Could you make "Ambient Occlusion for maya software render" for maya 2008. I really need for it...

yik said...

I see. I’ll release maya 2008 version as soon as possible.

yik said...

maya 2008 version was released.

Christie Coyle said...

Is this script compatable with Maya 2010 64-bit? Because I can't get it to work for me. Don't know what I'm doing wrong...

Unknown said...

The transparency doesn't work, I'm using maya 2010 and used two planes, one with a checker (like your image) but the occlusion ignores it, the add transparency space is checked, tried it with both shaders with the same result.

yik said...

Set 1 or more Reflections value in Raytracing Quality(Rendering Settings) when useing "add transparency".
Please try it!

Unknown said...

Hi yik, thanks for replying. It's not working, I have reflections at 10, the checker texture has the "alpha is luminance" option turned on and still don't work (tried it with this off also). I'd like to send you a capture of my monitor so you can see the settings, could you give me an email adress? mine is carasuman@gmail.com. I have maya 2010 x64, I don't know if this is important, but the only "plug-ins" folder is located inside the autodesk instalation folder, that's where I put the plug-ins/maya2010x64 contents, the other files are inside "my documents"

yik said...

OK. Can I send my test data of maya file directly?
And could you try it?

Unknown said...

Sure thing, send it over, thanks for your time.

Unknown said...

Oh man, what a dope I am, until now realized that the "add transparency" option must be turned on for the non-transparency geometry, I was doing the opposite, turning it on for the geometry that produce it as with any shader. The shader is fine, prehaps I was too tangled with maya's conventional logic (if there is such a thing). Anyway, thank you very much for your time and for the shader, it works marvelously.

Cheers!

yik said...

I'm sorry for that "add transparency" is confuse.
I'll change to "receive transparency" in the attribute name.

admin said...

It seems awesome, just wondering if this thing works on Mac? Thanks

yik said...

Thanks Wenny Z!!
I might release it when I solved any problem for mac.

yik said...

mac osx version is available to download from this url.
http://www.creativecrash.com/maya/downloads/shaders/c/ambient-occlusion-for-mac-osx

Tom Bowen said...

Hi Yik, any chance of a Maya 2012 version coming soon?

Great shader BTW.

yik said...

I'll release the Maya 2012 version after setting new maya environments.

yik said...

The AO for Maya 2012 Windows version was released.
It can download form http://bit.ly/kqJxdL .

Tom Bowen said...

Thanks yik, hopefully Creative Crash will be up soon so I can download it!

Matthelm88 said...

After setting up the shader can you then bake out the textures?

yik said...

Hi Matthelm88,

Unfortunately, It can't bake out the textures now.
I might add new command for baking out textures.

probka said...

oh it would be great to bake texture with occlusion!