# Plugins

# 3rd party Plugins

Note: For 3rd party renderer, please follow this link.

## 3rd Party Shader/plugin Setup

RRender has pre-defined folders for 3rd party plugins and Mental Ray shaders.
If the plugin is of a whole package with many files and subfolders, then you should read the next section.

They are located in (of course you have to replace the maya version with the one you use):

[RR]\render_apps\renderer_plugins\maya\win_x64\2014\scripts\

[RR]\render_apps\renderer_plugins\maya\win_x64\2014\modules\

[RR]\render_apps\renderer_plugins\maya\win_x64\2014\plug-ins\

[RR]\render_apps\renderer_plugins\maya\win_x64\2014\rendererDesc\

[RR]\render_apps\renderer_plugins\maya\win_x64\2014\mentalray\

If you already have your own plugin paths, then you have to change Maya's Setenv File.

[RR]\render_apps\_setenv\win\maya.bat

maya.env:

If you have a maya.env file, you can place it into the folder

[RR]\render_apps\renderer_plugins\maya\win_x64\2024\

Note: If you define one of the above defined folders (PLUG_IN, SCRIPT, MODULE, MI_CUSTOM_SHADER) in your maya.env, then you have to remove the corresponding line from the setenv file.

Variables set in the maya.bat overwrite maya.env values.

## 3rp Party Plugins with multiple folders

Some plugins are not a single .mll file, they consists of multiple folders with files.
You can install these plugins into RR instead of installing it on every machine as well.

Some require to set multiple environment variables.

This is an example to install MyPlugin plugin.

Not all plugins require to set all environment variables.

1.Edit the inhouse setenv file for Maya.

2.At the end of the file, add the env lines as described in the installation help of the plugin.
Or within the .mod file of the plugin.
In this example we use a base folder which contains the Maya version used.
rem ################### MyPlugin environment variables ###################
set "RR_MyPlugin_BASE=<rrPlugins><rrExeVersionMajor>\MyPlugin"
echo MyPlugin installation path is set to '%RR_MyPlugin_BASE%'
set ARNOLD_PROCS_PATH=%RR_MyPlugin_BASE%\bin;%ARNOLD_PROCS_PATH%
set MTOA_EXTENSIONS_PATH=%RR_MyPlugin_BASE%\plug-ins;%MTOA_EXTENSIONS_PATH%
set MAYA_PLUG_IN_PATH=%RR_MyPlugin_BASE%\plug-ins;%MAYA_PLUG_IN_PATH%
set MAYA_SCRIPT_PATH=%RR_MyPlugin_BASE%\scripts;MAYA_SCRIPT_PATH
set MyPlugin_LICENSE=5053@LicServer

3.Submit a render and check the render log of the job.
You should now see a line MyPlugin installation path is set to ....
Copy your plugin folders into this folder.

4.If it has a .mod file, then edit the .mod file and update the path with the new path to the .mod file
.

# PhoenixFD simulation

•Install phoenix on your workstation.

•Copy the folder phoenix plugins to [RR]\render_apps\renderer_plugins\maya\win_x64\2014\plug-ins\phoenixfd

# Yeti plugin

•Submit a render and check the render log file in rrControl.
Search for the line "* Yeti source path is set to".
Create this folder.

•Copy the yeti files and folders into this folder.

Important note for Linux:

After you have copied redshift, please ensure that the files in /bin and /plug-ins have a size way larger than 100 bytes.

The Redshift installer has created file links from the libraries with the version ".so.2" to the library name without the version ".so".

If the files are small and not linked any more, just copy the large ".so.2" to the ".so"