View all files | ||||
AMD Radeon:tm: ProRender is a powerful physically-based rendering engine that enables creative professionals to produce stunningly photorealistic images. https://www.amd.com/en/technologies/radeon-prorender
This repo contains :
The AMD Radeon:tm: ProRender library: includes and built binaries.
Since 3.01.00, for Northstar the default render backend is HIP ( instead of OpenCL ).
The main difference is that compute kernels are now precompiled by us. They must be downloaded from a submodule.
Note that for now you can still use the OpenCL backend ( with RPR_CREATION_FLAGS_ENABLE_OPENCL in rprCreateContext ). However we don't recommend it as in the future we may put less resource to support this backend.
Download the precompiled kernels with the command:
The precompiled kernels folder can be modified with RPR_CONTEXT_PRECOMPILED_BINARY_PATH. ( for its usage, check the tutorials ).
If precompiled kernels are not found,RPR_ERROR_SHADER_COMPILATION is returned by rprContextRender.
On Visual Studio:
On Ubuntu 20:
Dependencies on Linux for the tutorials: GLEW, GLUT, Pthread.
On Centos 7:
Same dependencies than Ubuntu.
You should also update your GCC, we have tested it with devtoolset-10 (yum install devtoolset-10)
On MacOS:
To run a demo, just select the executable and start it, example:
See detailed documentation at https://radeon-pro.github.io/RadeonProRenderDocs/sdk/tutorials.html
You can create a RPR Python binding extension.
First, make sure to have all the submodules recursively ( Nanobind is used to create the binding ):
Build the RPR binding libraries:
Those builds will be generated inside python/build/ they are needed by the python script running RPR in order to execute the:
Note that if you have several pythons installed on your system, you may need to define Python_EXECUTABLE in the first cmake instruction. Example:
The name of the compatible python version can be found in the name of the generated file. for example rpr.cpython-38-x86_64-linux-gnu.so means it's for python 3.8.
Run some test scripts:
If tests run correctly, you should find the generated rendering images inside the python/test folder.
Radeon:tm: ProRender GPUOpen web site https://gpuopen.com/radeon-pro-render/
Radeon:tm: ProRenderSDK documentation https://radeon-pro.github.io/RadeonProRenderDocs/sdk/about.html