I need to set a camera and render images with that camera. I have rotation and position data as extrinsic parameters and focal length, shift values and radial and tangential distortion coefficients as intrinsic parameters from opencv. I succesfully applied all the parameters except radial and tangential distortion coefficients.
There is an lens distortion value in Blender in Compositor Editor but it is just single value. I need three parameters k1, k2, k3 for radial distortion and two parameters p1, p2 for tangential distortion. How can I achive to use those parameters? I can manually set the projection matrix by myself. However is it possible to use custom projection matrix for each 3d points in the scene for render image?