Iray Manager

iray Manager v1.3 is out! check it out at : http://dimensao3.com/al/

Hey guys! iray Manager v1.4 is out! check it out at : http://dimensao3.com/al/

Please report any bugs/problems/suggestions you may have.

I looked at the code and it seems to be a nice wrapper. Good job on this!

Thanks Rob!
I did the 1.4 version today after only sleeping for 2 hours so the code became a little more messy but I’ll fix that on a future version.
I have some more ideas to implement but got to do more research, it’s hard to do some stuff without having to deploy a .dll file or something like that.

Maybe a stupid question but why do you make your rolloutname global?
Doesnt it has the same effect as a local because it is in the same scope?

Don’t quite remember but the first thing that it comes to my mind is that making the rolloutname local the destroydialog doesnt work as expected, thus, not destroyng any previous dialog present in the scene, while with global it works that way.

[QUOTE=Nysuatro;7852]Maybe a stupid question but why do you make your rolloutname global?
Doesnt it has the same effect as a local because it is in the same scope?[/QUOTE]

cui.UnRegisterDialogBar irayManager_Rollout
destroyDialog irayManager_Rollout

Like Kameleon said, those lines are used to refer to the previously created rollout.

Ok, thanks for explaining.

Hey guys, a new version of iray Manager is out!

With support for the new mentalray string options in 3ds Max 2012. Matte ground shadows and reflections!

Did some bug fixing too :smiley:

http://dimensao3.com/al/?p=453

Hey guys, I did some minor changes in iray Manager and posted an updated version on the same place as usual: http://dimensao3.com/al
Thanks to Thorsten, I’ve updated to 1.6

–v1.5 by Artur Leão (http://www.dimensao3.com/al)
–Added Matte ground shadow and reflection strings
–The glossiness setting parameter behaves different from the A&D glossiness.
–Added support for 8 GPU instead of 4
–Fixed file options loading
–v1.6 by Artur Leão (http://www.dimensao3.com/al) and Thorsten Hartmann (http://www.infinity-vision.de/)
–Fixed some callback issues --Artur Leão
–Fixed adding and deleting mentalray string options. Now it only deletes iray Manager related strings. --Artur Leão
–Background Mode -> infinite/sphere/hemisphere --Thorsten Hartmann
–Radius ( work in sphere + hemisphere mode) --Thorsten Hartmann
–Shader Samples ( increase the sample if you use a low Background Resolution) --Thorsten Hartmann
–Fixed some of the code --Artur Leão

Also, based on an idea from Duncan Howdin, I’ve created a similar Manager for the new unified sampling from mental ray 3.9.

Introduce a new sampling mechanism that unifies the different sampling controls of the ray tracing, rasterizer, and progressive rendering engines. It offers direct control of sampling quality coupled with perceptual adaptivity to detail in the image. It is disabled by default, and gets enabled and controlled with string options. The existing sampling controls are kept for backwards compatibility and work as in previous versions of mental ray when the feature is not turned on.”

–Original idea & development: Duncan Howdin
–v1.0 by Artur Leão (http://www.dimensao3.com/al)
–Initial release