MEL and Mental Ray Options

Is it possible to know the options of convert to File Texture (in Mental Ray) using a script MEL?

I’d like to use the Map file prefix and the File format to rename each lightMap.

thanks.

you can use the “help” command to get info on any mel command’s accepted arguements. So:

“help convertLightmap” will list all the flags. But it doesn’t tell you what values are what.

We had to hack into the system to figure it out. We added an echo command in the “mrbake” script that echos the entire “convertLIghtmap” command line whenever it is run. Then you can set the options you want with the gui, and copy out the whole command line.

-Jamie