-
Motion Vectors and lm2DMV_v2 shader
Anyone had success with getting the lm2DMV_v2 shader to work properly with Maya OSX?
I’ve followed all the steps outlined from here:
https://www.impresszio.hu/szabolcs/MentalRay/lm_2dmvMayaFiles.htmI’ve added the following lines of code to the very end of the maya.rayrc file (as instructed from the link above) so that it reads something like this:
end registry
$lookup “{MRMAYA_START}”
link “{MAYABASE}/lib/lm2DMV_v2.{DSO}”
mi “{MAYABASE}/include/lm2DMV_v2.mi”Additionally, I’ve installed the following files into the relevant directories in Maya’s “package contents”:
maya\contents\mentalray\include\lm2DMV_v2.mi
maya\contents\mentalray\lib\lm2DMV_v2.dll (using the XSI dll file . . . no maya dll file available)
maya\contents\scripts\AElm2DMV_v2Template.melI’ve disregarded the “render_lm2DMV_v2.xpm” file, as I have no idea where to place this one.
Everything seems good to go, and “pass custom alpha” option is set in render globals . . .
I have a simple scene with a sphere moving with the lm2DMV_v2 shader assigned. Only two keyframes, and trying to render out the middle of the sequence, but get the following error:
// Warning: (Mayatomr.Custom) : /Applications/Autodesk/maya8.5/Maya.app/Contents/mentalray/include/lm2DMV_v2.mi: no shader library specified nor found in search path, expect manual loading //
Any ideas?