---
title: "Lens Distortion"
url: "https://help.maxon.net/c4d/en-us/Content/html/TOOLLENSDISTORTION-CM_GROUP_LENS_DISTORTION.html"
section_path: "Render Menu > Lens Distortion > Lens Distortion"
element_id: "TOOLLENSDISTORTION"
group_id: "CM_GROUP_LENS_DISTORTION"
description: "Depending on the method selected, these settings can be used to create interactive guides that must be positioned as accurately as possible along the …"
---

## Lens Distortion

### Solve Mode

Parameter ID: `PH_LENS_DISTORT_SOLVE_MODE`

![Image: 039659.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/039659.jpg)\
Both methods with their individual guides

The difference between these modes are:

- **Manual**: This is actually the alternative method if **Automatic** fails. With this method you create guides along the straight image edges and then adjust the Lens Distortion model's settings until the guides match the image edges. For this you need a good eye and knowledge of how (complicated) lens distortion settings work.\
  However, this method can work if you simply want to remove distortion using the **Quadratic** settings without additional guides.
- **Automatic**: This method is much easier and is also the recommended method. Guides are positioned with several points on distorted, i.e., curved, image edges. Once enough guides have been positioned the image can be undistorted. All respective lens distortion settings will be modified accordingly.

### Add Line

Parameter ID: `ADD_NEW_LINE`

### Add N-Point Line

Parameter ID: `ADD_NEW_TRIPLINE`

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](https://help.maxon.net/c4d/en-us/Content/html/TOOLLENSDISTORTION.html.md) above.

### Delete Selected Line

Parameter ID: `DELETE_SELECTED_LINE_MANUAL`

### Delete Selected Line

Parameter ID: `DELETE_SELECTED_LINE_AUTOMATIC`

Deletes the selected guide.

### Auto Solve

Parameter ID: `PH_LENS_DISTORT_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

Parameter ID: `PH_LENS_DISTORT_MODEL`

![Image: 039660.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/039660.jpg)\
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:

- **3DE Radial Standard Degree 4** or **3DE Standard Classic** for ,normal’ material with little distortion (the difference between the two is explained below)
- **3DE Radial Fisheye Degree 8** for fisheye distortions
- **3DE Anamorphic Standard Degree 4** for anamorphic (horizontally squeezed) material

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:

- **3DE Radial Standard Degree 4**: This is the more technically sophisticated model that can work with decentralized (not all lying on the optical axis) lenses. This model also has two settings (**Phi Cylindric Direction** and **B Cylindric Bending**) that takes into consideration the effect known as ,beam splitting’ for stereo takes. These values should always be set to 0% for normal takes.
- **3DE Standard Classic**: This is a simplified model compared to **3DE Radial Standard Degree 4** and can achieve good results with few guides. This model is also better suited for use with Manual mode because you have fewer settings with which you have to work (which can be a great relief due to the other model's large number of similar settings).

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.

![Image: 039661.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/039661.jpg)

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

Parameter ID: `PH_LENS_M2_QUADRATIC_DISTORTION` · Range: [-500..500%]

### Cubic

Parameter ID: `PH_LENS_M2_CUBIC_DISTORTION` · Range: [-500..500%]

### X Offset

Parameter ID: `PH_LENS_A3_OFFX` · Range: [-100..100%]

### Y Offset

Parameter ID: `PH_LENS_A3_OFFY` · Range: [-100..100%]

### Quadratic

Parameter ID: `PH_LENS_M3_C2` · Range: [-100..100%]

### U Degree 2

Parameter ID: `PH_LENS_M3_U1` · Range: [-100..100%]

### V Degree 2

Parameter ID: `PH_LENS_M3_V1` · Range: [-100..100%]

### Quartic

Parameter ID: `PH_LENS_M3_C4` · Range: [-100..100%]

### U Degree 4

Parameter ID: `PH_LENS_M3_U3` · Range: [-100..100%]

### V Degree 4

Parameter ID: `PH_LENS_M3_V3` · Range: [-100..100%]

### Phi Cylindric Direction

Parameter ID: `PH_LENS_M3_PHI_CYL_DIR` · Range: [-180.00..180.00]

### B Cylindric Bending

Parameter ID: `PH_LENS_M3_B_CYL_BEND` · Range: [-20..20%]

### X Offset

Parameter ID: `PH_LENS_A4_OFFX` · Range: [-100..100%]

### Y Offset

Parameter ID: `PH_LENS_A4_OFFY` · Range: [-100..100%]

### Quadratic

Parameter ID: `PH_LENS_M4_C2` · Range: [-100..100%]

### Quartic

Parameter ID: `PH_LENS_M4_C4` · Range: [-100..100%]

### Curvature X

Parameter ID: `PH_LENS_M4_XCRV` · Range: [-100..100%]

### Curvature Y

Parameter ID: `PH_LENS_M4_YCRV` · Range: [-100..100%]

### Anamorphic Squeeze

Parameter ID: `PH_LENS_M4_ASQZ` · Range: [12..800%]

### X Offset

Parameter ID: `PH_LENS_A5_OFFX` · Range: [-100..100%]

### Y Offset

Parameter ID: `PH_LENS_A5_OFFY` · Range: [-100..100%]

### Cx02

Parameter ID: `PH_LENS_M5_CX02` · Range: [-100..100%]

### Cy02

Parameter ID: `PH_LENS_M5_CY02` · Range: [-100..100%]

### Cx22

Parameter ID: `PH_LENS_M5_CX22` · Range: [-100..100%]

### Cy22

Parameter ID: `PH_LENS_M5_CY22` · Range: [-100..100%]

### Cx04

Parameter ID: `PH_LENS_M5_CX04` · Range: [-100..100%]

### Cy04

Parameter ID: `PH_LENS_M5_CY04` · Range: [-100..100%]

### Cx24

Parameter ID: `PH_LENS_M5_CX24` · Range: [-100..100%]

### Cy24

Parameter ID: `PH_LENS_M5_CY24` · Range: [-100..100%]

### Cx44

Parameter ID: `PH_LENS_M5_CX44` · Range: [-100..100%]

### Cy44

Parameter ID: `PH_LENS_M5_CY44` · Range: [-100..100%]

### Lens Rotation

Parameter ID: `PH_LENS_M5_ROT` · Range: [-4.00..4.00]

### Squeeze-X

Parameter ID: `PH_LENS_M5_XSQZ` · Range: [80..120%]

### Squeeze-Y

Parameter ID: `PH_LENS_M5_YSQZ` · Range: [80..120%]

### X Offset

Parameter ID: `PH_LENS_A6_OFFX` · Range: [-100..100%]

### Y Offset

Parameter ID: `PH_LENS_A6_OFFY` · Range: [-100..100%]

### Cx02

Parameter ID: `PH_LENS_M6_CX02` · Range: [-100..100%]

### Cy02

Parameter ID: `PH_LENS_M6_CY02` · Range: [-100..100%]

### Cx22

Parameter ID: `PH_LENS_M6_CX22` · Range: [-100..100%]

### Cy22

Parameter ID: `PH_LENS_M6_CY22` · Range: [-100..100%]

### Cx04

Parameter ID: `PH_LENS_M6_CX04` · Range: [-100..100%]

### Cy04

Parameter ID: `PH_LENS_M6_CY04` · Range: [-100..100%]

### Cx24

Parameter ID: `PH_LENS_M6_CX24` · Range: [-100..100%]

### Cy24

Parameter ID: `PH_LENS_M6_CY24` · Range: [-100..100%]

### Cx44

Parameter ID: `PH_LENS_M6_CX44` · Range: [-100..100%]

### Cy44

Parameter ID: `PH_LENS_M6_CY44` · Range: [-100..100%]

### Cx06

Parameter ID: `PH_LENS_M6_CX06` · Range: [-100..100%]

### Cy06

Parameter ID: `PH_LENS_M6_CY06` · Range: [-100..100%]

### Cx26

Parameter ID: `PH_LENS_M6_CX26` · Range: [-100..100%]

### Cy26

Parameter ID: `PH_LENS_M6_CY26` · Range: [-100..100%]

### Cx46

Parameter ID: `PH_LENS_M6_CX46` · Range: [-100..100%]

### Cy46

Parameter ID: `PH_LENS_M6_CY46` · Range: [-100..100%]

### Cx66

Parameter ID: `PH_LENS_M6_CX66` · Range: [-100..100%]

### Cy66

Parameter ID: `PH_LENS_M6_CY66` · Range: [-100..100%]

### X Offset

Parameter ID: `PH_LENS_A7_OFFX` · Range: [-100..100%]

### Y Offset

Parameter ID: `PH_LENS_A7_OFFY` · Range: [-100..100%]

### Quadratic

Parameter ID: `PH_LENS_M7_C2` · Range: [-100..100%]

### Quartic

Parameter ID: `PH_LENS_M7_C4` · Range: [-100..100%]

### Degree 6

Parameter ID: `PH_LENS_M7_C6` · Range: [-100..100%]

### Degree 8

Parameter ID: `PH_LENS_M7_C8` · Range: [-100..100%]

### Load Lens Profile

Parameter ID: `LD_LENS_LOAD_PROFILE`

### Save Lens Profile

Parameter ID: `LD_LENS_SAVE_PROFILE`

Once the footage has been undistorted, manually or automatically, this particular profile should be saved. This profile can be loaded [at these locations](https://help.maxon.net/c4d/en-us/Content/html/TOOLLENSDISTORTION.html.md) 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).
