Skip to content

Documentation needed for rprCameraSetUVDistortion() #63

Description

@miancule

I just noticed a new camera setting in the latest update:

/** @brief Set distorion image for camera
*
* @PARAM camera The camera to set UV Distortion for
* @PARAM distortionMap distorion image
* @return RPR_SUCCESS in case of success, error code otherwise
*/
extern RPR_API_ENTRY rpr_status rprCameraSetUVDistortion(rpr_camera camera, rpr_image distortionMap);

..but there seems to be no documentation of the actual distortion map format and effect on the (supposedly!) camera rays generation. I was wondering if this is meant to be a way to add lens distortion to the camera.

An update to the documentation would be really appreciated, thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions