From: Greg Ercolano <erco@(email surpressed)>
Subject: submit-maya.pl patch for Maya 7.0
   Date: Mon, 05 Sep 2005 20:36:21 -0700
Msg# 1022
View Complete Thread (2 articles) | All Threads
Last Next
MAYA 7.0 + Mentalray + Rush 102.42a (or older) submit-maya.pl
-------------------------------------------------------------
Some folks have noticed that when using submit-maya.pl to render Maya 7.0
with "Renderer: mentalray" or "Renderer: mentalray-standalone", each rush frame
will render the ENTIRE SCENE, instead of only the frames it's supposed to.

There is a full description of the problem, and a download for the fix here:
http://seriss.com/rush/patches/102.42/submit-maya/

...on that page you can either download the complete fixed submit-maya.pl file for 102.42,
or you can /manually/ apply the modifications to your existing submit-maya.pl script,
in which case you can fix both 102.42 and 102.41 versions of submit-maya.pl for rendering
in mentalray with Maya 7.0.

Questions? Follow up to this thread.

   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: submit-maya.pl patch for Maya 7.0
   Date: Mon, 05 Sep 2005 20:57:19 -0700
Msg# 1023
View Complete Thread (2 articles) | All Threads
Last Next
Greg Ercolano wrote:
MAYA 7.0 + Mentalray + Rush 102.42a (or older) submit-maya.pl
-------------------------------------------------------------
[..]
or you can /manually/ apply the modifications to your existing submit-maya.pl script,

    Just for the record, to fix your existing submit-maya.pl scripts,
    you can just find all occurances of these lines in a text editor:


// Init mray globals
setAttr "mentalrayGlobals.startFrame"     $opt{sfrm};
setAttr "mentalrayGlobals.endFrame"       $opt{efrm};
setAttr "mentalrayGlobals.byFrame"        1;
setAttr "mentalrayGlobals.startExtension" $opt{sfrm};
setAttr "mentalrayGlobals.byExtension"    1;


    ..and replace them with these lines:


// Init mray globals
//
// Maya 6.x and older                                  // Maya 7.x and up
// ------------------                                  // ---------------
setAttr "mentalrayGlobals.startFrame"     $opt{sfrm};  setAttr "defaultRenderGlobals.startFrame"     $opt{sfrm};
setAttr "mentalrayGlobals.endFrame"       $opt{efrm};  setAttr "defaultRenderGlobals.endFrame"       $opt{efrm};
setAttr "mentalrayGlobals.byFrame"        1;           setAttr "defaultRenderGlobals.byFrame"        1;
setAttr "mentalrayGlobals.startExtension" $opt{sfrm};  setAttr "defaultRenderGlobals.startExtension" $opt{sfrm};
setAttr "mentalrayGlobals.byExtension"    1;           setAttr "defaultRenderGlobals.byExtension"    1;

    ..this will ensure submit-maya.pl will work with both maya 6.x and 7.x.

    Be sure to replace all occurrances -- there are at least two
    sections of the script where that block of lines appears.