2
$\begingroup$

I'm working to implement CGI elements to a short film using an Anamorphic Lens. The distortion off these lenses are quite beautiful but I am running into issues with cut-offs after implementing with Blender.

After distorting the footage from found K1, K2, K3 values, I am noticing that you lose alot of information on the sides of the footage when undistorting. Is there another approach to implementing CGI if you wanted to the elements to be at the edges of the frame without the shown cutoff?

Do you have any suggestions for this fix?

Initial Footage Before Undistortion

Initial Footage Before Undistortion

Footage and Undistortion

Footage and Undistortion

Adding CG Elements to Frame Adding CG Elements to Frame

End Result with Movie Distortion on CGI Layer End Result with Movie Distortion on CGI Layer

UPDATE: I did the lens distortion values manually using a grid for alignment. This shouldn't effect the need for these edges being cut off. The only way I can think of saving these edges is by putting a black border around the video, re calibrating the K1, K2, K3 and then undistorting, giving more room on the sides for edges. There must be a simpler way though.

$\endgroup$
0

1 Answer 1

3
$\begingroup$

The problem:

Undistorted footage the pixels no longer correspond with the original frame size.

The image is being stretched past the limits of the original frame, so the undistorted result will be cropped.

enter image description here

A possible solution would be to render a proxy undistorted plate that has the complete undistorted information, to do this you need is much larger canvas than the original footage. Change Dimensions>Render Resolution until you can see all of the image gloriously undistorted:

enter image description here

Use that undistroted proxy to do the motion tracking, camera solution and 3d elements for the scene.

EDIT:

Then render the undistorted 3D elements as as separate plate before compositing.

enter image description here

Import the new element into the compositor and use the Movie Distortion node in Distor mode using the information from the original clip, and composite with alpha over on the undistorted original.

enter image description here

At this point you can go back to the original frame size in the resolution.

$\endgroup$
2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .