Interfaces > Core Interfaces > mental_ray_string_options |
The mental_ray_Strings_options Core Interface introduced in 3ds Max 2011 lets you toggle rendering options and set parameters not yet available in the UI.
This Interface allows for evaluation of mental ray features before they are officially exposed for regular usage.
The string options can be set and cleared through MAXScript.
Once set, an option affects all mental ray renders until cleared, or until 3ds Max is shut down.
See here for a list of String Options supported by mental ray.
Get the number of option items currently set.
<void>mental_ray_string_options.AddOption <string>string <fpvalue>option index:<index> index default value: 0
Takes a string, a value, and an optional index.
If the optional index: parameter is specified, the existing option item with that index is replaced, otherwise a new option is added.
Takes an index, and removes the corresponding option item.
Returns the string of the option item with the given index.
Returns the value of the option item with the given index.
For more information and complete example scripts showing the use of String Options to access Progressive Rendering mode, Irradiance Particles, Importons and Force Final Gather mode, please see mental ray String Options.