Lens Distortion

Solve Mode

Both methods with their individual guides

The difference between these modes are:

Add Line

Add N-Point Line

Depending on the method selected, these settings can be used to create interactive guides that must be positioned as accurately as possible along the straight (but displayed as distorted) edges. The Manual method lets you create 2-point lines and the Automatic method lets you create 3-point lines. Additional points can be added to 3-point lines at any time via Ctrl/Cmd+clicking on the line. This is useful when working with longer lines.

How to best position guides is explained in the example above.

Delete Selected Line

Delete Selected Line

Deletes the selected guide.

Auto Solve

Click on this button after guides have been created in Automatic mode (note that you must first have the proper Lens Distortion Model selected). Cinema 4D will then "straighten" the bent lines and create a set of lens profile settings that will automatically be defined and can subsequently be saved.

Not all guides have to be created before clicking the Auto Solve button. This can also be done with only one or two guides but the result will most likely not be satisfying. Simply add more guides and further undistort the image until you're satisfied with the result.

Lens Distortion Model

Determine which Lens Distortion Model to use based on the distortion.

You can select from five different models.

Select the Lens Distortion Model based on the type of image or video footage:

If these names sound familiar it's because they originate from the Lens Distortion Plugin Kit from Science-D-Vision (which was also used for the lens distortion functionality) and their names were not changed to eliminate any possible confusion.

The difference between the most commonly used models:

The 3DE Anamorphic Degree 6 model is only included for the sake of completeness (in case you created a corresponding lens profile in another application). Its use is otherwise not recommended.

The Lens Distortion Models’ various settings

The settings for each Lens Distortion Model will not be described individually. They are variables within complex formulas that we will not bog you down with. These are defined automatically by Cinema 4D anyway. Instead, we have depicted the most important settings, each with a positive and a negative value, in the image below. This gives you an impression of the effect that these settings have.

You can view these settings as shape controllers - regions of the image will be distorted or undistorted differently, depending on which setting is modified.

Quadratic[-500..500%]

Cubic[-500..500%]

X Offset[-100..100%]

Y Offset[-100..100%]

Quadratic[-100..100%]

U Degree 2[-100..100%]

V Degree 2[-100..100%]

Quartic[-100..100%]

U Degree 4[-100..100%]

V Degree 4[-100..100%]

Phi Cylindric Direction[-180.00..180.00]

B Cylindric Bending[-20..20%]

X Offset[-100..100%]

Y Offset[-100..100%]

Quadratic[-100..100%]

Quartic[-100..100%]

Curvature X[-100..100%]

Curvature Y[-100..100%]

Anamorphic Squeeze[12..800%]

X Offset[-100..100%]

Y Offset[-100..100%]

Cx02[-100..100%]

Cy02[-100..100%]

Cx22[-100..100%]

Cy22[-100..100%]

Cx04[-100..100%]

Cy04[-100..100%]

Cx24[-100..100%]

Cy24[-100..100%]

Cx44[-100..100%]

Cy44[-100..100%]

Lens Rotation[-4.00..4.00]

Squeeze-X[80..120%]

Squeeze-Y[80..120%]

X Offset[-100..100%]

Y Offset[-100..100%]

Cx02[-100..100%]

Cy02[-100..100%]

Cx22[-100..100%]

Cy22[-100..100%]

Cx04[-100..100%]

Cy04[-100..100%]

Cx24[-100..100%]

Cy24[-100..100%]

Cx44[-100..100%]

Cy44[-100..100%]

Cx06[-100..100%]

Cy06[-100..100%]

Cx26[-100..100%]

Cy26[-100..100%]

Cx46[-100..100%]

Cy46[-100..100%]

Cx66[-100..100%]

Cy66[-100..100%]

X Offset[-100..100%]

Y Offset[-100..100%]

Quadratic[-100..100%]

Quartic[-100..100%]

Degree 6[-100..100%]

Degree 8[-100..100%]

Load Lens Profile

Save Lens Profile

Once the footage has been undistorted, manually or automatically, this particular profile should be saved. This profile can be loaded at these locations or using the corresponding tool in Cinema 4D. These files (with the suffix *.lns) contain the Lens Distortion Model created here with all its settings.

Images, videos and guides will NOT be saved (to do so, the Project file must be saved).