Announcement

Collapse
No announcement yet.

Env Variables for Linux render nodes?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Env Variables for Linux render nodes?

    Hey there,

    Sorry if this is a newbie question, but I've created the following maya launch script on my Linux workstation:

    #!/bin/bash
    export MAYA_LOCATION="/usr/autodesk/maya2012-x64";
    export MAYA_RENDER_DESC_PATH="$MAYA_LOCATION/bin/rendererDesc";
    export VRAY_FOR_MAYA2012_MAIN_x64="$MAYA_LOCATION/vray";
    export VRAY_FOR_MAYA2012_PLUGINS_x64="$MAYA_LOCATION/vray/vrayplugins";
    export VRAY_AUTH_CLIENT_FILE_PATH="/filer/sys/etc/vray";
    export LD_LIBRARY_PATH="$MAYA_LOCATION/lib";
    export MAYA_PLUG_IN_PATH="$MAYA_LOCATION/vray/plug-ins";
    export MAYA_SCRIPT_PATH="$MAYA_LOCATION/vray/scripts";
    export XBMLANGPATH="$MAYA_LOCATION/vray/icons/%B";
    export PATH="$MAYA_LOCATION/bin:$PATH";
    /usr/autodesk/maya2012-x64/bin/maya

    So, how do I ensure that the Linux render nodes receive these same env settings during distributed renders?

    Thanks,

    -R

  • #2
    Since distributed rendering uses only V-Ray Standalone on the render slaves, it doesn't really care about the Maya variables. If you wish to set other variables, then it is easiest to modify the vrayslave script that runs the V-Ray render server.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Sweet, thanks! Nice work

      Comment

      Working...
      X