SI_MI_SHADER_TOKEN
| In a mental ray 2.x .mi2 file, setting this variable allows you to use the
registry capability to specify the shader link path (the path of the shader's .so
and .dll files). When set, SOFTIMAGE|3D outputs the shader database token
instead of the exact path. mental ray will replace the shader database token with
the value specified in the rayrc file. A shader database token is always the name
of the database in upper case, within braces (for example, the Shader_Lib
token would be {SHADER_LIB}).
SI_MI_SHADER_TOKEN is useful for distributed rendering. As each rendering
machine uses its own rayrc definition to replace the token, SOFTIMAGE|3D can be
installed at different locations on each machine and the shader .so and .dll files
will always be found locally on each rendering machine.
|