Skip to content

Latest commit

 

History

History
68 lines (49 loc) · 2.07 KB

INSTALL.md

File metadata and controls

68 lines (49 loc) · 2.07 KB

Installation from a package

Houdini plugin

Manual

Add a new Houdini package with such configuration json:

{
    "env":[
        {
            "HDRPR_DIR":"path-to-the-package"
        },
        {
            "HOUDINI_PATH":"$HDRPR_DIR/houdini"
        },
        {
            "PATH":"$HDRPR_DIR/lib"
        },
        {
            "PYTHONPATH":"$HDRPR_DIR/lib/python"
        }
    ]
}

where path-to-the-package depends on where do you unzip hdRpr package and should point to the directory that contains INSTALL.md (this file)

To setup the render settings update script, copy <path-to-the-package>/plugin/usd/hdRpr/resources/scripts/rendersettings_OnLoaded.py into <houdini-root>/houdini/scripts/lop

More info here https://www.sidefx.com/docs/houdini/ref/plugins.html

Automatic

activateHoudiniPlugin executable can do the same for you automatically - it will try to find your houdini preference dir and add hdRpr package that will point to the current directory.

Usdview plugin

Here and next, HDRPR_PACKAGE_DIR is a path to the root of the package.

  • Add HDRPR_PACKAGE_DIR/plugin path entry to the PXR_PLUGINPATH_NAME environment variable
  • Add HDRPR_PACKAGE_DIR/lib/python path entry to the PYTHONPATH environment variable
  • Windows only: add the HDRPR_PACKAGE_DIR/lib path entry to the PATH environment variable

OR

You can copy hdRpr package directories (lib and plugin) directly to the root of your USD package.

Installation from sources

  1. Configure cmake project (more info about it in README.md)
cd RadeonProRenderUSD
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=package ..
  1. Build cmake project
cmake --build . --config Release --target install
  1. Follow instructions from "Installation from package" for either "Houdini plugin" or "Usdview plugin" depending on how you configured the project on step 1.

Feedback

In case you encounter any issues or would like to make a feature request, please post an "issue" on our official GitHub repository