rpr_primvar_interpolation_type
Usage
Defines how primvar are interpolated.
Possible Values
Name |
Value |
Brief Explanation |
---|---|---|
RPR_PRIMVAR_INTERPOLATION_CONSTANT |
0x1 |
This primvar set has a unique constant value for the whole shape. |
RPR_PRIMVAR_INTERPOLATION_UNIFORM |
0x2 |
Each face is mapped to a value. There is no interpolation between faces. |
RPR_PRIMVAR_INTERPOLATION_VERTEX |
0x3 |
Each vertex is mapped to a value. The primvar lookup uses vertice positions to interopolate each primvar value. |
RPR_PRIMVAR_INTERPOLATION_FACEVARYING_NORMAL |
0x4 |
Each vertex is mapped to a value. The primvar lookup uses vertice normals to interopolate each primvar value. |
RPR_PRIMVAR_INTERPOLATION_FACEVARYING_UV |
0x5 |
Each vertex is mapped to a value. The primvar lookup uses vertice UVs to interopolate each primvar value. |