
Here's an addon which sets arbitrary mental ray string options
Usage: create a geoshader primitive, apply this shader.
The items are strings, interpreted internally this way:
numbers only in string (394) -> sets an integer string option
numbers and decimal point in string (232.1) -> set a float string option
comma in the string (20,10.34,105.0) -> sets a vector2, 3 or 4 string option - depending on the # of commas
string = on or true -> sets a boolean string option (true)
string = off or false -> sets a boolean string option (false)
in all other cases, or if the sting is inside double quotes -> set a "string" string option
PPG supports 12 option entries so far, further community development would be welcome (for example removing the 12 entry limit by making it into a dynamic list.. have no idea how to do that)
download @V1.0