Installing Redshift for Solaris
To use Redshift with Solaris a path to the plugin folder must be added in thehoudini.env file or inside the packages file.
If using a houdini.env file to manage Houdini plugins add the following line of code.
The Houdini version number must be hardcoded when using a houdini.env like in the example below.
PXR_PLUGINPATH_NAME = "C:/ProgramData/Redshift/redshift_v3.5.03/Redshift/Plugins/Solaris/19.0.622"
On Linux, create a .profile file to generate a system-wide environment variable.
This file should contain the PXR_PLUGINPATH_NAME variable name and value.
Example steps:
Edit the ~/.profile file and add export PXR_PLUGINPATH_NAME=/usr/redshift/redshift4solaris/19.0.622
Reboot
Launch Houdini from the terminal or desktop icon
If using Houdini packages to install and manage plugins the packages file also requires the PXR_PLUGINPATH_NAME variable to be set.
The Houdini version number is not required to be hardcoded when using a packages file.
The examples below illustrates how to set this variable.
{
"env": [
{"HOUDINI_PATH" : "C:/ProgramData/Redshift/Plugins/Houdini/19.0.622"},
{"PATH" : "C:/ProgramData/Redshift/bin"},
{"PXR_PLUGINPATH_NAME" : "C:/ProgramData/Redshift/redshift_v3.5.03/Redshift/Plugins/Solaris/${HOUDINI_VERSION}" }
]
}
Alternatively you can also use:
{"PXR_PLUGINPATH_NAME":"${REDSHIFT_COREDATAPATH}/Plugins/Solaris/${RS_PLUGIN_VERSION}"}
The minimal example above will get Redshift to work inside of Houdini and Solaris but you can always add extra variables depending on your needs as seen in the additional examples below.
{
"env":[
{"HOUDINI_DSO_ERROR":"2"},
{"RS_PLUGIN_VERSION":"${HOUDINI_VERSION}"},
{"PATH": "$REDSHIFT_COREDATAPATH/bin;$PATH"},
{"REDSHIFT_COREDATAPATH":"C:/ProgramData/Redshift"},
{"HOUDINI_PATH":"${REDSHIFT_COREDATAPATH}/Plugins/Houdini/${HOUDINI_VERSION}"},
{"REDSHIFT_PROCEDURALSPATH":"C:/ProgramData/Redshift/Procedurals"},
{"REDSHIFT_RV_ALWAYSONTOP":"1"},
{"REDSHIFT_AUTOSPAREPARAMS":"1"},
{"REDSHIFT_RV_OPEN_ONLY":"1"},
{"PXR_PLUGINPATH_NAME":"${REDSHIFT_COREDATAPATH}/Plugins/Solaris/${RS_PLUGIN_VERSION}"}
]
}
However, something as simple as this will also work:
{
"env":[
{"RS_PLUGIN_VERSION" : "${HOUDINI_VERSION}"},
{"REDSHIFT_COREDATAPATH": "C:/ProgramData/Redshift"},
{"HOUDINI_PATH": "${REDSHIFT_COREDATAPATH}/Plugins/Houdini/${HOUDINI_VERSION}"},
{"PATH": "C:/ProgramData/Redshift/bin"},
{"PXR_PLUGINPATH_NAME" : "${REDSHIFT_COREDATAPATH}/Plugins/Solaris/${RS_PLUGIN_VERSION}"}
]
}