Radeon ProRender


Sets a lookup map array on the volume for density.

Values from the density data grid will reference a value in this mapping array. If a grid value is between two lookup array values, it will be linearly interpolated.

rpr_status rprHeteroVolumeSetDensityLookup( rpr_hetero_volume heteroVolume,
  rpr_float const * ptr),
  rpr_uint n);


Parameter Description
heteroVolume The heterogenous volume to set mapping on.
ptr An array of values to set.
n Length of the array.


Returns RPR_SUCCESS in case of success, or RPR_ERROR code if a problem was encountered.

To learn how to handle errors in AMD Radeon ProRender SDK, see Error Handling.