Radeon ProRender

Obtaining and Building the Code

To obtain and build the code, do the following:

1. Installation Prerequisites

The following components are required to be installed:

  • C++ compiler:
    • GCC
    • Xcode
    • Microsoft Visual Studio
  • CMake
  • Python

2. Downloading the HdRRP Source Code

You can use git to clone the repository, as follows:

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

or

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

3. Configuring Your Project Using CMake

The Required Component: USD

Provide USD in either of the following two ways:

  • An installation of USD

    Define pxr_DIR to point to an installation of USD when running cmake, if required. You can download USD to build it yourself from GitHub.

  • The USD provided with Houdini

    The HFS environment variable should point to the Houdini installation (the correct way is to run cmake from Houdini’s Command Line Tools or by sourcing houdini_setup). You can download the Houdini installer from Downloads on SideFX website.

An Optional Component

OpenVDB

The following dependency is only required for the USDView plug-in. Houdini is shipped with its own build of OpenVDB.

Dependency Name Description Version
OPENVDB_LOCATION OpenVDB directory with Include and Lib subdirectories.  

Example

cd RadeonProRenderUSD
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=_package ..

4. Compiling Your Project

cmake --build . --config Release --target install