Houdini
Licenses
Required Licenses
Rendering a Houdini scene requires a Houdini license per client.
There are UI licenses (like 'Houdini FX' or "Houdini Core") or batch processing licenes ("Engine").
If you directly render an image with e.g. Mantra, Karma, then you require a Mantra (Sidefx name: "Renderer") or "Karma Renderer" license as well.
Same for all 3rd party renderer like Arnold, Redshift, VRay, Octane.
If you use Houdini not to render an image, but to export archive files ("scene" files for the renderer ) like .ass, .usd, .ifd, .rs, .vrscene,
then you still need a Houdini license, but no renderer license.
And then you can render these archive files in a second job with a renderer license only. A Houdini license is not required for this second job.
Houdini License Setup
Please login with the same user that you use for the rrClient.
Then start Houdinis hkey application to set your license (or Houdini).
If you want to set the license server for multiple machines on your farm, then you can create a .bat or .sh shell script with the commandline:
"c:\Program Files\Side Effects Software\Houdini 20.5.332\bin\hserver.exe" -S myLicenseServerIP
Change myLicenseServerIP to the machine that runs your Houdini license server.
And you may need to change the path to Houdini.
You can load this script into the rrSubmitter and submit it to the farm.
License Count
Please enter the number of your Houdini licenses in rrConfig to verify that RR does not start more Houdini instances that you have licenses.
Plugins / Packages
General Information
First some general information
There are two ways to install plugins into Houdini.
It depends on the plugin which way they have choosen.
1) Via environment variables
You need to define all environment variables required for Houdini to find the plugin and optional env vars of the plugin itself.
The env vars could be set in the OS.
But they are usually set in the houdini.env file c:\Users\%USER%\Documents\houdini19.0\houdini.env
2) Via package files
Packages have a .json definition file.
It defines all environment variables required for Houdini to find the plugin and optional env vars of the plugin itself.
Package definition files can be located for example in these folders:
- c:\Program Files\Side Effects Software\Houdini xxxxxxxx\packages
- c:\Users\%USER%\Documents\houdini19.0\packages
Note that this second path works for your user only.
It does not work for Royal Render as RR uses a different preference path than your user.
Add Plugins to Houdini in Royal Render
Note:
If you want to add Redshift, Arnold, Renderman or VRay, please check the help page 3rd Party Renderer.
1) Via environment variables
Instead of creating an houdini.env on each rrClient, RR uses the rrEnv file
[RR]\render_apps\_setenv\all\houdini__inhouse.rrEnv
You can define any env var that you define in the houdini.env.
Differences:
- You must NOT use "&" in any variable.
RR automatically adds & to the end of all common Houdini env variables.
Using it twice causes Houdini to print error messages. - The first modification of an env var looks like this.
It creates or replaces any data in the env var.
HOUDINI_PATH = myPluginFolder
or
HOUDINI_PATH = myPluginFolder;AnotherPluginFolder
If you want to append another plugin folder in a seperate line, you have to use
HOUDINI_PATH = AnotherPluginFolder;<HOUDINI_PATH>
2) Via package files
The .json definition file has to be in a path that Houdini scans.
So it has to be located in
- either the installation path of Houdini c:\Program Files\Side Effects Software\Houdini xxxxxxxx\packages
- or in a direrctory set by the env var HOUDINI_PACKAGE_DIR.
You can add any path to the env vvar HOUDINI_PACKAGE_DIR.
Please see "1) Via environment variables" how to add an env var to Royal Render.
Note:
If you have copied the package, then you might need to check if the paths in the .json file are right for the copied path.
Note RR version 9.1.xx and upcoming versions:
There is a pre-defined path for packages that you can use.
Please open any Houdini render log in rrControl and search for "RRs predefined package dir is set to"
The advantage of packing your json file and the plugin subfolder into this packages directory is that the whole packages folder is synced to the local drive of the rrClient.
And therefore faster to load.
Takes
You can use takes in Houdini.
Do not forget to use $ACTIVETAKE in your file names if you want to use one output node for multiple takes.
Note: If you set your mantra node to a take, then the rrSubmitter will load this mantra node with this take.
If you have not set a specific take (set to "current"), the rrSubmitter creates a job for each take.
Example scene:
www.RoyalRender.de/download/web/houdini_take.zip