Radeon ProRender

rpr_curve_parameter

Usage

Information on rpr_curve objects, corresponds to rprContextCreateCurve parameters.

Possible Values

Name Value Brief Explanation
RPR_CURVE_CONTROLPOINTS_COUNT 0x830 Number of control points.
RPR_CURVE_CONTROLPOINTS_DATA 0x831 Control point list. Each curve is made of a list of points, an rpr_curve object can have multiple curves of num_segments each, each segment is 4 control points.
RPR_CURVE_CONTROLPOINTS_STRIDE 0x832 Bytes in each control point.
RPR_CURVE_INDICES_COUNT 0x833 Number of indices.
RPR_CURVE_INDICES_DATA 0x834 List of indices. Curves can share control points and reference them by indices.
RPR_CURVE_RADIUS 0x835 Radius of curves. All curves in an rpr_curve object have one radius.
RPR_CURVE_UV 0x836 UV coordinates. One per curve in an rpr_curve object. Useful for texturing color per curve.
RPR_CURVE_COUNT_CURVE 0x837 Number of curves or hairs.
RPR_CURVE_SEGMENTS_PER_CURVE 0x838 Segments per curve. 4 points per segment.
RPR_CURVE_CREATION_FLAG 0x839 Creation flag set on the curve. Currently, this is 0 or 1 if a curve is tapered.
RPR_CURVE_NAME RPR_OBJECT_NAME Custom name set with rprObjectSetName().
RPR_CURVE_UNIQUE_ID RPR_OBJECT_UNIQUE_ID ID for this object.
RPR_CURVE_CUSTOM_PTR RPR_OBJECT_CUSTOM_PTR Custom pointer, if set on this object.
RPR_CURVE_TRANSFORM RPR_SHAPE_TRANSFORM Tranform (16 float values) for the curve.
RPR_CURVE_MATERIAL RPR_SHAPE_MATERIAL Pointer to the material set on the curve.
RPR_CURVE_VISIBILITY_PRIMARY_ONLY_FLAG RPR_SHAPE_VISIBILITY_PRIMARY_ONLY_FLAG Copy from shape value flags.
RPR_CURVE_VISIBILITY_SHADOW RPR_SHAPE_VISIBILITY_SHADOW Visibility to shadow rays.
RPR_CURVE_VISIBILITY_REFLECTION RPR_SHAPE_VISIBILITY_REFLECTION Visibility to reflection rays.
RPR_CURVE_VISIBILITY_REFRACTION RPR_SHAPE_VISIBILITY_REFRACTION Visibility to refraction rays.
RPR_CURVE_VISIBILITY_TRANSPARENT RPR_SHAPE_VISIBILITY_TRANSPARENT Visibility to transparent objects.
RPR_CURVE_VISIBILITY_DIFFUSE RPR_SHAPE_VISIBILITY_DIFFUSE Visibility to diffuse rays.
RPR_CURVE_VISIBILITY_GLOSSY_REFLECTION RPR_SHAPE_VISIBILITY_GLOSSY_REFLECTION Visibility to glossy reflection rays.
RPR_CURVE_VISIBILITY_GLOSSY_REFRACTION RPR_SHAPE_VISIBILITY_GLOSSY_REFRACTION Visibility to glossy refraction rays.
RPR_CURVE_VISIBILITY_LIGHT RPR_SHAPE_VISIBILITY_LIGHT Visibility to lights.