Skip to content

Documentation needed for rprCameraSetUVDistortion() #63

@miancule

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!

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