mids utility

Creates Houdini shader assets for the mental ray shaders in a .mi file.

This program will parse .mi files and create SHOP OTLs for all the shaders found in the .mi file

mids [options] file1.mi [file2.mi ...]

Example:

mids -g 8 -d $HOME/houdini9.1/shop *.mi

mids is the mentalray equivalent of rmands/slo2otl.py.

Warning

This program will remove existing .ds files

Options

-c 3|4

Set color parms without defaults to be RGB or RGBA.

-e

Allow files with extensions other than .mi to be used.

-d dir

Destination directory

-D dir

destination directory (puts script in this directory rather than a sub-directory as with the -d option).

-g

specify maximum size per parameter page. The shader parameters will be split into multiple pages if there are too many parameters in the shader.

-l file

Specifies an operator type library file that the operator definitions should be added to.