This is implementation of ANARI device based on RadeonProRender engine
- supported types: perspective and orthographic
transform
parameter overridesposition
,direction
andup
parametersimageRegion
parameter is not supported nowfocusDistance
andapertureRadius
parameters are only supported by perspective camera- both cameras have an additional parameter
sensorHeight
. Sensor width will be calculated usingaspect
parameter. Default sensor height is 24 mm - orthographic camera has an additional parameter
orthoHeight
. It determines the area which the Orthographic camera projection will cover. Width will be calculated usingaspect
parameter. Default value is 1
- curve geometry type is not supported now
- general parameters (
primitive.color
,primitive.attribute
,primitive.id
) are not supported vertex.color
can only accept float32 types (FLOAT32
,FLOAT32_VEC2
,FLOAT32_VEC3
,FLOAT32_VEC4
)vertex.normal
can only acceptFLOAT32
valuesprimitive.index
can only accept uint32 values and vectors
- data in spatial fields can be only in float32 format (
ARRAY3D
ofFLOAT32
) color
can only accept float32 types (FLOAT32
,FLOAT32_VEC2
,FLOAT32_VEC3
,FLOAT32_VEC4
)color.position
andopacity.position
parameters are not supported
- object introspection
- stereo mode of cameras
- depth framebuffer
- curve geometry
- KHR_AUXILIARY_BUFFERS
- ANARI_KHR_TRANSFORMATION_MOTION_BLUR
ANARI SDK must be installed on computer before RPR device building.
The repository uses CMake 3.11+ to build the device For example, to build (must be in a separate directory from the source directory), you can do:
cd path/to/source
mkdir build
cd build
cmake ..
cmake --build . -t install
It's important to have directory with installed device in LD_LIBRARY_PATH
Visual studio 17 or 19 must be installed. Building using MinGW may produce an error!
- create build directory into directory with source code
- run
cmake ..
from build directory - run
cmake --build .
from build directory
Also, you can build project from Visual Studio IDE using CMake extension.