RR uses .rrEnv files to setup the environment for the rendering.

You can use the same files for your artists on the workstation.



Please follow this description:


  1. You have to create a batch file/shell script in any location for your artist.
    This batch file sets the settings for the render application, like the version of Maya used.
    At rendering, the rrClient sets these variables. You can view the values of these variables in any render log on the farm.
    The environment variables that you need to set:
    • rrPrefs
    • rrExeVersionMinReq
    • rrJobRendererVersion
    • rrPlugins
    • rrLocalExeDir
    • Optional: rrLocalPrefs and rrPrefs. rrLocalPrefs must not be the same as at render time!
      This folder contains the user preferences for your render application.
      You might not want to set rrLocalPrefs at all as this means the user prefs are overriden with the prefs you have set for the farm.

  1. Now you have to convert the .rrEnv files. 
    Usually, you have up to 3 env files: 
    a) for the render app handled by your company (e.g. Maya_inhouse)
    b) for the render app handled by us (e.g. Maya)
    c) An optional one for your project (e.g. [myProjectRoot]\renderfarm.rrEnv ) to change e.g. the renderer version.

    Add a commandline to your batch file for each of the 3 .rrEnv files that exists.
     %RR_ROOT%\bin\win64\baConvertEnvFile %RR_ROOT%\render_apps\_setenv\all\maya__inhouse.rrEnv %temp%\rrMayaEnv__inhouse.bat

  2. Call/Source the created file.
    You must call them in the right order, same as described earlier:  a,b,c.
    Add the commandline 
    call %temp%\rrMayaEnv__inhouse.bat    (Linux:source /tmp/rrMayaEnv__inhouse.sh)

  3. At last, add the commandline to your render application like "C:\Program Files\Autodesk\Maya\bin\Maya"