|
1- Download the .dll files and put them in the maya/bin folder : http://linko.projects.free.fr/iRay%20for%20Maya.rar
2- do a render with mental ray (you can cancel it)
3- use this MEL script (you can save the script in the shelf) :
select miDefaultOptions;
int $idx = `getAttr -size miDefaultOptions.stringOptions`;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].name “iray”;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].value “on”;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].type “boolean”;
$idx = `getAttr -size miDefaultOptions.stringOptions`;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].name “progressive max samples”;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].value “99999999999999999999999”;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].type “integer”;
$idx = `getAttr -size miDefaultOptions.stringOptions`;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].name “progressive max time”;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].value “9999999999999999999999”;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].type “integer”;
$idx = `getAttr -size miDefaultOptions.stringOptions`;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].name “progressive error threshold”;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].value “0.01”;
setAttr -type “string” miDefaultOptions.stringOptions[$idx].type “scalar”;
Learn Maya :
http://www.siteduzero.com/tutori...d-avec-autodesk-maya.html
|
|
|
|
Hi i did follow exactly the way mentioned, but its showing
// Error: setAttr -type “string” miDefaultOptions.stringOptions[$idx].name “iray”;
//
// Error: Syntax error //
Thanks in adv
|
|
|
|
hey i got it.. its working…
|
|
|
hey i got it.. its working…
What did you have to do to fix your original problem?
3ds Max 2013, Maya 2013
Windows 7 Ultimate 64 Bit
Core i7, 12GB RAM
Nvidia Quadro FX 3700 (Driver 267.17)
|
|
|
|
The third time the script works, but how can I render with iray.
Do I have to do something? Thanks
|
|
|
|
If you copy that lines into your script editor the quotation marks needs to be replaced…
just delete all quotation marks and type them in again, then execute the script.
AND make sure you opened the RenderGlobals at least one time before and you switched the renderer to mental ray AND you also opened the tab “quality”. Otherwise the node miDefaultOptions the script wants to add the attributes to doesn`t exist.
|
|
|
|
Has anyone managed to get iRay to work with Maya 2013. I have been trying without any success :(
I have tried using the the library files that are bundled with Max 2013 knowing that mental Ray 3.10 includes iRay 2.0 without any success. Does anyone know if this hack is still possible in 2013?
I was just starting to get my head around all of this cool Mental Ray stuff, It would be a shame if we can get iRay 2.0 to work in Maya 2013.
The Unified Sampling stuff still works fine, actually even better with the new BSDF shaders :)
|
|
|