Hi! Here is a script I made that automates the process of creating 2d normalized motion vectors and Z-Depth buffer in maya (mental ray), for use in Real smart motion blur. You can use it on another render layer to better match your octane render with other render layers / renderers. Mental ray is very picky with render settings for those two passes, so this script ensures that all is configured well so you get your vector and depth pass in one click.
details:
1) You need to create a Render layer for the DepthMotion script, it won't work on the masterlayer.
2) I don't know if it works with other versions than maya 2013, some attributes may be named differently in other versions of mr
3) Check if the default settings work for you after the script has run: camera depth 0 to 500 units, max pixel displacement 512 pixels
4) Don't mind the error saying "No object matches name..." after the script has finished, it happens because it changes the layer name, don't know why...
5) The script creates a material override on this layer, a standard lambert. You can customize the renderlayer after its creation of course.
6) Of course it's better to turn off the aperture of your octane camera if you want your depth and vectors to match between the two layers.
I'm finally able to apply post motion blur with RSMB! If you don't know how, check this out:
http://aloedesign.com/2008/12/maya-2d-m ... -tutorial/
PLEASE: There are some weird cases that you may have to run the script twice for it to work, so basically:
- create your render layer with your objects
- with your layer selected, run the script
- ...may need to run it twice until there's a window that tells you to review your passes settings