Home

Awesome

AMD Radeon ProRender USD Hydra delegate

This plugin allows fast GPU or CPU accelerated viewport rendering on all OpenCL 1.2 hardware for the open source USD and Hydra system

You can build this plugin as usdview plugin or as houdini plugin.

For more details on USD, please visit the web site here.

Getting and Building the Code

1. Install prerequisites

2. Download the hdRpr source code

You can use git to clone the repository. For modern, SMT or multi-threaded systems use:

> git clone --recurse-submodules -j4 https://github.com/GPUOpen-LibrariesAndSDKs/RadeonProRenderUSD
Cloning into 'RadeonProRenderUSD'...

For legacy or low-power devices use:

> git clone https://github.com/GPUOpen-LibrariesAndSDKs/RadeonProRenderUSD
Cloning into 'RadeonProRenderUSD'...
> cd RadeonProRenderUSD
> git submodule update --init

3. Configure project using cmake

Required Components
USD Component

Provide USD in one of two ways:

MaterialX Component

By default, MaterialX library will be compiled from the sources located under a MaterialX submodule deps/MaterialX. You can override this behavior by providing a complete build of MaterialX to cmake. Please note, on Linux for Houdini plugin, MaterialX should be compiled with -D_GLIBCXX_USE_CXX11_ABI=0 definition as it is required by Houdini.

Optional Components
OpenVDB

Following dependency required only for usdview plugin, houdini is shipped with own build of openvdb

Dependency NameDescriptionVersion
OPENVDB_LOCATIONOpenVDB directory with include and lib dirs
Utility cmake options
RPR_SDK_PLATFORM - Forcing build against specific platform libraries

Let's say you are on centos 7 and want to force it to use the centos6 build, then you need to specify RPR_SDK_PLATFORM=centos6 cmake flag

Example
mkdir build
cd build
cmake -Dpxr_DIR=/data/usd_build -DCMAKE_INSTALL_PREFIX=/data/usd_build ..
cmake --build . --config Release --target install

Supported Platforms

Automatic Houdini build on Windows

Run pxr\imaging\plugin\hdRpr\package\buildPackageWin.bat with the target version of Houdini

Example
pxr\imaging\plugin\hdRpr\package\buildPackageWin.bat 19.5.805

Try it out

Follow instruction from INSTALL.md to activate the plugin. Launch either usdview or Houdini's Solaris viewport and select RPR as the render delegate.

Environment Variables

Houdini

RPR Material Library
  1. Download .mtlx version of RPR Material Library.

  2. Follow instructions from INSTALL.md shipped with the material library.