Code Monkey home page Code Monkey logo

radeonprorenderusd's Introduction

AMD Radeon ProRender delegate for USD (hdRpr)

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

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

Prerequisites

Building this plugin depends on three things:

1. An existing USD build / tree

As many USD users get the USD libraries from different places, or compile their own, we tried to keep this as flexible as possible. You can download USD to build yourself from GitHub

2. Radeon ProRender SDK

Contact AMD for access to ProRender SDK libraries

Building

Build using cmake. Here are the necessary variables to set

USD_ROOT - set this to the USD installed dir

RPR_LOCATION - set this to the Radeon Pro Render directory with include and lib dirs

CMAKE_INSTALL_PREFIX - this is where the delegate will be installed, most likely you will set this to the same as USD_ROOT

(Variables below may be automatically detected and you can leave them as is)

BOOST_ROOT - These are necessary libraries to link the plugin. If you installed USD, you already have these. If you installed USD using the python build script they are the same as USD_ROOT

GLEW_LOCATION

TBBROOT

example cmake building:

mkdir build 
cd build
cmake -DUSD_ROOT=/data/usd_build -DRPR_LOCATION=/data/RPR_SDK/RadeonProRender -DCMAKE_INSTALL_PREFIX=/data/usd_build ..
make
make install

Try it out

Set the environment variables specified by the script when it finishes and launch usdview with a sample asset.

> usdview extras/usd/tutorials/convertingLayerFormats/Sphere.usda

And select RPR as the render delegate.

If you want the RPR menu added to USDView (allows selecting device, and view mode), set the environment variable:

PXR_PLUGINPATH_NAME=${USD_ROOT}/lib/python/rpr

Where USD_ROOT is your USD install directory.

radeonprorenderusd's People

Contributors

bsavery avatar radon199 avatar sergartuh avatar serhiigame avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.