Radeon ProRender


Sets the interpupillary distance (RPR_CAMERA_IPD) for stereo camera types (RPR_CAMERA_MODE_LATITUDE_LONGITUDE_STEREO or RPR_CAMERA_MODE_CUBEMAP_STEREO).

rpr_status rprCameraSetIPD( rpr_camera camera,
  rpr_float ipd);


Parameter Description
camera The camera to set the interpupillary distance for.
ipd Interpupillary distance value to set. Valid values are 0 to infinity.


A greater IPD will give a more pronounced stereo effect.


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.