Your Ad Here

Appendix A: Extra mental ray render settings

New in Maya 8

In addition to the render options in the Render Settings window, you can also set the following render settings using MEL commands.

Render Mode

You can set the render mode by using the following MEL command:

setAttr mentalrayGlobals.renderMode <value>;

Where value is as follows:

You may choose to render only shadow maps or final gather maps when the shadow and final gather information does not change throughout your scene.

For all renders after your final gather render, set Rebuild to Off or Freeze in the Render Settings: mental ray tab.

For all renders after your shadow map render, set the Rebuild Mode to Reuse Existing Maps in the Render Settings: mental ray tab.

Export Verbosity

You can set the verbosity level for messages from the translation process. Messages equal to or below the selected severity are displayed in the script editor.

Set the verbosity level using the following MEL command:

setAttr mentalrayGlobals.exportVerbosity <value>;

Where value is as follows:

Obtaining exact compatibility with the mental ray 3.4 final gather algorithm

Artifacts may appear when you use Maya 8.0/8.5 to render a scene with final gather that was created using Maya version 7.0 or earlier.

Switch back to compatibility with the mental ray 3.4 final gather algorithm using the following command:

select miDefaultOptions;  
setAttr miDefaultOptions.finalGatherMode 0;  

 

Return to Autodesk Index


Your Ad Here