User frame buffer

Hello!

For multiple buffers rendering purpose with Mental ray I use the user frames buffers. I both use Mental Ray for Maya and mental ray standalone.

In Mental ray standalone if I have to specify all buffers I want to use by appending some lines like this:

frame buffer 2 "+rgba_16"
frame buffer 3 "+rgba_16"

In Maya I can tick in "Render Global Settings" to set which "user frame buffer" I want to use. But unfortunately I can't find where to specify what king of buffer I want (RGB, RGBA, RGBA_16...). and I need my buffers to be RGBA_16 but they remain RGBA!!

If I specify a mentalrayTextOptions with the correct lines (see above), it doesn't make any differences, I think Maya simply bypasses this text when it uses Mentalray built-in.

Any idea about using user frame buffer on 16bits per channel instead of 8?

Thanks

OK, I finally found how set the user frame buffer.
let say we want to set the first (number 0) user frame buffer to rgba_16.

/* mode :
* 0: disable
* 1: without antialiasing (ex: -rgb)
* 2: with antialiasing (ex:+rgb)
*/
setAttr miDefaultOptions.userFrameBuffer0Mode 2;

/* type : format of the buffer
* 3: rgba_16
* for the other mode, try other value, export in mentalray
* ascii and look for the line containing "frame buffer ".
*/
setAttr miDefaultOptions.userFrameBuffer0Type 3;

I hope it's going to be helpfull.