# Simulate panoramic imaging / lens distortion

**URL:** <https://forums.unrealengine.com/t/simulate-panoramic-imaging-lens-distortion/435550>\
**Category:** Rendering\
**Tags:** panoramic, unreal-engine, question, distortion\
**Created:** [October 13, 2018, 11:22am UTC](https://forums.unrealengine.com/t/simulate-panoramic-imaging-lens-distortion/435550 "2018-10-13T11:22:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anaxares](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anaxares](https://forums.unrealengine.com/u/Anaxares)\
**Post date:** [October 13, 2018, 11:22am UTC](https://forums.unrealengine.com/t/simulate-panoramic-imaging-lens-distortion/435550/1 "2018-10-13T11:22:57Z")

</div>

Hello,

I want to simulate panoramic image functionality, physically accurate. Similar to the functionality in smartphones today, but in two axis (the camera is also turned vertically).

Known is the horizontal / vertical FOV of the camera lens (eg. 18 degree horiz., and 24 degree vert.), and that of the panorama (eg. 150° horiz., and 80° vert.).

The problem is, no matter how wide the FOV is set in an unreal engine camera (e.g. 150° horiz., and 80° vert.), the engine seems to straighten the curves that are immanent in wide angle / panoramic images.

How can I get the real, not corrected image, with distortion?

Here a simplified example. These lines show two walls from the top view. The camera is mounted a bit above the walls. Although the FOV of the camera is very large, it shows the two lines parallel:

 ![256417-unbenannt.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/5/f75e0eb16254dd5c388b2fa86ce3037d4d6b7652.png)

This is NOT what I need. I need it “distorted”, like the blue lines:

 ![256419-unbenannt2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/e/abe9c201ee87c14140e89eae5832c72d15c20783.png)

In comparison to the black lines, not only are these blue lines bent. Additionally, the farther to the left/right side of the image, the more of the outside floor gets into view.

How can I achieve this?

Many thanks in advance

Julian
